diff options
Diffstat (limited to 'test/Transforms/InstCombine/call-cast-target.ll')
-rw-r--r-- | test/Transforms/InstCombine/call-cast-target.ll | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test/Transforms/InstCombine/call-cast-target.ll b/test/Transforms/InstCombine/call-cast-target.ll index 1907421..315c516 100644 --- a/test/Transforms/InstCombine/call-cast-target.ll +++ b/test/Transforms/InstCombine/call-cast-target.ll @@ -3,14 +3,12 @@ target datalayout = "e-p:32:32" target triple = "i686-pc-linux-gnu" -; CHECK-NOT: bitcast -; CHECK: call -; CHECK-NOT: bitcast - define i32 @main() { +; CHECK-LABEL: @main +; CHECK: call i32 bitcast entry: - %tmp = call i32 bitcast (i8* (i32*)* @ctime to i32 (i32*)*)( i32* null ) ; <i32> [#uses=1] - ret i32 %tmp + %tmp = call i32 bitcast (i8* (i32*)* @ctime to i32 (i32*)*)( i32* null ) ; <i32> [#uses=1] + ret i32 %tmp } declare i8* @ctime(i32*) |