Skip to content

Commit

Permalink
Revert "[SCCP] Throw away dead code. NFC."
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dcci committed May 4, 2016
1 parent 9c9f877 commit 252a6d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Transforms/Scalar/SCCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,9 @@ class SCCPSolver : public InstVisitor<SCCPSolver> {
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);
}
Expand Down

0 comments on commit 252a6d1

Please sign in to comment.