From 252a6d1f04e9702db6843ae32c31166bb52ff568 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Wed, 4 May 2016 23:27:13 +0000 Subject: [PATCH] Revert "[SCCP] Throw away dead code. NFC." This reverts commit r268568, as it broke the bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268570 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/SCCP.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp index c27329ab8283..f1f36b7425e5 100644 --- a/lib/Transforms/Scalar/SCCP.cpp +++ b/lib/Transforms/Scalar/SCCP.cpp @@ -500,6 +500,9 @@ class SCCPSolver : public InstVisitor { visitTerminatorInst(II); } void visitCallSite (CallSite CS); + void visitResumeInst (TerminatorInst &I) { /*returns void*/ } + void visitUnreachableInst(TerminatorInst &I) { /*returns void*/ } + void visitFenceInst (FenceInst &I) { /*returns void*/ } void visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { markAnythingOverdefined(&I); }