[PATCH] D15736: AMDGPU/SI: Select non-uniform constant addrspace loads to flat instructions for HSA

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 23 15:19:49 PST 2015


tstellarAMD added inline comments.

================
Comment at: lib/Target/AMDGPU/CIInstructions.td:265
@@ -266,1 +264,3 @@
+def : FlatLoadPat <FLAT_LOAD_DWORDX2, flat_load, v2i32>;
+def : FlatLoadPat <FLAT_LOAD_DWORDX4, flat_load, v4i32>;
 
----------------
tstellarAMD wrote:
> Those patterns are redundant now.  I will remove them.
I looked at this more closely and they actually aren't redundant, because they match flat address space on Kaveri without HSA.


http://reviews.llvm.org/D15736





More information about the llvm-commits mailing list