summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SCCP.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-01-07 19:30:13 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-01-07 19:30:13 +0000
commitf3b99dd22eb4e7583c601c1ef175b372c57201c0 (patch)
treee3cba83a28af601496d4a52eda3182c93625ade0 /llvm/lib/Transforms/Scalar/SCCP.cpp
parent867bbc775fb4c3eb7dc2ec0e55f2c1eebcd3f87d (diff)
downloadbcm5719-llvm-f3b99dd22eb4e7583c601c1ef175b372c57201c0.tar.gz
bcm5719-llvm-f3b99dd22eb4e7583c601c1ef175b372c57201c0.zip
Remove junk accidentally commited with r257087
llvm-svn: 257089
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SCCP.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/SCCP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SCCP.cpp b/llvm/lib/Transforms/Scalar/SCCP.cpp
index c5e2e9f3f79..2778f311f49 100644
--- a/llvm/lib/Transforms/Scalar/SCCP.cpp
+++ b/llvm/lib/Transforms/Scalar/SCCP.cpp
@@ -1047,7 +1047,7 @@ void SCCPSolver::visitStoreInst(StoreInst &SI) {
// global, we can replace the load with the loaded constant value!
void SCCPSolver::visitLoadInst(LoadInst &I) {
// If this load is of a struct, just mark the result overdefined.
- if (I.getType()->isStructTy() || I.getType()->isMMXTy())
+ if (I.getType()->isStructTy())
return markAnythingOverdefined(&I);
LatticeVal PtrVal = getValueState(I.getOperand(0));
OpenPOWER on IntegriCloud