[llvm] r257089 - Remove junk accidentally commited with r257087
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 7 11:30:13 PST 2016
Author: majnemer
Date: Thu Jan 7 13:30:13 2016
New Revision: 257089
URL: http://llvm.org/viewvc/llvm-project?rev=257089&view=rev
Log:
Remove junk accidentally commited with r257087
Modified:
llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SCCP.cpp?rev=257089&r1=257088&r2=257089&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SCCP.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SCCP.cpp Thu Jan 7 13:30:13 2016
@@ -1047,7 +1047,7 @@ void SCCPSolver::visitStoreInst(StoreIns
// 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));
More information about the llvm-commits
mailing list