[llvm] [AMDGPU] Multi dword spilling for unaligned tuples (PR #183701)

Christudasan Devadasan via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 00:58:23 PDT 2026


================

----------------
cdevadas wrote:

Are you intending to modify LastChunk with the statement (LastChunk = (LastChunk * 4)? If yes, the code style is really misleading. Better change it to the following.
```cpp
if (IsRegMisaligned && LastChunk != 0) {
  LastChunk = LastChunk * 4;
  NumSubRegs += 1;
}

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


More information about the llvm-commits mailing list