[PATCH] D36943: Migrate WholeProgramDevirt to new Optimization Remark API

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 20 14:47:31 PDT 2017


lenary added a comment.

This patch segfaults in the following three tests:

  LLVM :: Transforms/WholeProgramDevirt/devirt-single-impl-check.ll
  LLVM :: Transforms/WholeProgramDevirt/devirt-single-impl.ll
  LLVM :: Transforms/WholeProgramDevirt/virtual-const-prop-check.ll

Unfortunately I'm right at the edge of my C++ abilities, and can't actually work out how to make this work. The segfault is in computeHotness which uses the BFI code. I think it could be because a unique_ptr is being dropped, maybe? Any help would be greatly appreciated.


https://reviews.llvm.org/D36943





More information about the llvm-commits mailing list