mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-20 10:42:36 +00:00
remove unused argument
llvm-svn: 154494
This commit is contained in:
parent
da21cc27c0
commit
210f92b306
@ -5386,7 +5386,7 @@ X86TargetLowering::LowerCONCAT_VECTORS(SDValue Op, SelectionDAG &DAG) const {
|
|||||||
// Try to lower a shuffle node into a simple blend instruction.
|
// Try to lower a shuffle node into a simple blend instruction.
|
||||||
static SDValue LowerVECTOR_SHUFFLEtoBlend(SDValue Op,
|
static SDValue LowerVECTOR_SHUFFLEtoBlend(SDValue Op,
|
||||||
const X86Subtarget *Subtarget,
|
const X86Subtarget *Subtarget,
|
||||||
SelectionDAG &DAG, EVT PtrTy) {
|
SelectionDAG &DAG) {
|
||||||
ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(Op);
|
ShuffleVectorSDNode *SVOp = cast<ShuffleVectorSDNode>(Op);
|
||||||
SDValue V1 = SVOp->getOperand(0);
|
SDValue V1 = SVOp->getOperand(0);
|
||||||
SDValue V2 = SVOp->getOperand(1);
|
SDValue V2 = SVOp->getOperand(1);
|
||||||
@ -6624,7 +6624,7 @@ X86TargetLowering::LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const {
|
|||||||
return getTargetShuffleNode(X86ISD::VPERM2X128, dl, VT, V1,
|
return getTargetShuffleNode(X86ISD::VPERM2X128, dl, VT, V1,
|
||||||
V2, getShuffleVPERM2X128Immediate(SVOp), DAG);
|
V2, getShuffleVPERM2X128Immediate(SVOp), DAG);
|
||||||
|
|
||||||
SDValue BlendOp = LowerVECTOR_SHUFFLEtoBlend(Op, Subtarget, DAG, getPointerTy());
|
SDValue BlendOp = LowerVECTOR_SHUFFLEtoBlend(Op, Subtarget, DAG);
|
||||||
if (BlendOp.getNode())
|
if (BlendOp.getNode())
|
||||||
return BlendOp;
|
return BlendOp;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user