[all-commits] [llvm/llvm-project] b454b0: [AArch64] Fix a compiler crash in MachineSink (#67...
Momchil Velikov via All-commits
all-commits at lists.llvm.org
Fri Sep 29 01:29:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b454b04d686991626f2de7ad639456bfc96c510a
https://github.com/llvm/llvm-project/commit/b454b04d686991626f2de7ad639456bfc96c510a
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2023-09-29 (Fri, 29 Sep 2023)
Changed paths:
M llvm/lib/CodeGen/MachineSink.cpp
A llvm/test/CodeGen/AArch64/sink-and-fold-dbg-value-crash.mir
Log Message:
-----------
[AArch64] Fix a compiler crash in MachineSink (#67705)
There were a couple of issues with maintaining register def/uses held
in `MachineRegisterInfo`:
* when an operand is changed from one register to another, the
corresponding instruction must already be inserted into the function,
or MRI won't be updated
* when traversing the set of all uses of a register, that set must not
change
More information about the All-commits
mailing list