mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
[X86] Remove unused function argument. NFC
llvm-svn: 326939
This commit is contained in:
parent
1c92c32fc2
commit
ae679a0e38
@ -32909,7 +32909,6 @@ static SDValue combineMulSpecial(uint64_t MulAmt, SDNode *N, SelectionDAG &DAG,
|
|||||||
// If the upper 17 bits of each element are zero then we can use PMADDWD,
|
// If the upper 17 bits of each element are zero then we can use PMADDWD,
|
||||||
// which is always at least as quick as PMULLD, expect on KNL.
|
// which is always at least as quick as PMULLD, expect on KNL.
|
||||||
static SDValue combineMulToPMADDWD(SDNode *N, SelectionDAG &DAG,
|
static SDValue combineMulToPMADDWD(SDNode *N, SelectionDAG &DAG,
|
||||||
TargetLowering::DAGCombinerInfo &DCI,
|
|
||||||
const X86Subtarget &Subtarget) {
|
const X86Subtarget &Subtarget) {
|
||||||
if (!Subtarget.hasSSE2())
|
if (!Subtarget.hasSSE2())
|
||||||
return SDValue();
|
return SDValue();
|
||||||
@ -32953,7 +32952,7 @@ static SDValue combineMul(SDNode *N, SelectionDAG &DAG,
|
|||||||
const X86Subtarget &Subtarget) {
|
const X86Subtarget &Subtarget) {
|
||||||
EVT VT = N->getValueType(0);
|
EVT VT = N->getValueType(0);
|
||||||
|
|
||||||
if (SDValue V = combineMulToPMADDWD(N, DAG, DCI, Subtarget))
|
if (SDValue V = combineMulToPMADDWD(N, DAG, Subtarget))
|
||||||
return V;
|
return V;
|
||||||
|
|
||||||
if (DCI.isBeforeLegalize() && VT.isVector())
|
if (DCI.isBeforeLegalize() && VT.isVector())
|
||||||
|
Loading…
Reference in New Issue
Block a user