[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2006-11-27-SelectLegalize.ll
Chris Lattner
sabre at nondot.org
Mon Nov 27 17:26:51 PST 2006
Changes in directory llvm/test/Regression/CodeGen/X86:
2006-11-27-SelectLegalize.ll added (r1.1)
---
Log message:
testcase for pr1016: http://llvm.org/PR1016
---
Diffs of the changes: (+8 -0)
2006-11-27-SelectLegalize.ll | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/test/Regression/CodeGen/X86/2006-11-27-SelectLegalize.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/2006-11-27-SelectLegalize.ll:1.1
*** /dev/null Mon Nov 27 19:26:47 2006
--- llvm/test/Regression/CodeGen/X86/2006-11-27-SelectLegalize.ll Mon Nov 27 19:26:37 2006
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | llc -march=x86 | grep test.*1
+ ; PR1016
+
+ int %test(int %A, int %B, int %C) {
+ %a = trunc int %A to bool
+ %D = select bool %a, int %B, int %C
+ ret int %D
+ }
More information about the llvm-commits
mailing list