[llvm] 89173de - [RISCV] Remove duplicate code. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 28 10:05:32 PDT 2022
Author: Craig Topper
Date: 2022-07-28T10:05:19-07:00
New Revision: 89173dee719100d92c08864316fbc85258a054af
URL: https://github.com/llvm/llvm-project/commit/89173dee719100d92c08864316fbc85258a054af
DIFF: https://github.com/llvm/llvm-project/commit/89173dee719100d92c08864316fbc85258a054af.diff
LOG: [RISCV] Remove duplicate code. NFC
The same operations are part of `FloatingPointVecReduceOps` a little
bit earlier.
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 819582026032b..402e5e7c78d92 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -678,11 +678,6 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
setOperationAction(ISD::FRINT, VT, Expand);
setOperationAction(ISD::FNEARBYINT, VT, Expand);
- setOperationAction(ISD::VECREDUCE_FADD, VT, Custom);
- setOperationAction(ISD::VECREDUCE_SEQ_FADD, VT, Custom);
- setOperationAction(ISD::VECREDUCE_FMIN, VT, Custom);
- setOperationAction(ISD::VECREDUCE_FMAX, VT, Custom);
-
setOperationAction(ISD::FCOPYSIGN, VT, Legal);
setOperationAction({ISD::LOAD, ISD::STORE}, VT, Custom);
More information about the llvm-commits
mailing list