MaheshRavishankar wrote: @vivekkhandelwal1 your change itself makes sense to me, but can you just post the IR snippet that cause you to hit this. The verifier issue seems to be a red herring. https://github.com/llvm/llvm-project/pull/113551