[PATCH] D19439: Optimization bisect support in X86-specific passes

David Kreitzer via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 13:55:10 PDT 2016


DavidKreitzer accepted this revision.
DavidKreitzer added a comment.
This revision is now accepted and ready to land.

Thanks for the fixes, Andy.

Hmmm, it was probably unintentional for X86CallFrameOptimization to be run at -O0. (It was a consequence of this change: http://reviews.llvm.org/D18573.) I doubt we want to do that, because it potentially has an adverse affect on debugging. Based on a quick experiment, it looks like the optimization fails to detect the pattern in the -O0 machine IR anyway, but that is probably also coincidental. At any rate, don't worry about it for this patch. I'm doing some work in X86CallFrameOptimization and can add the code to make sure it gets disabled at -O0.

So this patch LGTM.


Repository:
  rL LLVM

http://reviews.llvm.org/D19439





More information about the llvm-commits mailing list