[llvm-commits] CVS: llvm/test/Regression/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Dec 11 15:07:03 PST 2003
Changes in directory llvm/test/Regression/Transforms/LICM:
2003-08-04-TrappingInstOkHoist.ll updated: 1.3 -> 1.4
---
Log message:
Fix test that was failing because we were optimizing the program better than expected :)
---
Diffs of the changes: (+2 -2)
Index: llvm/test/Regression/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll
diff -u llvm/test/Regression/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll:1.3 llvm/test/Regression/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll:1.4
--- llvm/test/Regression/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll:1.3 Tue Dec 9 10:49:12 2003
+++ llvm/test/Regression/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll Thu Dec 11 15:06:43 2003
@@ -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:
More information about the llvm-commits
mailing list