Fixed an assert from:

assert("not implemented for target shuffle node");

to:

  assert(0 && "not implemented for target shuffle node");

This causes a test failure in CodeGen/X86/palignr.ll which has
been marked as XFAIL for the time being.
Test failure filed at PR10901.

llvm-svn: 139454
This commit is contained in:
Richard Trieu 2011-09-10 01:26:21 +00:00
parent c7868bf064
commit d9917bef6c
2 changed files with 2 additions and 1 deletions

View File

@ -4616,7 +4616,7 @@ static SDValue getShuffleScalarElt(SDNode *N, int Index, SelectionDAG &DAG,
ShuffleMask);
break;
default:
assert("not implemented for target shuffle node");
assert(0 && "not implemented for target shuffle node");
return SDValue();
}

View File

@ -1,5 +1,6 @@
; RUN: llc < %s -march=x86 -mcpu=core2 -mattr=+ssse3 | FileCheck %s
; RUN: llc < %s -march=x86 -mcpu=yonah | FileCheck --check-prefix=YONAH %s
; XFAIL: *
define <4 x i32> @test1(<4 x i32> %A, <4 x i32> %B) nounwind {
; CHECK: test1: