[all-commits] [llvm/llvm-project] 29693f: Revert "[BFI] Use CallbackVH to notify BFI about d...

Krasimir Georgiev via All-commits all-commits at lists.llvm.org
Thu Mar 5 05:42:20 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 29693fc12559c227cacc6f7eb69b30c86616670c
      https://github.com/llvm/llvm-project/commit/29693fc12559c227cacc6f7eb69b30c86616670c
  Author: Krasimir Georgiev <krasimir at google.com>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
    M llvm/include/llvm/IR/ValueHandle.h

  Log Message:
  -----------
  Revert "[BFI] Use CallbackVH to notify BFI about deletion of basic blocks"

This reverts commit 8975aa6ea8172963d6532caa8ed2a6f6e0074a02.

Causes a compilation warning:
llvm-project/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h:1037:43: warning: 'llvm::BlockFrequencyInfoImpl<llvm::BasicBlock>::BFICallbackVH' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class BlockFrequencyInfoImpl<BasicBlock>::BFICallbackVH : public CallbackVH {
                                          ^
1 warning generated.




More information about the All-commits mailing list