summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-08-21 16:13:01 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-08-21 16:13:01 +0000
commit7dd9d58c66d5f5b574385eb2f2c4c9b8e4d41c98 (patch)
tree40bb4879668b4a4b5bcd536d243229dc39207a68 /clang/lib/Frontend/CompilerInvocation.cpp
parent5a83a1fd13a36ee4589b9e922c285f501e0dff90 (diff)
downloadbcm5719-llvm-7dd9d58c66d5f5b574385eb2f2c4c9b8e4d41c98.tar.gz
bcm5719-llvm-7dd9d58c66d5f5b574385eb2f2c4c9b8e4d41c98.zip
AMDGPU: Partially move target handling code from clang to TargetParser
A future change in clang necessitates access of this information from the driver, so move this into a common place. Try to mimic something resembling the API the other targets are using here. One thing I'm uncertain about is how to split amdgcn and r600 handling. Here I've mostly duplicated the functions for each, while keeping the same enums. I think this is a bit awkward for the features which don't matter for amdgcn. It's also a bit messy that this isn't a complete set of subtarget features. This is just the minimum set needed for the driver code. For example building the list of subtarget feature names is still in clang. llvm-svn: 340291
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud