[llvm] [InstCombine] Always fold assumes to use operand bundles (PR #169923)

Nikolas Klauser via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 17 04:10:09 PST 2026


philnik777 wrote:

@dtcxzyw I've looked into that a bit and that seems to be a rather big project (i.e. there seem to be quite a few places that need to be improved before we can generate assumptions this liberally). Do you think the rest of the knowledge retention mechanism is necessary for these transforms to be useful?
FWIW I've looked through the places where the assumption cache is used and I wasn't able to spot any places that would be affected by this change (they either use operand bundles already or they don't check for the transformed assumptions). It's of course possible that I've missed some place, since I'm not super familiar with the code base.

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


More information about the llvm-commits mailing list