[PATCH] D103138: [AMDGPU] [IndirectCalls] Don't propagate attributes to address taken functions and their callees

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 26 12:04:34 PDT 2021


rampitec added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp:40
+#include <queue>
 #define DEBUG_TYPE "amdgpu-propagate-attributes"
 
----------------
Restore blank line here.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp:222
+    return Changed;
+  LLVM_DEBUG(dbgs() << "Removing attributes from " << F->getName() << "\n");
+  for (unsigned I = 0; I < NumAttr; ++I) {
----------------
\n in single quotes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103138



More information about the llvm-commits mailing list