summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/AMDGPUSubtarget.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-12-02 17:05:41 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-12-02 17:05:41 +0000
commit794c8c0f783eb95a43f0fca5d1d75b60eb4d237c (patch)
tree45ab54274b7f959ed5f79d8f853db44f943f12eb /llvm/lib/Target/R600/AMDGPUSubtarget.cpp
parent4082a6c2ec2c27414c65852bc175036f440f10f5 (diff)
downloadbcm5719-llvm-794c8c0f783eb95a43f0fca5d1d75b60eb4d237c.tar.gz
bcm5719-llvm-794c8c0f783eb95a43f0fca5d1d75b60eb4d237c.zip
R600/SI: Set the ATC bit on all resource descriptors for the HSA runtime
llvm-svn: 223125
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUSubtarget.cpp')
-rw-r--r--llvm/lib/Target/R600/AMDGPUSubtarget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUSubtarget.cpp b/llvm/lib/Target/R600/AMDGPUSubtarget.cpp
index 9d09a196370..0d693c8c9c6 100644
--- a/llvm/lib/Target/R600/AMDGPUSubtarget.cpp
+++ b/llvm/lib/Target/R600/AMDGPUSubtarget.cpp
@@ -84,7 +84,8 @@ AMDGPUSubtarget::AMDGPUSubtarget(StringRef TT, StringRef GPU, StringRef FS,
FrameLowering(TargetFrameLowering::StackGrowsUp,
64 * 16, // Maximum stack alignment (long16)
0),
- InstrItins(getInstrItineraryForCPU(GPU)) {
+ InstrItins(getInstrItineraryForCPU(GPU)),
+ TargetTriple(TT) {
if (getGeneration() <= AMDGPUSubtarget::NORTHERN_ISLANDS) {
InstrInfo.reset(new R600InstrInfo(*this));
TLInfo.reset(new R600TargetLowering(TM));
OpenPOWER on IntegriCloud