Reid, why are you duplicating these tests?
-Chris
On Apr 29, 2007, at 10:12 PM, Reid Spencer wrote:
Changes in directory llvm/test/CodeGen/X86:
ispositive.ll added (r1.1)
---
Log message:
For PR1370: http://llvm.org/PR1370 :
Rearrange some tests so that if PowerPC is not being built we don't
try to
run PowerPC specific tests.
---
Diffs of the changes: (+9 -0)
ispositive.ll |9 +
1 files changed, 9 insertions(+)
Index: llvm/test/CodeGen/X86/ispositive.ll
diff -c /dev/null llvm/test/CodeGen/X86/ispositive.ll:1.1
*** /dev/null Mon Apr 30 00:12:08 2007
--- llvm/test/CodeGen/X86/ispositive.ll Mon Apr 30 00:11:58 2007
***
*** 0
--- 1,9
+ ; RUN: llvm-as %s | llc -march=x86 | grep {shrl.*31}
+
+ define i32 @test1(i32 %X) {
+ entry:
+ icmp slt i32 %X, 0 ; i1:0 [#uses=1]
+ zext i1 %0 to i32 ; i32:1 [#uses=1]
+ ret i32 %1
+ }
+
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits