[all-commits] [llvm/llvm-project] 845b93: [LiveIntervals] Fix another asan debug build failure
Jay Foad via All-commits
all-commits at lists.llvm.org
Tue Sep 28 03:20:45 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 845b93e692b6a83685b8c0943562ab7ccc5f3b94
https://github.com/llvm/llvm-project/commit/845b93e692b6a83685b8c0943562ab7ccc5f3b94
Author: Jay Foad <jay.foad at amd.com>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
Log Message:
-----------
[LiveIntervals] Fix another asan debug build failure
Call RemoveMachineInstrFromMaps before erasing instrs.
repairIntervalsInRange will do this for you after erasing the
instruction, but it's not safe to rely on it because assertions in
SlotIndexes::removeMachineInstrFromMaps refer to fields in the erased
instruction.
This fixes asan buildbot failures caused by D110335.
More information about the All-commits
mailing list