[PATCH] D108140: [Attributor][FIX] Do not treat byval args as local memory (for now)

Mikhail Lychkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 17 00:17:43 PDT 2021


mlychkov added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/AttributorAttributes.cpp:7688
+      // would also allow us to mark functions only accessing byval arguments as
+      // readnone again, atguably their acceses have no effect outside of the
+      // function, like accesses to allocas.
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108140



More information about the llvm-commits mailing list