[PATCH] D47511: [AMDGPU] Construct memory clauses before RA

Valery Pykhtin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 30 23:50:39 PDT 2018


vpykhtin added inline comments.


================
Comment at: lib/Target/AMDGPU/SIFormMemoryClauses.cpp:242
+  RPT.advanceToNext();
+  GCNRegPressure MaxPressure = RPT.moveMaxPressure();
+  unsigned Occupancy = MaxPressure.getOccupancy(*ST);
----------------
moveMaxPressure actually clears accumulated MaxPressure - is this intended?


https://reviews.llvm.org/D47511





More information about the llvm-commits mailing list