[PATCH] D63629: [JumpThreading][PR42085] Fold constant TIs before calculating LoopHeaders
Brian Rzycki via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 10:54:03 PDT 2019
brzycki added a comment.
In D63629#1557847 <https://reviews.llvm.org/D63629#1557847>, @xbolva00 wrote:
> Maybe you can use some reasonable BB size threshold to fix these regressions ?
Hello @xbolva00, I appreciate your help but I but don't quite understand how to apply your suggestion. I have to remove trivially constant `TI`s from all `BB`s before calculating `LoopHeaders` and is irrespective of the size of each `BB` or of the size of `F`. I'm curious if you meant to apply such a heuristic in `FindFunctionBackedges()`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63629/new/
https://reviews.llvm.org/D63629
More information about the llvm-commits
mailing list