[llvm] [TargetLowering] Fold (a | b) ==/!= b -> (a & ~b) == /!= 0 when and-not exists (PR #145368)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 24 08:59:09 PDT 2025


AZero13 wrote:

No we cannot use this in Target lowering. m_Or is not defined, and neither is sd_match. No function in target lowering does this, and it seems it was done this way for a reason.  @RKSimon 

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


More information about the llvm-commits mailing list