diff options
Diffstat (limited to 'test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll')
-rw-r--r-- | test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll b/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll index 46b6aaf..86bbd44 100644 --- a/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll +++ b/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll @@ -21,14 +21,14 @@ target triple = "i686-apple-darwin8" ; CHECK: ret i32 %Z define i32 @test(%struct.closure_type* %tmp18169) { - %tmp18174 = getelementptr %struct.closure_type* %tmp18169, i32 0, i32 4, i32 0, i32 0 ; <i32*> [#uses=2] + %tmp18174 = getelementptr %struct.closure_type, %struct.closure_type* %tmp18169, i32 0, i32 4, i32 0, i32 0 ; <i32*> [#uses=2] %tmp18269 = bitcast i32* %tmp18174 to %struct.STYLE* ; <%struct.STYLE*> [#uses=1] - %A = load i32* %tmp18174 ; <i32> [#uses=1] + %A = load i32, i32* %tmp18174 ; <i32> [#uses=1] - %tmp18272 = getelementptr %struct.STYLE* %tmp18269, i32 0, i32 0, i32 0, i32 2 ; <i16*> [#uses=1] + %tmp18272 = getelementptr %struct.STYLE, %struct.STYLE* %tmp18269, i32 0, i32 0, i32 0, i32 2 ; <i16*> [#uses=1] store i16 123, i16* %tmp18272 - %Q = load i32* %tmp18174 ; <i32> [#uses=1] + %Q = load i32, i32* %tmp18174 ; <i32> [#uses=1] %Z = sub i32 %A, %Q ; <i32> [#uses=1] ret i32 %Z } |