[PATCH] D152081: [Attributor] Add lightweight version for attribute deduction only. (WIP)

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 7 12:36:30 PDT 2023


fhahn marked an inline comment as done.
fhahn added inline comments.


================
Comment at: llvm/lib/Passes/PassRegistry.def:204
 CGSCC_PASS("openmp-opt-cgscc", OpenMPOptCGSCCPass())
 CGSCC_PASS("no-op-cgscc", NoOpCGSCCPass())
 #undef CGSCC_PASS
----------------
jdoerfert wrote:
> Can you please add it here too
Done, also added it to one of the tests.


================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:3793
+  });
+  AC.Allowed = &Allowed;
+
----------------
jdoerfert wrote:
> AC.UseLiveness = false;
Done, thanks!


================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:3931
+      AM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager();
+  AnalysisGetter AG(FAM);
+
----------------
jdoerfert wrote:
> 
Done thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152081



More information about the llvm-commits mailing list