mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 14:15:53 +00:00
[x86] Delete some extraneous logic from the new vector shuffle lowering.
Nothing was relying on this and there are potentially some edge cases that it would not be correct under. Removing it seems better than trying to "fix" it as nothing was relying on it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
01649dea92
commit
a1b88ab2c1
@ -7768,13 +7768,6 @@ static SDValue lowerVectorShuffleAsElementInsertion(
|
||||
return SDValue(); // Not inserting into a zero vector.
|
||||
}
|
||||
|
||||
// Step over any bitcasts on either input so we can scan the actual
|
||||
// BUILD_VECTOR nodes.
|
||||
while (V1.getOpcode() == ISD::BITCAST)
|
||||
V1 = V1.getOperand(0);
|
||||
while (V2.getOpcode() == ISD::BITCAST)
|
||||
V2 = V2.getOperand(0);
|
||||
|
||||
// Check for a single input from a SCALAR_TO_VECTOR node.
|
||||
// FIXME: All of this should be canonicalized into INSERT_VECTOR_ELT and
|
||||
// all the smarts here sunk into that routine. However, the current
|
||||
|
Loading…
Reference in New Issue
Block a user