diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-07-05 17:34:23 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2024-07-05 17:35:34 -0700 |
commit | f118c882fe2f2548b814492aa4e51ef29aa29739 (patch) | |
tree | c96301d07dfb2bf85bbe7fb21d9cbcd294bba073 | |
parent | 88381cecfff48536230e11901f1598332033fd45 (diff) | |
download | llvm-f118c882fe2f2548b814492aa4e51ef29aa29739.zip llvm-f118c882fe2f2548b814492aa4e51ef29aa29739.tar.gz llvm-f118c882fe2f2548b814492aa4e51ef29aa29739.tar.bz2 |
[RISCV] Remove unnecessary setOperationAction for ISD::SELECT_CC for fixed vectors. NFC
We already looped through all builtin operations and marked them as
Expand. We don't need to do it to SELECT_CC again.
-rw-r--r-- | llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp index e935590..9a4d77d 100644 --- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp +++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp @@ -1256,7 +1256,6 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM, VT, Custom); setOperationAction(ISD::VSELECT, VT, Custom); - setOperationAction(ISD::SELECT_CC, VT, Expand); setOperationAction( {ISD::ANY_EXTEND, ISD::SIGN_EXTEND, ISD::ZERO_EXTEND}, VT, Custom); @@ -1379,7 +1378,6 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM, setOperationAction(ISD::SETCC, VT, Custom); setOperationAction({ISD::VSELECT, ISD::SELECT}, VT, Custom); - setOperationAction(ISD::SELECT_CC, VT, Expand); setOperationAction(ISD::BITCAST, VT, Custom); |