[llvm] [AMDGPU]Optimize SGPR spills (PR #93668)
Yaxun Liu via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 19 13:54:11 PDT 2024
yxsamliu wrote:
[kernel-hip-amdgcn-amd-amdhsa-gfx908.zip](https://github.com/user-attachments/files/15905813/kernel-hip-amdgcn-amd-amdhsa-gfx908.zip)
To accurately reproduce the assembly file, use the following clang command:
```
clang -cc1 -mcode-object-version=4 -mllvm --amdhsa-code-object-version=4 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -S -disable-free -mrelocation-model pic -pic-level 2 -mframe-pointer=none -aux-target-cpu x86-64 -mllvm -amdgpu-internalize-symbols -target-cpu gfx908 -O3 -vectorize-loops -vectorize-slp -faddrsig -o tmp.s -x ir kernel-hip-amdgcn-amd-amdhsa-gfx908.bc
```
https://github.com/llvm/llvm-project/pull/93668
More information about the llvm-commits
mailing list