summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-01-27 02:17:49 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-01-27 02:17:49 +0000
commitb22828f2fbf307269fe3a927ff69fb9151e07408 (patch)
tree8c5b3daf1f4f926adf1ffc12d42510c2b468089a /llvm/lib/Transforms/Utils/SimplifyCFG.cpp
parent6fa38f5ba5bc16c4ef7b902809d492ab422a74dd (diff)
downloadbcm5719-llvm-b22828f2fbf307269fe3a927ff69fb9151e07408.tar.gz
bcm5719-llvm-b22828f2fbf307269fe3a927ff69fb9151e07408.zip
AMDGPU: Fix default device handling
When no device name is specified, default to kaveri for HSA since SI is not supported and it woud fail. Default to "tahiti" instead of "SI" since these are effectively the same, and tahiti is an actual device. Move default device handling to the TargetMachine rather than the AMDGPUSubtarget. The module ISA version is computed from the device name provided with the target machine, so the attributes printed by the AsmPrinter were inconsistent with those computed in the subtarget. Also remove DevName field from subtarget since it's redundant with getCPU() in the superclass. llvm-svn: 258901
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud