[PATCH] D89479: [SimplifyCFG] Be more conservative when speculating in loops. (WIP)

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 09:28:31 PDT 2020


fhahn added a comment.

In D89479#2332615 <https://reviews.llvm.org/D89479#2332615>, @lebedev.ri wrote:

> I like costmodel-driven fix more.

As mentioned above, that works, *if* we do not want to ever speculate CTLZ. It might be profitable outside loops, but yeah, that would be simpler.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89479



More information about the llvm-commits mailing list