[PATCH] D106147: [PredicateInfo] Use Intrinsic::getDeclaration now that it handles unnamed types.

Jeroen Dobbelaere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 19 00:38:15 PDT 2021


jeroen.dobbelaere updated this revision to Diff 359682.
jeroen.dobbelaere added a comment.
Herald added a subscriber: dexonsmith.

Only track newly introduced declarations for removal. Do not use the 'use count' to decide this.


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

https://reviews.llvm.org/D106147

Files:
  llvm/include/llvm/IR/Module.h
  llvm/lib/IR/Module.cpp
  llvm/lib/Transforms/Utils/PredicateInfo.cpp
  llvm/test/Other/debugcounter-predicateinfo.ll
  llvm/test/Transforms/Util/PredicateInfo/condprop.ll
  llvm/test/Transforms/Util/PredicateInfo/diamond.ll
  llvm/test/Transforms/Util/PredicateInfo/edge.ll
  llvm/test/Transforms/Util/PredicateInfo/testandor.ll
  llvm/test/Transforms/Util/PredicateInfo/unnamed-types.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106147.359682.patch
Type: text/x-patch
Size: 39118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210719/99cc5da0/attachment-0001.bin>


More information about the llvm-commits mailing list