Changes in directory llvm/lib/Transforms/Scalar:
Reassociate.cpp updated: 1.60 -> 1.61 --- Log message: Fix Transforms/Reassociate/2006-04-27-ReassociateVector.ll --- Diffs of the changes: (+3 -2) Reassociate.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/lib/Transforms/Scalar/Reassociate.cpp diff -u llvm/lib/Transforms/Scalar/Reassociate.cpp:1.60 llvm/lib/Transforms/Scalar/Reassociate.cpp:1.61 --- llvm/lib/Transforms/Scalar/Reassociate.cpp:1.60 Tue Mar 14 10:04:29 2006 +++ llvm/lib/Transforms/Scalar/Reassociate.cpp Thu Apr 27 23:14:49 2006 @@ -23,10 +23,10 @@ #define DEBUG_TYPE "reassociate" #include "llvm/Transforms/Scalar.h" #include "llvm/Constants.h" +#include "llvm/DerivedTypes.h" #include "llvm/Function.h" #include "llvm/Instructions.h" #include "llvm/Pass.h" -#include "llvm/Type.h" #include "llvm/Assembly/Writer.h" #include "llvm/Support/CFG.h" #include "llvm/Support/Debug.h" @@ -754,7 +754,8 @@ } // Reject cases where it is pointless to do this. - if (!isa<BinaryOperator>(BI) || BI->getType()->isFloatingPoint()) + if (!isa<BinaryOperator>(BI) || BI->getType()->isFloatingPoint() || + isa<PackedType>(BI->getType())) continue; // Floating point ops are not associative. // If this is a subtract instruction which is not already in negate form, _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits