Matt Arsenault
f9245b75c0
AMDGPU: Delete more dead code
...
Remove dead code from r600 intrinsic removal.
Remove unset members, rename StackSize to be less ambiguous.
llvm-svn: 276436
2016-07-22 17:01:25 +00:00
Matt Arsenault
59c0ffa22a
AMDGPU: Implement per-function subtargets
...
llvm-svn: 273940
2016-06-27 20:48:03 +00:00
Matt Arsenault
43e92fe306
AMDGPU: Cleanup subtarget handling.
...
Split AMDGPUSubtarget into amdgcn/r600 specific subclasses.
This removes most of the static_casting of the basic codegen
classes everywhere, and tries to restrict the features
visible on the wrong target.
llvm-svn: 273652
2016-06-24 06:30:11 +00:00
Rafael Espindola
8c34dd8257
Delete Reloc::Default.
...
Having an enum member named Default is quite confusing: Is it distinct
from the others?
This patch removes that member and instead uses Optional<Reloc> in
places where we have a user input that still hasn't been maped to the
default value, which is now clear has no be one of the remaining 3
options.
llvm-svn: 269988
2016-05-18 22:04:49 +00:00
Matt Arsenault
6b6a2c37bc
AMDGPU: R600 code splitting cleanup
...
Move a few functions only used by R600 to R600 specific code,
fix header macros to stop using R600, mark classes as final.
llvm-svn: 263204
2016-03-11 08:00:27 +00:00
Tom Stellard
5dde1d2eb3
AMDGPU: Fix ordering of CPU and FS parameters in TargetMachine constructors
...
Reviewers: arsenm
Subscribers: arsenm, llvm-commits
Differential Revision: http://reviews.llvm.org/D16863
llvm-svn: 259897
2016-02-05 18:29:17 +00:00
Tom Stellard
e135ffd554
AMDGPU/SI: Use .hsatext section instead of .text for HSA
...
Reviewers: arsenm, grosbach, rafael
Subscribers: arsenm, llvm-commits
Differential Revision: http://reviews.llvm.org/D12424
llvm-svn: 248619
2015-09-25 21:41:28 +00:00
Tom Stellard
45bb48ea19
R600 -> AMDGPU rename
...
llvm-svn: 239657
2015-06-13 03:28:10 +00:00
Tom Stellard
1be1aa84ec
Revert "AMDGPU: Add core backend files for R600/SI codegen v6"
...
This reverts commit 4ea70107c5e51230e9e60f0bf58a0f74aa4885ea.
llvm-svn: 160303
2012-07-16 18:19:53 +00:00
Tom Stellard
bcce80fa95
AMDGPU: Add core backend files for R600/SI codegen v6
...
llvm-svn: 160270
2012-07-16 14:17:08 +00:00