summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commitf0b68888af9e1205a9ce42a06aa242477ff41ce3 (patch)
tree9fbe51505bb19ac15f8e4f2e0592e4c22e0b592d /llvm/lib
parentcfc2f446a67133b67d42941f3fb88d66ee62e928 (diff)
downloadbcm5719-llvm-f0b68888af9e1205a9ce42a06aa242477ff41ce3.tar.gz
bcm5719-llvm-f0b68888af9e1205a9ce42a06aa242477ff41ce3.zip
Support the invoke instruction
llvm-svn: 765
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Scalar/SCCP.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SCCP.cpp b/llvm/lib/Transforms/Scalar/SCCP.cpp
index b92b54fd649..f91b786ce19 100644
--- a/llvm/lib/Transforms/Scalar/SCCP.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud