[llvm] [LVI] Generalize mask not equal conditions handling (PR #92946)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Mon May 27 10:53:41 PDT 2024


antoniofrighetto wrote:

@nikic Can I assume that `R = GetRangeFromKnownBits()` is always a satisfying range for pred EQ?  For the motivating example (range: `[-16, -8)`), shouldn't I expect that `makeAllowedICmpRegion(!pred, R.inverse()) == makeSatisfyingICmpRegion(!pred, R.inverse())`? Sorry if I'm still off track :(

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


More information about the llvm-commits mailing list