[llvm] 5c9b03f - [RISCV] Remove duplicate setOperationAction. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 16 16:54:59 PST 2022
Author: Craig Topper
Date: 2022-11-16T16:54:27-08:00
New Revision: 5c9b03faef2ed30e1120fdc4cd3610e849fc75d0
URL: https://github.com/llvm/llvm-project/commit/5c9b03faef2ed30e1120fdc4cd3610e849fc75d0
DIFF: https://github.com/llvm/llvm-project/commit/5c9b03faef2ed30e1120fdc4cd3610e849fc75d0.diff
LOG: [RISCV] Remove duplicate setOperationAction. NFC
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 a54ce11a77d4f..2c344590ddf4e 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -587,8 +587,7 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
setOperationAction({ISD::ROTL, ISD::ROTR}, VT, Expand);
- setOperationAction({ISD::CTTZ, ISD::CTLZ, ISD::CTPOP, ISD::BSWAP}, VT,
- Expand);
+ setOperationAction({ISD::CTTZ, ISD::CTLZ, ISD::CTPOP}, VT, Expand);
setOperationAction(ISD::BSWAP, VT, Expand);
setOperationAction(ISD::VP_BSWAP, VT, Expand);
More information about the llvm-commits
mailing list