[llvm-commits] [llvm] r169801 - in /llvm/trunk/test/CodeGen: Generic/2012-07-15-BuildVectorPromote.ll X86/2012-07-15-BuildVectorPromote.ll
Paul Redmond
paul.redmond at intel.com
Mon Dec 10 16:36:43 PST 2012
Author: predmond
Date: Mon Dec 10 18:36:43 2012
New Revision: 169801
URL: http://llvm.org/viewvc/llvm-project?rev=169801&view=rev
Log:
move X86-specific test
This test case uses -mcpu=corei7 so it belongs in CodeGen/X86
Reviewed by: Nadav
Added:
llvm/trunk/test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll
- copied, changed from r169752, llvm/trunk/test/CodeGen/Generic/2012-07-15-BuildVectorPromote.ll
Removed:
llvm/trunk/test/CodeGen/Generic/2012-07-15-BuildVectorPromote.ll
Removed: llvm/trunk/test/CodeGen/Generic/2012-07-15-BuildVectorPromote.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2012-07-15-BuildVectorPromote.ll?rev=169800&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2012-07-15-BuildVectorPromote.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2012-07-15-BuildVectorPromote.ll (removed)
@@ -1,8 +0,0 @@
-; RUN: llc -mcpu=corei7 < %s
-; We don't care about the output, just that it doesn't crash
-
-define <1 x i1> @buildvec_promote() {
- %cmp = icmp ule <1 x i32> undef, undef
- %sel = select i1 undef, <1 x i1> undef, <1 x i1> %cmp
- ret <1 x i1> %sel
-}
Copied: llvm/trunk/test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll (from r169752, llvm/trunk/test/CodeGen/Generic/2012-07-15-BuildVectorPromote.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll?p2=llvm/trunk/test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll&p1=llvm/trunk/test/CodeGen/Generic/2012-07-15-BuildVectorPromote.ll&r1=169752&r2=169801&rev=169801&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2012-07-15-BuildVectorPromote.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll Mon Dec 10 18:36:43 2012
@@ -1,4 +1,4 @@
-; RUN: llc -mcpu=corei7 < %s
+; RUN: llc < %s -march=x86 -mcpu=corei7
; We don't care about the output, just that it doesn't crash
define <1 x i1> @buildvec_promote() {
More information about the llvm-commits
mailing list