From 4c5e43da7792f75567b693105cc53e3f1992ad98 Mon Sep 17 00:00:00 2001 From: Pirama Arumuga Nainar Date: Wed, 8 Apr 2015 08:55:49 -0700 Subject: Update aosp/master llvm for rebase to r233350 Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49 --- test/Transforms/GlobalOpt/malloc-promote-1.ll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/Transforms/GlobalOpt/malloc-promote-1.ll') diff --git a/test/Transforms/GlobalOpt/malloc-promote-1.ll b/test/Transforms/GlobalOpt/malloc-promote-1.ll index 51ccbbd..d5087de 100644 --- a/test/Transforms/GlobalOpt/malloc-promote-1.ll +++ b/test/Transforms/GlobalOpt/malloc-promote-1.ll @@ -8,7 +8,7 @@ define void @init() { %malloccall = tail call i8* @malloc(i64 4) ; [#uses=1] %P = bitcast i8* %malloccall to i32* ; [#uses=1] store i32* %P, i32** @G - %GV = load i32** @G ; [#uses=1] + %GV = load i32*, i32** @G ; [#uses=1] store i32 0, i32* %GV ret void } @@ -16,8 +16,8 @@ define void @init() { declare noalias i8* @malloc(i64) define i32 @get() { - %GV = load i32** @G ; [#uses=1] - %V = load i32* %GV ; [#uses=1] + %GV = load i32*, i32** @G ; [#uses=1] + %V = load i32, i32* %GV ; [#uses=1] ret i32 %V ; CHECK: ret i32 0 } -- cgit v1.1