[llvm] [InstCombine] Replace all dominated uses of condition with constants (PR #105510)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 31 00:47:30 PDT 2024


================

----------------
nikic wrote:

So the problem here is that GVN CSE's two icmps, but we only have the needed dominance relationship after JumpThreading. And after that we don't have passes capable of doing this anymore. So I think the InstCombine approach is fine.

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


More information about the llvm-commits mailing list