[llvm] [RISCV] Separate doLocalPostpass into new pass and move to post vector regalloc (PR #88295)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 16 23:34:56 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()));
----------------
lukel97 wrote:
Apparently so, but I will double check. It could just be that we don't have tests for AVLs coming from a phi?
https://github.com/llvm/llvm-project/pull/88295
More information about the llvm-commits
mailing list