[PATCH] D31124: AMDGPU/SI: Add lane tracking to SI Scheduler

Valery Pykhtin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 03:22:01 PDT 2017


vpykhtin added inline comments.


================
Comment at: lib/Target/AMDGPU/SIMachineScheduler.cpp:1870
+  SmallDenseMap<unsigned, LaneBitmask> Map;
+  SmallPtrSet<unsigned, 8> Set;
+  unsigned VGPRSetID = DAG->getVGPRSetID();
----------------
SmallPtrSet is designed for pointer types but used for unsigned type, gcc complains, try consider SmallDenseSet. 


Repository:
  rL LLVM

https://reviews.llvm.org/D31124





More information about the llvm-commits mailing list