[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2004-10-08-SelectSetCCFold.llx

Chris Lattner lattner at cs.uiuc.edu
Fri Oct 8 09:33:54 PDT 2004



Changes in directory llvm/test/Regression/CodeGen/X86:

2004-10-08-SelectSetCCFold.llx added (r1.1)
---
Log message:

New testcase.  The setcc is only used by a select, but not as a condition: 
it cannot be folded in.


---
Diffs of the changes:  (+8 -0)

Index: llvm/test/Regression/CodeGen/X86/2004-10-08-SelectSetCCFold.llx
diff -c /dev/null llvm/test/Regression/CodeGen/X86/2004-10-08-SelectSetCCFold.llx:1.1
*** /dev/null	Fri Oct  8 11:33:50 2004
--- llvm/test/Regression/CodeGen/X86/2004-10-08-SelectSetCCFold.llx	Fri Oct  8 11:33:40 2004
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | llc -march=x86
+ 
+ bool %test(bool %C, bool %D, int %X, int %Y) {
+ 	%E = setlt int %X, %Y
+ 	%F = select bool %C, bool %D, bool %E
+ 	ret bool %F
+ }
+ 






More information about the llvm-commits mailing list