llvm-project
faf9295f - [RISCV] Fix a bug where AVL is the last MI in MBB. (#144668)

Commit
89 days ago
[RISCV] Fix a bug where AVL is the last MI in MBB. (#144668) When `AVL` is the last MI, `std::next(II)` equals `MBB.end()`, and calling `II->getParent()` at that point will cause an error. --------- Co-authored-by: yanming <ming.yan@terapines.com>
Author
Parents
Loading