[PATCH] D68958: [Attributor] Add "free"-based heap2stack deduction

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 15:41:09 PDT 2019


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


================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:4035
+    while (!Found && ++EIt != EEnd)
+      Found = EIt.getCurrentInst() == UniqueFree;
+    return Found;
----------------
I need to put this pattern into a helper method in the Iterator class.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68958





More information about the llvm-commits mailing list