File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/lib/CodeGen/SelectionDAG Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7633,7 +7633,7 @@ SDValue DAGCombiner::visitAND(SDNode *N) {
76337633
76347634 if (SDValue(GN0, 0).hasOneUse() &&
76357635 isConstantSplatVectorMaskForType(N1.getNode(), ScalarVT) &&
7636- TLI.isVectorLoadExtDesirable(SDValue(SDValue( N, 0) ))) {
7636+ TLI.isVectorLoadExtDesirable(SDValue(N, 0))) {
76377637 SDValue Ops[] = {GN0->getChain(), GN0->getPassThru(), GN0->getMask(),
76387638 GN0->getBasePtr(), GN0->getIndex(), GN0->getScale()};
76397639
@@ -15724,7 +15724,7 @@ SDValue DAGCombiner::visitSIGN_EXTEND_INREG(SDNode *N) {
1572415724 // fold (sext_inreg (masked_gather x)) -> (sext_masked_gather x)
1572515725 if (auto *GN0 = dyn_cast<MaskedGatherSDNode>(N0)) {
1572615726 if (SDValue(GN0, 0).hasOneUse() && ExtVT == GN0->getMemoryVT() &&
15727- TLI.isVectorLoadExtDesirable(SDValue(SDValue( N, 0) ))) {
15727+ TLI.isVectorLoadExtDesirable(SDValue(N, 0))) {
1572815728 SDValue Ops[] = {GN0->getChain(), GN0->getPassThru(), GN0->getMask(),
1572915729 GN0->getBasePtr(), GN0->getIndex(), GN0->getScale()};
1573015730
You can’t perform that action at this time.
0 commit comments