aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-13 06:52:41 +0000
committerChris Lattner <sabre@nondot.org>2001-10-13 06:52:41 +0000
commit93d39d23b4775e756aec453d3a92ca334f91424c (patch)
tree044e0ed2e4898fed07f5f37142093c1675275674
parent5a0d4179df79280d37b1cf9fdc8ba8b90c33ee13 (diff)
Support the invoke instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@765 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/SCCP.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp
index b92b54fd64..f91b786ce1 100644
--- a/lib/Transforms/Scalar/SCCP.cpp
+++ b/lib/Transforms/Scalar/SCCP.cpp
@@ -370,8 +370,9 @@ void SCCP::UpdateInstruction(Instruction *I) {
case Instruction::Alloca:
case Instruction::Load:
case Instruction::Store:
- // TODO: getfield/putfield?
+ // TODO: getfield
case Instruction::Call:
+ case Instruction::Invoke:
markOverdefined(I); // Memory and call's are all overdefined
return;