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

Sebastian Neubauer via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 29 06:08:27 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(
----------------
Flakebi wrote:

This function header is indented with a single space. That probably confuses your clang-format.

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


More information about the llvm-commits mailing list