diff options
author | Chris Lattner <sabre@nondot.org> | 2003-12-11 21:06:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-12-11 21:06:43 +0000 |
commit | 258f49cb8403a0a87778c8233f5d462b11cd00fb (patch) | |
tree | 6802aa885cfaf0c0bdfcd4bbe175212d07a0ae0b | |
parent | 52112965801b0052463aa51e501df84d012f85dd (diff) |
Fix test that was failing because we were optimizing the program better than expected :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10404 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll b/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll index 3dbd4e7cff..bfe6efef6a 100644 --- a/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll +++ b/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll @@ -4,14 +4,14 @@ ; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C2 "test" | grep div %X = global int 0 -declare void %foo() +declare void %foo(int) int %test(bool %c) { %A = load int *%X br label %Loop Loop: - call void %foo() %B = div int 4, %A ;; Should have hoisted this div! + call void %foo(int %B) br bool %c, label %Loop, label %Out Out: |