When the CodeGenPrepare pass sinks a compare instruction into the basic block of a user, it should preserve its debug location. Not doing so negatively affects source line attribution for debugging and AutoFDO.
Patch by Andrea Di Biagio
Differential D24632
Preserve the debug location when sinking compare instructions wolfgangp on Sep 15 2016, 2:50 PM. Authored by
Details When the CodeGenPrepare pass sinks a compare instruction into the basic block of a user, it should preserve its debug location. Not doing so negatively affects source line attribution for debugging and AutoFDO. Patch by Andrea Di Biagio
Diff Detail
Event Timeline |