[PATCH] D119087: [AMDGPU] [NFC] refactor the AMDGPU attributor

Changpeng Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 8 15:28:50 PST 2022


cfang added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp:400
 
-    // If we found that we need amdgpu-queue-ptr, nothing else to do.
+    NeedsQueuePtr |= checkForQueuePtr(A);
     if (NeedsQueuePtr) {
----------------
I don't think we need to checkForQueuePtr when NeedsQueuePtr is 
true. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119087



More information about the llvm-commits mailing list