[llvm] [InstCombine] Avoid foldCmpLoadFromIndexedGlobal for multi-use load (PR #151524)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 08:01:52 PDT 2026


nikic wrote:

> Make sense. Folding icmps with multi-use load looks better. But it deserves a comment here. Then we can avoid discussing the same problem in the future.

A bit belatedly, I submitted https://github.com/llvm/llvm-project/pull/218434 to add a comment...

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


More information about the llvm-commits mailing list