Skip to content

Commit

Permalink
[RISCV][ESP32P4] Don't yet consider v16i8 and v4i32 legal
Browse files Browse the repository at this point in the history
  • Loading branch information
sstefan1 committed Aug 22, 2024
1 parent e9c8e60 commit 8230af6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,6 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
// Set up the register classes.
addRegisterClass(XLenVT, &RISCV::GPRRegClass);

if (Subtarget.hasVendorESP32P4()) {
static const MVT::SimpleValueType QRVec[] = {MVT::v16i8, MVT::v4i32};
for (auto st : QRVec)
addRegisterClass(st, &RISCV::QRRegClass);
}

if (Subtarget.is64Bit() && RV64LegalI32)
addRegisterClass(MVT::i32, &RISCV::GPRRegClass);

Expand Down

0 comments on commit 8230af6

Please sign in to comment.