[PATCH] D128158: [AMDGPU] Add amdgcn_sched_group_barrier builtin

Mikael Holmén via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 29 22:13:20 PDT 2022


uabelho added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp:314
+
+bool SchedGroup::isFull() const {
+  return MaxSize && Collection.size() >= *MaxSize;
----------------
Compiling with gcc, I get a warning that this function is unused.
I'm wondering, there seems to be both a const and a non-const version of the isFull method now, but they are identical? Perhaps the non-const version could be removed?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128158/new/

https://reviews.llvm.org/D128158



More information about the cfe-commits mailing list