[llvm] [ValueTracking] Fix KnownBits conflict for calls (range vs returned) (PR #84353)

Björn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 10:25:26 PST 2024


bjope wrote:

> LGTM. We should really get rid of these conflict assertions one day.

I guess that unionWith is a usual culprit of creating KnownBits that has conflicts. One idea could be to avoid hasConflict by letting unionWith reset the info by itself in case the result would be conflicting.

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


More information about the llvm-commits mailing list