[llvm] c27018b - [SelectionDAG] Use getExtLoadVP in PromoteIntRes_VP_LOAD. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 25 22:35:46 PDT 2025
Author: Craig Topper
Date: 2025-04-25T22:31:10-07:00
New Revision: c27018b35a6acfa7ed13baad0a592f1fb2dc1f96
URL: https://github.com/llvm/llvm-project/commit/c27018b35a6acfa7ed13baad0a592f1fb2dc1f96
DIFF: https://github.com/llvm/llvm-project/commit/c27018b35a6acfa7ed13baad0a592f1fb2dc1f96.diff
LOG: [SelectionDAG] Use getExtLoadVP in PromoteIntRes_VP_LOAD. NFC
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index 83dd519fb2ea4..25e74a2ae5b71 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
@@ -980,9 +980,9 @@ SDValue DAGTypeLegalizer::PromoteIntRes_VP_LOAD(VPLoadSDNode *N) {
: N->getExtensionType();
SDLoc dl(N);
SDValue Res =
- DAG.getLoadVP(N->getAddressingMode(), ExtType, NVT, dl, N->getChain(),
- N->getBasePtr(), N->getOffset(), N->getMask(),
- N->getVectorLength(), N->getMemoryVT(), N->getMemOperand());
+ DAG.getExtLoadVP(ExtType, dl, NVT, N->getChain(), N->getBasePtr(),
+ N->getMask(), N->getVectorLength(), N->getMemoryVT(),
+ N->getMemOperand(), N->isExpandingLoad());
// Legalize the chain result - switch anything that used the old chain to
// use the new one.
ReplaceValueWith(SDValue(N, 1), Res.getValue(1));
More information about the llvm-commits
mailing list