[llvm] 63ed3d0 - [RISCV] Rename lowerFTRUNC_FCEIL_FFLOOR_FROUND to lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 24 20:42:26 PDT 2022
Author: Craig Topper
Date: 2022-10-24T20:32:22-07:00
New Revision: 63ed3d0eeb561aa3ede1b6006c0a1a8830b469da
URL: https://github.com/llvm/llvm-project/commit/63ed3d0eeb561aa3ede1b6006c0a1a8830b469da
DIFF: https://github.com/llvm/llvm-project/commit/63ed3d0eeb561aa3ede1b6006c0a1a8830b469da.diff
LOG: [RISCV] Rename lowerFTRUNC_FCEIL_FFLOOR_FROUND to lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND. NFC
Extracted from D136508.
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 b51ac4e6d1856..2948fa923602a 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -1987,8 +1987,8 @@ static RISCVFPRndMode::RoundingMode matchRoundingOp(unsigned Opc) {
// VP_FROUNDEVEN and VP_FROUNDTOZERO by converting to the integer domain and
// back. Taking care to avoid converting values that are nan or already correct.
static SDValue
-lowerFTRUNC_FCEIL_FFLOOR_FROUND(SDValue Op, SelectionDAG &DAG,
- const RISCVSubtarget &Subtarget) {
+lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND(SDValue Op, SelectionDAG &DAG,
+ const RISCVSubtarget &Subtarget) {
MVT VT = Op.getSimpleValueType();
assert(VT.isVector() && "Unexpected type");
@@ -3713,7 +3713,7 @@ SDValue RISCVTargetLowering::LowerOperation(SDValue Op,
case ISD::FFLOOR:
case ISD::FROUND:
case ISD::FROUNDEVEN:
- return lowerFTRUNC_FCEIL_FFLOOR_FROUND(Op, DAG, Subtarget);
+ return lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND(Op, DAG, Subtarget);
case ISD::VECREDUCE_ADD:
case ISD::VECREDUCE_UMAX:
case ISD::VECREDUCE_SMAX:
@@ -4050,7 +4050,7 @@ SDValue RISCVTargetLowering::LowerOperation(SDValue Op,
case ISD::VP_FROUND:
case ISD::VP_FROUNDEVEN:
case ISD::VP_FROUNDTOZERO:
- return lowerFTRUNC_FCEIL_FFLOOR_FROUND(Op, DAG, Subtarget);
+ return lowerVectorFTRUNC_FCEIL_FFLOOR_FROUND(Op, DAG, Subtarget);
}
}
More information about the llvm-commits
mailing list