[llvm] [Sparc] Remove duplicate ALU and SETHI instructions (NFCI) (PR #66851)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 07:34:39 PDT 2023


koachan wrote:

A little question:
> This is not strictly NFC because of the changes in 2011-01-11-FrameAddr.ll test. The reason is that Sparc delay slot filler pass handled ADDrr but not ADDXrr, which are now the same instruction.

So what's the overall effect here? From what I see, address calculations can get fused with `restore`s now?

Otherwise, the change looks okay to me.

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


More information about the llvm-commits mailing list