yxsamliu 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? https://github.com/llvm/llvm-project/pull/102086