diff options
Diffstat (limited to 'test/Transforms/LICM/2003-05-02-LoadHoist.ll')
-rw-r--r-- | test/Transforms/LICM/2003-05-02-LoadHoist.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/LICM/2003-05-02-LoadHoist.ll b/test/Transforms/LICM/2003-05-02-LoadHoist.ll index 71d3e78..2f94dff 100644 --- a/test/Transforms/LICM/2003-05-02-LoadHoist.ll +++ b/test/Transforms/LICM/2003-05-02-LoadHoist.ll @@ -10,12 +10,12 @@ declare void @foo() define i32 @test(i1 %c) { - %A = load i32* @X ; <i32> [#uses=1] + %A = load i32, i32* @X ; <i32> [#uses=1] br label %Loop Loop: ; preds = %Loop, %0 call void @foo( ) ;; Should not hoist this load! - %B = load i32* @X ; <i32> [#uses=1] + %B = load i32, i32* @X ; <i32> [#uses=1] br i1 %c, label %Loop, label %Out Out: ; preds = %Loop %C = sub i32 %A, %B ; <i32> [#uses=1] |