[PATCH] D30147: AMDGPU/SI: Add new SISched policy to reduce register usage

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


vpykhtin added inline comments.


================
Comment at: lib/Target/AMDGPU/SIMachineScheduler.cpp:2140
+  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/D30147





More information about the llvm-commits mailing list