================
@@ -27003,6 +27003,20 @@
RISCVTargetLowering::EmitInstrWithCustomInserter(MachineInstr &MI,
void RISCVTargetLowering::AdjustInstrPostInstrSelection(MachineInstr &MI,
SDNode *Node) const {
+ if (!Subtarget.allowVectorIndexLoadOverlap()) {
+ const RISCVVPseudosTable::PseudoInfo *RVV =
+ RISCVVPseudosTable::getPseudoInfo(MI.getOpcode());
+ if (RVV && (RVV->BaseInstr == RISCV::VLUXEI8_V ||
----------------
topperc wrote:
The code for that looks a lot less efficient. We end up doing a comparison
against 156 different opcodes.
https://github.com/llvm/llvm-project/pull/224739
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits