[llvm] RegisterCoalescer: Fix producing malformed IMPLICIT_DEFs (PR #73784)
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 1 13:20:32 PST 2023
================
@@ -1694,12 +1694,19 @@ MachineInstr *RegisterCoalescer::eliminateUndefCopy(MachineInstr *CopyMI) {
// The source interval may also have been on an undef use, in which case the
// copy introduced a live value.
if (((V && V->isPHIDef()) || (!V && !DstLI.liveAt(Idx)))) {
----------------
kparzysz wrote:
I know this isn't a part of your changes, but the surplus of parentheses is bugging me.
https://github.com/llvm/llvm-project/pull/73784
More information about the llvm-commits
mailing list