projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ad9881
)
Remove junk accidentally commited with r257087
author
David Majnemer
<david.majnemer@gmail.com>
Thu, 7 Jan 2016 19:30:13 +0000
(19:30 +0000)
committer
David Majnemer
<david.majnemer@gmail.com>
Thu, 7 Jan 2016 19:30:13 +0000
(19:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257089
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/SCCP.cpp
b/lib/Transforms/Scalar/SCCP.cpp
index c5e2e9f3f79921981b3dd3b37fa8a17f825e03a0..2778f311f49293625ad59b71cbe3e35b1b7bff54 100644
(file)
--- a/
lib/Transforms/Scalar/SCCP.cpp
+++ b/
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));