[PATCH] D58238: [DebugInfo] MachineSink: Insert undef DBG_VALUEs when sinking instructions, try to forward copies
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 29 13:32:45 PDT 2019
aprantl added inline comments.
================
Comment at: lib/CodeGen/MachineSink.cpp:808
+ else if (!TargetRegisterInfo::isVirtualRegister(DbgMO.getReg()) &&
+ !TargetRegisterInfo::isVirtualRegister(SrcMO->getReg()) &&
+ DbgMO.getReg() == DstMO->getReg() && PostRA)
----------------
There ought to be some simplification of these two conditions possible. Perhaps adding a `continue`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58238/new/
https://reviews.llvm.org/D58238
More information about the llvm-commits
mailing list