[PATCH] D104997: [WIP][AMDGPU] Deduce attributes with the Attributor

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 28 12:56:19 PDT 2021


jdoerfert added a comment.

@kuter Are there other tests we haven't ported to this yet? If there are things we don't do yet, just add FIXMEs for now.



================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp:184-185
+      // Propagate implicit attributes from called function.
+      for (StringRef AttrName : ImplicitAttrNames)
+        if (CalleeAttributes.count(AttrName))
+          AddAttribute(AttrName);
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104997



More information about the llvm-commits mailing list