diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-08-01 19:54:18 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-08-01 19:54:18 +0000 |
commit | b62a4eb5241969e79ca244295611fb8e9a2f3426 (patch) | |
tree | b92db3327c2abd411a7e6af2a627bea1c0c9aa83 /llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | |
parent | 253be33610119a7145826e0b192f7d0b6cfe198b (diff) | |
download | bcm5719-llvm-b62a4eb5241969e79ca244295611fb8e9a2f3426.tar.gz bcm5719-llvm-b62a4eb5241969e79ca244295611fb8e9a2f3426.zip |
AMDGPU: Initial implementation of calls
Includes a hack to fix the type selected for
the GlobalAddress of the function, which will be
fixed by changing the default datalayout to use
generic pointers for 0.
llvm-svn: 309732
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp index 258b1737deb..9aa02346d42 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp @@ -20,6 +20,7 @@ #include "AMDGPUIntrinsicInfo.h" #include "AMDGPURegisterInfo.h" #include "AMDGPUSubtarget.h" +#include "AMDGPUTargetMachine.h" #include "R600MachineFunctionInfo.h" #include "SIInstrInfo.h" #include "SIMachineFunctionInfo.h" |