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