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 + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits