Skip to content

Commit b814b2a

Browse files
committed
Remove isTargetCanonicalConstantNode change mistakenly brought in from llvm#129695
1 parent 4031bbb commit b814b2a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/Target/X86/X86ISelLowering.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,9 +1346,6 @@ namespace llvm {
13461346
Op = Op.getOperand(Op.getOpcode() == ISD::INSERT_SUBVECTOR ? 1 : 0);
13471347

13481348
return Op.getOpcode() == X86ISD::VBROADCAST_LOAD ||
1349-
Op.getOpcode() == X86ISD::SUBV_BROADCAST_LOAD ||
1350-
(Op.getOpcode() == ISD::LOAD &&
1351-
getTargetConstantFromLoad(cast<LoadSDNode>(Op))) ||
13521349
TargetLowering::isTargetCanonicalConstantNode(Op);
13531350
}
13541351

0 commit comments

Comments
 (0)