[PATCH] D38024: [RegisterCoalescer] Move debug value after rematerialize trivial def
Karl-Johan Karlsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 05:36:02 PST 2017
Ka-Ka added inline comments.
================
Comment at: lib/CodeGen/RegisterCoalescer.cpp:1322-1324
+ // Move the debug value directly after the def of the rematerialized
+ // value in DstReg.
+ MBB->splice(std::next(NewMI.getIterator()), UseMI->getParent(), UseMI);
----------------
The alternative to moving the debug value is to remove it.
https://reviews.llvm.org/D38024
More information about the llvm-commits
mailing list