[llvm] 740cb33 - [RISCV][NFC] Remove redundant setOperationAction.
Hsiangkai Wang via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 28 01:24:35 PST 2022
Author: Hsiangkai Wang
Date: 2022-12-28T09:11:32Z
New Revision: 740cb3377d58b6ce6e12f11e9bdcc7aeb0588e6f
URL: https://github.com/llvm/llvm-project/commit/740cb3377d58b6ce6e12f11e9bdcc7aeb0588e6f
DIFF: https://github.com/llvm/llvm-project/commit/740cb3377d58b6ce6e12f11e9bdcc7aeb0588e6f.diff
LOG: [RISCV][NFC] Remove redundant setOperationAction.
ISD::INSERT_VECTOR_ELT is already set above.
Differential Revision: https://reviews.llvm.org/D140716
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 3041e4685b2ae..c6a2d03f5d31a 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -866,7 +866,6 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
}
setOperationAction(ISD::VECTOR_SHUFFLE, VT, Custom);
- setOperationAction(ISD::INSERT_VECTOR_ELT, VT, Custom);
setOperationAction(
{ISD::MLOAD, ISD::MSTORE, ISD::MGATHER, ISD::MSCATTER}, VT, Custom);
More information about the llvm-commits
mailing list