diff options
Diffstat (limited to 'test/Analysis/GlobalsModRef/pr12351.ll')
-rw-r--r-- | test/Analysis/GlobalsModRef/pr12351.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Analysis/GlobalsModRef/pr12351.ll b/test/Analysis/GlobalsModRef/pr12351.ll index c221f4c..8f92277 100644 --- a/test/Analysis/GlobalsModRef/pr12351.ll +++ b/test/Analysis/GlobalsModRef/pr12351.ll @@ -9,7 +9,7 @@ define void @foo(i8* %x, i8* %y) { define void @bar(i8* %y, i8* %z) { %x = alloca i8 call void @foo(i8* %x, i8* %y) - %t = load i8* %x + %t = load i8, i8* %x store i8 %t, i8* %y ; CHECK: store i8 %t, i8* %y ret void @@ -19,8 +19,8 @@ define void @bar(i8* %y, i8* %z) { define i32 @foo2() { %foo = alloca i32 call void @bar2(i32* %foo) - %t0 = load i32* %foo, align 4 -; CHECK: %t0 = load i32* %foo, align 4 + %t0 = load i32, i32* %foo, align 4 +; CHECK: %t0 = load i32, i32* %foo, align 4 ret i32 %t0 } |