llvm-project
6c23e9e8 - [RISCV] Fix crash when trying to remove segment (#146524)

Commit
215 days ago
[RISCV] Fix crash when trying to remove segment (#146524) LiveInterval DefLI can be consisting of multiple segments, and SlotIndex NewDefSI can be inside any of them. Currenty it is assumed that NewDefSI belongs to the first segment, and when trying to call removeSegment, clang crashes since there is no segment containing [DefLI.beginIndex(), NewDefSI] FIxes https://github.com/llvm/llvm-project/issues/146518
Author
Parents
Loading