[all-commits] [llvm/llvm-project] 77ce2e: [AMDGPU] Add Relocation Constant Support
Jakub Kuderski via All-commits
all-commits at lists.llvm.org
Mon Mar 30 10:49:36 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 77ce2e21a87768370b97a027e5053b73e8f438a7
https://github.com/llvm/llvm-project/commit/77ce2e21a87768370b97a027e5053b73e8f438a7
Author: Jakub Kuderski <kubak at google.com>
Date: 2020-03-30 (Mon, 30 Mar 2020)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/amdgcn-load-offset-from-reg.ll
A llvm/test/CodeGen/AMDGPU/amdgpu-reloc-const.ll
Log Message:
-----------
[AMDGPU] Add Relocation Constant Support
Summary:
This change adds amdgcn.reloc.constant intrinsic to the amdgpu backend, which will compile into a relocation entry in the resulting elf.
The intrinsics takes a MetadataNode (String) as its only argument, which specifies the symbol name of the relocation entry.
`SelectionDAGBuilder::getValueImpl` is changed to allow metadata operands passed through to ISel.
Author: csyonghe <yonghe at google.com>
Reviewers: tpr, nhaehnle
Reviewed By: nhaehnle
Subscribers: arsenm, kzhuravl, jvesely, wdng, yaxunl, dstuttard, t-tye, hiraditya, kerbowa, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D76440
More information about the All-commits
mailing list