[PATCH] D15543: Use Flat For 64-bit Global Buffer

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 17 13:36:03 PST 2015


tstellarAMD added inline comments.

================
Comment at: lib/Target/AMDGPU/AMDGPUSubtarget.cpp:81-82
@@ -80,1 +80,4 @@
 
+  if (getGeneration() == AMDGPUSubtarget::SEA_ISLANDS && isAmdHsaOS())
+    FlatForGlobal = true;
+
----------------
The test case you added fails now, because the generation has not been initialized yet.  I think we can just check for AmdHsaOS() here.


http://reviews.llvm.org/D15543





More information about the llvm-commits mailing list