MarkAHarley wrote: > A couple of minor things but otherwise looks good. Do you plan to implement a similar optimisation for the unary instructions? The optimisation for unary instructions will be in a separate patch. https://github.com/llvm/llvm-project/pull/73964