[llvm] [AMDGPU] Use absolute relocations when compiling for AMDPAL (PR #67791)

Thomas Symalla via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 29 06:19:42 PDT 2023


================
@@ -2764,6 +2768,45 @@ bool AMDGPULegalizerInfo::buildPCRelGlobalAddress(Register DstReg, LLT PtrTy,
   return true;
  }
 
+ // Emit a ABS32_LO / ABS32_HI relocation stub.
+ void AMDGPULegalizerInfo::buildAbsGlobalAddress(
----------------
tsymalla wrote:

Thanks for the hint. That formatting was introduced by clang-format. The method above had its closing bracket intended with a space which seems to have caused issues for my code.

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


More information about the llvm-commits mailing list