[llvm] [ConstraintElim] Check of other OP is guaranteed to not be undef/poison. (PR #76182)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 22 12:16:56 PST 2023


fhahn wrote:

> If the operand isn't poison, wouldn't the logical op get converted to a bitwise op by InstCombine? Are we concerned about phase ordering issues here?

Let me check if there are any cases where this is actually needed; it looks like SimplifyCFG also already tries to introduce bitwise ops directly, so together with instcombine most (probably all) cases should already covered.

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


More information about the llvm-commits mailing list