[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2004-08-10-BoolSetCC.ll 2005-06-16-SetCCOrSetCCMiscompile.ll narrow.ll
Reid Spencer
reid at x10sys.com
Fri Jan 12 21:07:29 PST 2007
Changes in directory llvm/test/Regression/Transforms/InstCombine:
2004-08-10-BoolSetCC.ll updated: 1.2 -> 1.3
2005-06-16-SetCCOrSetCCMiscompile.ll updated: 1.2 -> 1.3
narrow.ll updated: 1.4 -> 1.5
---
Log message:
For PR1043: http://llvm.org/PR1043 :
Bye, Bye Booly. Remove the use of the bool type from non-upgraded test
cases and from grep expressions. The parser doesn't accept it and the
asm writer doesn't produce it any more.
---
Diffs of the changes: (+5 -3)
2004-08-10-BoolSetCC.ll | 2 +-
2005-06-16-SetCCOrSetCCMiscompile.ll | 3 ++-
narrow.ll | 3 ++-
3 files changed, 5 insertions(+), 3 deletions(-)
Index: llvm/test/Regression/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
diff -u llvm/test/Regression/Transforms/InstCombine/2004-08-10-BoolSetCC.ll:1.2 llvm/test/Regression/Transforms/InstCombine/2004-08-10-BoolSetCC.ll:1.3
--- llvm/test/Regression/Transforms/InstCombine/2004-08-10-BoolSetCC.ll:1.2 Fri Dec 8 11:39:49 2006
+++ llvm/test/Regression/Transforms/InstCombine/2004-08-10-BoolSetCC.ll Fri Jan 12 23:06:52 2007
@@ -1,4 +1,4 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'ret bool false'
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'ret i1 false'
bool %test(bool %V) {
%Y = setlt bool %V, false
ret bool %Y
Index: llvm/test/Regression/Transforms/InstCombine/2005-06-16-SetCCOrSetCCMiscompile.ll
diff -u llvm/test/Regression/Transforms/InstCombine/2005-06-16-SetCCOrSetCCMiscompile.ll:1.2 llvm/test/Regression/Transforms/InstCombine/2005-06-16-SetCCOrSetCCMiscompile.ll:1.3
--- llvm/test/Regression/Transforms/InstCombine/2005-06-16-SetCCOrSetCCMiscompile.ll:1.2 Fri Dec 1 22:23:09 2006
+++ llvm/test/Regression/Transforms/InstCombine/2005-06-16-SetCCOrSetCCMiscompile.ll Fri Jan 12 23:06:52 2007
@@ -1,4 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'ret bool true'
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
+; RUN: grep 'ret i1 true'
; PR586
%g_07918478 = external global uint ; <uint*> [#uses=1]
Index: llvm/test/Regression/Transforms/InstCombine/narrow.ll
diff -u llvm/test/Regression/Transforms/InstCombine/narrow.ll:1.4 llvm/test/Regression/Transforms/InstCombine/narrow.ll:1.5
--- llvm/test/Regression/Transforms/InstCombine/narrow.ll:1.4 Fri Dec 1 22:23:09 2006
+++ llvm/test/Regression/Transforms/InstCombine/narrow.ll Fri Jan 12 23:06:52 2007
@@ -1,7 +1,8 @@
; This file contains various testcases that check to see that instcombine
; is narrowing computations when possible.
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'ret bool false'
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
+; RUN: grep 'ret i1 false'
; test1 - Eliminating the casts in this testcase (by narrowing the AND
; operation) allows instcombine to realize the function always returns false.
More information about the llvm-commits
mailing list