[all-commits] [llvm/llvm-project] 5beb9a: AMDGPU: Respect compute ABI attributes with unknow...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Aug 13 17:56:01 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5beb9a0e6aec4a4901229377d8cb9e6115956446
https://github.com/llvm/llvm-project/commit/5beb9a0e6aec4a4901229377d8cb9e6115956446
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2021-08-13 (Fri, 13 Aug 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
M llvm/test/CodeGen/AMDGPU/trap-abis.ll
Log Message:
-----------
AMDGPU: Respect compute ABI attributes with unknown OS
Unfortunately Mesa is still using amdgcn-- as the triple for OpenGL,
so we still have the awkward unknown OS case to deal with. Previously
if the HSA ABI intrinsics appeared, we we would not add the ABI
registers to the function. We would emit an error later, but we still
need to produce some compile result. Start adding the registers to any
compute function, regardless of the OS. This keeps the internal state
more consistent, and will help avoid numerous test crashes in a future
patch which starts assuming the ABI inputs are present on functions by
default.
Commit: 152ceec1ae8f5c1af2970210a96d1d4a952aa2ff
https://github.com/llvm/llvm-project/commit/152ceec1ae8f5c1af2970210a96d1d4a952aa2ff
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2021-08-13 (Fri, 13 Aug 2021)
Changed paths:
M llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
Log Message:
-----------
AMDGPU: Add indirect and extern calls to attributor test
Commit: a77ae4aa6a351c916876ac83529c8122607599ad
https://github.com/llvm/llvm-project/commit/a77ae4aa6a351c916876ac83529c8122607599ad
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2021-08-13 (Fri, 13 Aug 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
M llvm/test/CodeGen/AMDGPU/addrspacecast-constantexpr.ll
M llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
M llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa.ll
M llvm/test/CodeGen/AMDGPU/annotate-kernel-features.ll
M llvm/test/CodeGen/AMDGPU/pal-simple-indirect-call.ll
Log Message:
-----------
AMDGPU: Stop attributor adding attributes to intrinsic declarations
Compare: https://github.com/llvm/llvm-project/compare/16e8134e7c77...a77ae4aa6a35
More information about the All-commits
mailing list