[PATCH] D51890: AMDGPU: Move isa version and EF_AMDGPU_MACH_* determination into TargetParser.
Konstantin Zhuravlyov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 10 15:01:08 PDT 2018
kzhuravl created this revision.
kzhuravl added reviewers: arsenm, rampitec, t-tye.
Herald added subscribers: tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely.
Also switch away from target features to CPU string when
determining isa version. This fixes an issue when we
output wrong isa version in the object code when features
of a particular CPU are altered (i.e. gfx902 w/o xnack
used to result in gfx900).
https://reviews.llvm.org/D51890
Files:
include/llvm/Support/TargetParser.h
lib/Support/TargetParser.cpp
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
lib/Target/AMDGPU/SIMemoryLegalizer.cpp
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
test/CodeGen/AMDGPU/gfx902-without-xnack.ll
test/MC/AMDGPU/hsa_isa_version_attrs.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51890.164754.patch
Type: text/x-patch
Size: 68883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180910/11f3fbd3/attachment-0001.bin>
More information about the llvm-commits
mailing list