[llvm-branch-commits] [llvm-branch] r136176 - /llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp
Bill Wendling
isanbard at gmail.com
Tue Jul 26 16:10:14 PDT 2011
Author: void
Date: Tue Jul 26 18:10:14 2011
New Revision: 136176
URL: http://llvm.org/viewvc/llvm-project?rev=136176&view=rev
Log:
Mark the LandingPadInst as overdefining anything. We know it returns a value and
that that value is not constant.
Modified:
llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp
Modified: llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp?rev=136176&r1=136175&r2=136176&view=diff
==============================================================================
--- llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp (original)
+++ llvm/branches/exception-handling-rewrite/lib/Transforms/Scalar/SCCP.cpp Tue Jul 26 18:10:14 2011
@@ -515,6 +515,7 @@
void visitShuffleVectorInst(ShuffleVectorInst &I);
void visitExtractValueInst(ExtractValueInst &EVI);
void visitInsertValueInst(InsertValueInst &IVI);
+ void visitLandingPadInst(LandingPadInst &I) { markAnythingOverdefined(&I); }
// Instructions that cannot be folded away.
void visitStoreInst (StoreInst &I);
More information about the llvm-branch-commits
mailing list