[llvm] [InstCombine] Always fold nonnull assumptions into operand bundles (PR #169923)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 9 05:30:20 PST 2026
https://github.com/fhahn commented:
> We're missing the optimization that converts nonnull assumes to `!nonnull` metadata on loads: https://github.com/philnik777/llvm-project/blob/f758b9c1ffc8e96ae84f039b1d757cffda0ddb23/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp#L3607-L3622
I had https://github.com/llvm/llvm-project/pull/123247 for this a while ago, it required a few other changes to avoid regressions after removing the assumes. I can check again what the regerssions are now.
https://github.com/llvm/llvm-project/pull/169923
More information about the llvm-commits
mailing list