Krishna-13-cyber wrote: > The issue is a specifc case, you need to provide a generalized pattern at least. See also https://llvm.org/docs/InstCombineContributorGuide.html#generalization Got it, I will make the required changes. https://github.com/llvm/llvm-project/pull/87157