[PATCH] D115961: [funcattrs] Fix incorrect readnone/readonly inference on captured arguments

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 17 11:48:27 PST 2021


reames added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/FunctionAttrs.cpp:999
+
+        // Infer the access attributes given the new nocapture one
+        SmallPtrSet<Argument *, 8> Self;
----------------
Note: This bit is arguably not part of the bug fix, but it's unreachable without it, and without it the bugfix causes massive test diffs.  


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115961



More information about the llvm-commits mailing list