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

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 20:53:25 PDT 2023


s-barannikov wrote:

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

That's correct. Previously, this fusing worked only on V8, now V9 is also affected.
https://github.com/llvm/llvm-project/blob/9ab732f630de94aeac47d95a8d1e6093f432506e/llvm/lib/Target/Sparc/DelaySlotFiller.cpp#L376C13-L376C30

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


More information about the llvm-commits mailing list