[PATCH] D43219: [PartialInlining] Fix Crash from holding a reference to a destructed ORE

Adam Nemet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 20:06:15 PDT 2018


anemet added a comment.

While it's preferred to use ORE as an analysis pass, sometimes that's hard (e.g because it's a function pass, or simply because it's hard to thread the ORE instance through the many layers).  In these cases it's fine to construct one inline.  When remarks are requested this will amount to repopulating BFI for the function as the ORE instance is created.


Repository:
  rL LLVM

https://reviews.llvm.org/D43219





More information about the llvm-commits mailing list