diff options
Diffstat (limited to 'test/Transforms/GVN/calloc-load-removal.ll')
-rw-r--r-- | test/Transforms/GVN/calloc-load-removal.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/GVN/calloc-load-removal.ll b/test/Transforms/GVN/calloc-load-removal.ll index 2dde5b7..a51f71f 100644 --- a/test/Transforms/GVN/calloc-load-removal.ll +++ b/test/Transforms/GVN/calloc-load-removal.ll @@ -9,11 +9,11 @@ define i32 @test1() { %1 = tail call noalias i8* @calloc(i64 1, i64 4) %2 = bitcast i8* %1 to i32* ; This load is trivially constant zero - %3 = load i32* %2, align 4 + %3 = load i32, i32* %2, align 4 ret i32 %3 ; CHECK-LABEL: @test1( -; CHECK-NOT: %3 = load i32* %2, align 4 +; CHECK-NOT: %3 = load i32, i32* %2, align 4 ; CHECK: ret i32 0 ; CHECK_NO_LIBCALLS-LABEL: @test1( |