[PATCH] D25829: AMDGPU: Fix SILoadStoreOptimizer when writes cannot be merged due register dependencies

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 12:56:19 PDT 2016


tstellarAMD added inline comments.


================
Comment at: lib/Target/AMDGPU/SILoadStoreOptimizer.cpp:259
+    //   w = DS_READ_B32 addr, idx0
+    //   DS_WRITE_B32 addr, f(w), idx1
+    // where the DS_READ_B32 ends up in InstsToMove and therefore prevents
----------------
What does f(w) mean in this comment?  Also, before this patch was this pass merging these two writes?


https://reviews.llvm.org/D25829





More information about the llvm-commits mailing list