[llvm-commits] CVS: llvm/test/Regression/Assembler/ConstantExprFold.llx
Chris Lattner
lattner at cs.uiuc.edu
Wed Jan 4 23:46:58 PST 2006
Changes in directory llvm/test/Regression/Assembler:
ConstantExprFold.llx updated: 1.2 -> 1.3
---
Log message:
new tests, derived from cosmics scheme output
---
Diffs of the changes: (+5 -1)
ConstantExprFold.llx | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion(-)
Index: llvm/test/Regression/Assembler/ConstantExprFold.llx
diff -u llvm/test/Regression/Assembler/ConstantExprFold.llx:1.2 llvm/test/Regression/Assembler/ConstantExprFold.llx:1.3
--- llvm/test/Regression/Assembler/ConstantExprFold.llx:1.2 Thu Jul 8 10:38:23 2004
+++ llvm/test/Regression/Assembler/ConstantExprFold.llx Thu Jan 5 01:46:46 2006
@@ -1,6 +1,7 @@
; This test checks to make sure that constant exprs fold in some simple situations
-; RUN: llvm-as < %s | llvm-dis | not grep '('
+; RUN: llvm-as < %s | llvm-dis | not grep '(' &&
+; RUN: llvm-as < %s
%A = global long 0
@@ -23,3 +24,6 @@
int* getelementptr (%Ty* %B, long 0, ubyte 1)) ; true
;global bool setne (long* %A, long* cast (%Ty* %B to long*)) ; true
+global bool seteq ({ short }* cast (int 1 to { short }*), { short }* null)
+global bool setlt ({ short }* cast (int 1 to { short }*), { short }* cast (int 2 to { short }*))
+
More information about the llvm-commits
mailing list