[llvm] [RISCV] Separate doLocalPostpass into new pass and move to post vector regalloc (PR #88295)
Piyou Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 16 20:33:01 PDT 2024
================
@@ -1510,7 +1545,10 @@ static bool canMutatePriorConfig(const MachineInstr &PrevMI,
auto &AVL = MI.getOperand(1);
auto &PrevAVL = PrevMI.getOperand(1);
- assert(MRI.isSSA());
+ assert(!AVL.isReg() || !AVL.getReg().isVirtual() ||
+ MRI.hasOneDef(AVL.getReg()));
----------------
BeMg wrote:
Is AVL and PrevAVL always OneDef?
https://github.com/llvm/llvm-project/pull/88295
More information about the llvm-commits
mailing list