diff options
Diffstat (limited to 'test/Transforms/GlobalOpt/malloc-promote-3.ll')
-rw-r--r-- | test/Transforms/GlobalOpt/malloc-promote-3.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/GlobalOpt/malloc-promote-3.ll b/test/Transforms/GlobalOpt/malloc-promote-3.ll index d44ee64..1e42c3b 100644 --- a/test/Transforms/GlobalOpt/malloc-promote-3.ll +++ b/test/Transforms/GlobalOpt/malloc-promote-3.ll @@ -9,8 +9,8 @@ define void @t() { %malloccall = tail call i8* @malloc(i64 mul (i64 100, i64 4)) nobuiltin %P = bitcast i8* %malloccall to i32* store i32* %P, i32** @G - %GV = load i32** @G - %GVe = getelementptr i32* %GV, i32 40 + %GV = load i32*, i32** @G + %GVe = getelementptr i32, i32* %GV, i32 40 store i32 20, i32* %GVe ret void } |