Remove junk accidentally commited with r257087
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 7 Jan 2016 19:30:13 +0000 (19:30 +0000)
committerDavid 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

index c5e2e9f3f79921981b3dd3b37fa8a17f825e03a0..2778f311f49293625ad59b71cbe3e35b1b7bff54 100644 (file)
@@ -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));