[llvm] [RegisterCoalescer] Fix reuse of instruction pointers (PR #73519)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 27 19:17:09 PST 2023
================
@@ -1190,7 +1203,15 @@ bool RegisterCoalescer::removePartialRedundancy(const CoalescerPair &CP,
// If the newly created Instruction has an address of an instruction that was
// deleted before (object recycled by the allocator) it needs to be removed from
----------------
arsenm wrote:
I don't really trust this system of relying on deleted instruction pointers. Is there a better way to handle this?
https://github.com/llvm/llvm-project/pull/73519
More information about the llvm-commits
mailing list