[PATCH] D136169: [AMDGPU] Avoid SCC clobbering before S_CSELECT_B32

Alexander via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 13:05:37 PDT 2022


alex-t added a comment.

In D136169#3872475 <https://reviews.llvm.org/D136169#3872475>, @rampitec wrote:

> Am I correct to assume that frame offset is always DWORD aligned? If so we have couple spare bits:
>
>   S_ADDC_U32 $reg, offset
>   S_BITCMP1_B32 $reg, 0
>   S_BITSET0_B32 $reg, 0

That's brilliant! Thanks a lot.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136169/new/

https://reviews.llvm.org/D136169



More information about the llvm-commits mailing list