[PATCH] D119216: [AMDGPU] replace hostcall module flag with function attribute

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 8 06:40:49 PST 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp:521
+
+      while (!WorkList.empty()) {
+        auto UseInfo = WorkList.back();
----------------
Can you use checkForAllUses instead of creating your own worklist?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119216



More information about the llvm-commits mailing list