diff options
Diffstat (limited to 'test/Analysis/GlobalsModRef/indirect-global.ll')
-rw-r--r-- | test/Analysis/GlobalsModRef/indirect-global.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Analysis/GlobalsModRef/indirect-global.ll b/test/Analysis/GlobalsModRef/indirect-global.ll index 48ac6dd..0281323 100644 --- a/test/Analysis/GlobalsModRef/indirect-global.ll +++ b/test/Analysis/GlobalsModRef/indirect-global.ll @@ -12,11 +12,11 @@ define void @test() { define i32 @test1(i32* %P) { ; CHECK: ret i32 0 - %g1 = load i32** @G ; <i32*> [#uses=2] - %h1 = load i32* %g1 ; <i32> [#uses=1] + %g1 = load i32*, i32** @G ; <i32*> [#uses=2] + %h1 = load i32, i32* %g1 ; <i32> [#uses=1] store i32 123, i32* %P - %g2 = load i32** @G ; <i32*> [#uses=0] - %h2 = load i32* %g1 ; <i32> [#uses=1] + %g2 = load i32*, i32** @G ; <i32*> [#uses=0] + %h2 = load i32, i32* %g1 ; <i32> [#uses=1] %X = sub i32 %h1, %h2 ; <i32> [#uses=1] ret i32 %X } |