[PATCH] D110290: [JumpThreading] Ignore free instructions

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 22 23:32:19 PDT 2021


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

This LG.

I can see why it may be good to migrate to proper TTI costs here,
but the main question that raises are:

1. in -Oz, should we be checking codesize cost?
2. Changing heuristics will obviously affect optimization power. What does this does to the budget? Should we increase it to retain most of the current optimization power?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110290/new/

https://reviews.llvm.org/D110290



More information about the llvm-commits mailing list