[PATCH] D31161: [AMDGPU] New Waitcnt Insertion Pass

Tony Tye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 5 19:57:47 PDT 2017


t-tye added inline comments.


================
Comment at: lib/Target/AMDGPU/SIInsertWaitcnts.cpp:423
+  }
+  // TODO: Handle TTMP
+  // else if (TRI->isTTMP(MRIA, Reg.getReg())) ...
----------------
Could M0, EXEC, etc. also potentially be a source or dest for SMEM and VMEM load/store?

Perhaps add an assert to ensure they never happen.


https://reviews.llvm.org/D31161





More information about the llvm-commits mailing list