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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 28 08:55:02 PST 2025


https://github.com/dtcxzyw commented:

I'd suggest making EnableKnowledgeRetention default to true and checking if the comptime impact and IR diff are acceptable. I guess some components don't support operand bundles yet, because there are very few users of getKnowledgeForValue/getKnowledgeFromBundle. BTW DropUnnecessaryAssumesPass might need to be tuned in different phases (See https://github.com/llvm/llvm-project/pull/166947).



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


More information about the llvm-commits mailing list