[PATCH] D15764: AMDGPU/SI: Consolidate FLAT patterns

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 23 20:51:26 PST 2015


arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.

Typo in message: useFlatForGloabl

LGTM


================
Comment at: lib/Target/AMDGPU/SIInstrInfo.td:147
@@ +146,3 @@
+  return isFlatLoad(dyn_cast<LoadSDNode>(N)) ||
+         isGlobalLoad(dyn_cast<LoadSDNode>(N));
+}]>;
----------------
Maybe needs a comment for why constant isn't included 


http://reviews.llvm.org/D15764





More information about the llvm-commits mailing list