[libc-commits] [PATCH] D152226: [FunctionAttrs] Propagate some func/arg/ret attributes from caller to callsite (WIP)

Noah Goldstein via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jun 14 02:11:33 PDT 2023


goldstein.w.n added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/FunctionAttrs.cpp:1764
+      if (ICA.processFunction(F))
+        Changed.insert(F);
+  }
----------------
Do we actually need to add the function to the changed list here? We aren't modifying the functions attributes, only callsites within the function.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152226



More information about the libc-commits mailing list