From: Hsiangkai Wang Date: Wed, 28 Dec 2022 03:42:53 +0000 (+0000) Subject: [RISCV][NFC] Remove redundant setOperationAction. X-Git-Tag: upstream/17.0.6~22540 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=740cb3377d58b6ce6e12f11e9bdcc7aeb0588e6f;p=platform%2Fupstream%2Fllvm.git [RISCV][NFC] Remove redundant setOperationAction. ISD::INSERT_VECTOR_ELT is already set above. Differential Revision: https://reviews.llvm.org/D140716 --- diff --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp index 3041e46..c6a2d03 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);