[llvm] r268570 - Revert "[SCCP] Throw away dead code. NFC."
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Wed May 4 16:27:13 PDT 2016
Author: davide
Date: Wed May 4 18:27:13 2016
New Revision: 268570
URL: http://llvm.org/viewvc/llvm-project?rev=268570&view=rev
Log:
Revert "[SCCP] Throw away dead code. NFC."
This reverts commit r268568, as it broke the bots.
Modified:
llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SCCP.cpp?rev=268570&r1=268569&r2=268570&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SCCP.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SCCP.cpp Wed May 4 18:27:13 2016
@@ -500,6 +500,9 @@ private:
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);
}
More information about the llvm-commits
mailing list