diff test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 95c75e76d11b
children
line wrap: on
line diff
--- a/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll	Wed Feb 18 14:56:07 2015 +0900
+++ b/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll	Tue Oct 13 17:48:58 2015 +0900
@@ -3,12 +3,12 @@
 declare noalias i32* @noalias()
 
 define i32 @test(i32 %x) {
-; CHECK: load i32* %a
+; CHECK: load i32, i32* %a
   %a = call i32* @noalias()
   store i32 1, i32* %a
-  %b = getelementptr i32* %a, i32 %x
+  %b = getelementptr i32, i32* %a, i32 %x
   store i32 2, i32* %b
 
-  %c = load i32* %a
+  %c = load i32, i32* %a
   ret i32 %c
 }