[PATCH] D57416: [AMDGPU] Support emitting GOT relocations for function calls
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 31 19:51:21 PST 2019
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:3496
- } else {
- MIB = BuildMI(*BB, MI, DL, TII->get(AMDGPU::SI_TCRETURN))
- .add(MI.getOperand(0))
----------------
What happened to TCRETURN? I'm pretty sure we need this
================
Comment at: test/CodeGen/AMDGPU/byval-frame-setup.ll:17
; GCN-NOT: s32
-define void @void_func_byval_struct(%struct.ByValStruct addrspace(5)* byval noalias nocapture align 4 %arg0, %struct.ByValStruct addrspace(5)* byval noalias nocapture align 4 %arg1) #1 {
+define hidden void @void_func_byval_struct(%struct.ByValStruct addrspace(5)* byval noalias nocapture align 4 %arg0, %struct.ByValStruct addrspace(5)* byval noalias nocapture align 4 %arg1) #1 {
entry:
----------------
Can you commit the test changes adding hidden first?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57416/new/
https://reviews.llvm.org/D57416
More information about the llvm-commits
mailing list