[llvm] [EarlyIfConversion] Determine if branch is predictable using new APIs. (PR #95877)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 28 02:31:58 PDT 2024


fhahn wrote:

I think the direction in general looks good for adjusting the TTI interface. But I think checking for `isLoopInvariant` is too strict, as in the motivating cases the load is not loop invariant as it may alias the stores, so I'd expect tests to fail with https://github.com/llvm/llvm-project/pull/95632?

https://github.com/llvm/llvm-project/pull/95877


More information about the llvm-commits mailing list