mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-20 00:43:48 +00:00
Implement splitting of UNDEF nodes. This is the first step towards fixing PR1811
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f4bc9b1802
commit
daf9bc8eee
@ -6265,6 +6265,10 @@ void SelectionDAGLegalize::SplitVectorOp(SDOperand Op, SDOperand &Lo,
|
||||
Node->dump(&DAG);
|
||||
#endif
|
||||
assert(0 && "Unhandled operation in SplitVectorOp!");
|
||||
case ISD::UNDEF:
|
||||
Lo = DAG.getNode(ISD::UNDEF, NewVT_Lo);
|
||||
Hi = DAG.getNode(ISD::UNDEF, NewVT_Hi);
|
||||
break;
|
||||
case ISD::BUILD_PAIR:
|
||||
Lo = Node->getOperand(0);
|
||||
Hi = Node->getOperand(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user