Author: Kazu Hirata Date: 2020-12-16T21:57:48-08:00 New Revision: 4ad5b634f6834331c526d0a06ade34aa35670d52
URL: https://github.com/llvm/llvm-project/commit/4ad5b634f6834331c526d0a06ade34aa35670d52 DIFF: https://github.com/llvm/llvm-project/commit/4ad5b634f6834331c526d0a06ade34aa35670d52.diff LOG: [GCN] Remove unused function handleNewInstruction (NFC) The function was added without a user on Dec 22, 2016 in commit 7e274e02ae088923e67cd13b99d52644532ad1cc. It seems to be unused since then. Added: Modified: llvm/lib/Transforms/Scalar/NewGVN.cpp Removed: ################################################################################ diff --git a/llvm/lib/Transforms/Scalar/NewGVN.cpp b/llvm/lib/Transforms/Scalar/NewGVN.cpp index 85b59838b486..958014fcb1ed 100644 --- a/llvm/lib/Transforms/Scalar/NewGVN.cpp +++ b/llvm/lib/Transforms/Scalar/NewGVN.cpp @@ -801,9 +801,6 @@ class NewGVN { Value *findPHIOfOpsLeader(const Expression *, const Instruction *, const BasicBlock *) const; - // New instruction creation. - void handleNewInstruction(Instruction *) {} - // Various instruction touch utilities template <typename Map, typename KeyType, typename Func> void for_each_found(Map &, const KeyType &, Func); _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits