[llvm] [RISCV] Add XSfmm pseudo instruction and vset* insertion support (PR #143068)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 24 00:41:29 PDT 2025
================
@@ -1671,6 +1780,10 @@ void RISCVInsertVSETVLI::coalesceVSETVLIs(MachineBasicBlock &MBB) const {
};
for (MachineInstr &MI : make_early_inc_range(reverse(MBB))) {
+ // TODO: Support XSfmm.
+ if (RISCVII::hasTWidenOp(MI.getDesc().TSFlags) ||
+ RISCVInstrInfo::isXSfmmVectorConfigInstr(MI))
+ continue;
----------------
lukel97 wrote:
Can the xsfmm config instructions modify VL or VTYPE? If so should they set `NextMI = nullptr`
https://github.com/llvm/llvm-project/pull/143068
More information about the llvm-commits
mailing list