X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FBitcode%2F2006-12-11-Cast-ConstExpr.ll;h=e704627e3610ba142d826de4bcb909157ea291cc;hb=22bd64173981bf1251c4b3bfc684207340534ba3;hp=7e6bb7b6f9255b35b698ce62926913a16f2e8d07;hpb=2d290f9dc4503a038f61e7cbc6717b478817c4cc;p=oota-llvm.git diff --git a/test/Bitcode/2006-12-11-Cast-ConstExpr.ll b/test/Bitcode/2006-12-11-Cast-ConstExpr.ll index 7e6bb7b6f92..e704627e361 100644 --- a/test/Bitcode/2006-12-11-Cast-ConstExpr.ll +++ b/test/Bitcode/2006-12-11-Cast-ConstExpr.ll @@ -1,10 +1,10 @@ ; This test ensures that we get a bitcast constant expression in and out, ; not a sitofp constant expression. -; RUN: llvm-as < %s | llvm-dis | \ -; RUN: grep {bitcast (} +; RUN: llvm-as < %s | llvm-dis | FileCheck %s +; CHECK: bitcast ( @G = external global i32 define float @tryit(i32 %A) { - ret float sitofp( i32 ptrtoint (i32* @G to i32) to float) + ret float bitcast( i32 ptrtoint (i32* @G to i32) to float) }