[llvm] [AMDGPU] Move `AMDGPUAttributorPass` to full LTO post link stage (PR #102086)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 11:56:43 PDT 2024
shiltian wrote:
> Blender assumes -fno-gpu-rdc, which does not use LTO. It uses the default optimization pipeline.
>
> Maybe the failure is due to removing the pass from the default optimization pipeline?
I thought we do even for no-gpu-rdc? This is from running blender test on my side:
```
...
"/llvm/bin/lld" -flavor gnu -m elf64_amdgpu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx90a -plugin-opt=O3 --lto-CGO3 --whole-archive -o /tmp/kernel-gfx90a-824510.out /tmp/kernel-gfx90a-1b3add.o --no-whole-archive
...
```
https://github.com/llvm/llvm-project/pull/102086
More information about the llvm-commits
mailing list