summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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