Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.452 -> 1.453 --- Log message: Don't crash on packed logical ops --- Diffs of the changes: (+6 -3) InstructionCombining.cpp | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.452 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.453 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.452 Thu Mar 23 12:10:42 2006 +++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Sat Mar 25 15:58:26 2006 @@ -2380,7 +2380,8 @@ // See if we can simplify any instructions used by the instruction whose sole // purpose is to compute bits we don't care about. uint64_t KnownZero, KnownOne; - if (SimplifyDemandedBits(&I, I.getType()->getIntegralTypeMask(), + if (!isa<PackedType>(I.getType()) && + SimplifyDemandedBits(&I, I.getType()->getIntegralTypeMask(), KnownZero, KnownOne)) return &I; @@ -2624,7 +2625,8 @@ // See if we can simplify any instructions used by the instruction whose sole // purpose is to compute bits we don't care about. uint64_t KnownZero, KnownOne; - if (SimplifyDemandedBits(&I, I.getType()->getIntegralTypeMask(), + if (!isa<PackedType>(I.getType()) && + SimplifyDemandedBits(&I, I.getType()->getIntegralTypeMask(), KnownZero, KnownOne)) return &I; @@ -2861,7 +2863,8 @@ // See if we can simplify any instructions used by the instruction whose sole // purpose is to compute bits we don't care about. uint64_t KnownZero, KnownOne; - if (SimplifyDemandedBits(&I, I.getType()->getIntegralTypeMask(), + if (!isa<PackedType>(I.getType()) && + SimplifyDemandedBits(&I, I.getType()->getIntegralTypeMask(), KnownZero, KnownOne)) return &I; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits