[llvm] 5b06ccb - Revert "foo"
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 3 12:16:01 PDT 2022
Author: Craig Topper
Date: 2022-10-03T12:15:41-07:00
New Revision: 5b06ccb6115cc721e7cb8ee650fea93764106e18
URL: https://github.com/llvm/llvm-project/commit/5b06ccb6115cc721e7cb8ee650fea93764106e18
DIFF: https://github.com/llvm/llvm-project/commit/5b06ccb6115cc721e7cb8ee650fea93764106e18.diff
LOG: Revert "foo"
This reverts commit 2138ef354a2a8be9f273804e1133a3b97a493f03.
Forgot to squash
Added:
Modified:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
index fd94a699126d..57b2ff6fc72f 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -1937,7 +1937,7 @@ static SDValue lowerFP_TO_INT_SAT(SDValue Op, SelectionDAG &DAG,
SDValue SplatZero = DAG.getNode(
RISCVISD::VMV_V_X_VL, DL, DstContainerVT, DAG.getUNDEF(DstContainerVT),
- DAG.getConstant(0, DL, Subtarget.getXLenVT()), VL);
+ DAG.getConstant(0, DL, Subtarget.getXLenVT()));
Res = DAG.getNode(RISCVISD::VSELECT_VL, DL, DstContainerVT, IsNan, SplatZero,
Res, VL);
@@ -3047,7 +3047,7 @@ static SDValue lowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG,
// Create 2^eltbits - 1 copies of V2 by multiplying by the largest integer.
SDValue Multiplier = DAG.getNode(RISCVISD::VMV_V_X_VL, DL, IntHalfVT,
DAG.getUNDEF(IntHalfVT),
- DAG.getAllOnesConstant(DL, XLenVT), VL);
+ DAG.getAllOnesConstant(DL, XLenVT));
SDValue WidenMul =
DAG.getNode(RISCVISD::VWMULU_VL, DL, WideIntContainerVT, V2, Multiplier,
DAG.getUNDEF(WideIntContainerVT), TrueMask, VL);
More information about the llvm-commits
mailing list