[llvm] [ValueTracking] Analyze `Select` in `isKnownNonEqual`. (PR #68427)

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 10:20:53 PDT 2023


mgudim wrote:


> I don't understand what you mean here. If `isNonEqualSelect()` returns false, then all the following code still gets executed, no? It shouldn't matter (for behavior) in which order these calls are executed.

Right, I just thought it's better to do cheaper  checks first.

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


More information about the llvm-commits mailing list