[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
Thu Oct 24 14:50:14 PDT 2019
aprantl accepted this revision.
aprantl added a comment.
This revision is now accepted and ready to land.
I don't want to preempt any of the other reviewers, but from my point I think this looks good.
================
Comment at: lib/CodeGen/MachineSink.cpp:774
+ // there's any subregister weirdness involved.
for (SmallVectorImpl<MachineInstr *>::iterator DBI = DbgValuesToSink.begin(),
DBE = DbgValuesToSink.end();
----------------
Not your code, but this looks like it could be replaced by a range-based-for.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58238/new/
https://reviews.llvm.org/D58238
More information about the llvm-commits
mailing list