Revision 0422fd6e42ef05cb8da9ebe3f302119cd03a6db3 authored by Elliot Saba on 30 August 2016, 05:05:29 UTC, committed by Tony Kelman on 31 August 2016, 13:55:33 UTC
* Small build system modifications to make ppc64le compileable * Make things more explicit for big-endian PPC64 (cherry picked from commit fc17a98bcf5441753fd6475a2f264ca1c9d68236)
1 parent fe30255
instcombine-llvm-3.3.patch
diff -u -r -N llvm-3.3.src/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp llvm-3.3/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
--- llvm-3.3.src/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 2013-01-02 06:36:10.000000000 -0500
+++ llvm-3.3/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 2014-06-18 23:11:49.000000000 -0400
@@ -754,7 +754,7 @@
ComputeMaskedBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth+1);
// If it's known zero, our sign bit is also zero.
if (LHSKnownZero.isNegative())
- KnownZero |= LHSKnownZero;
+ KnownZero.setBit(KnownZero.getBitWidth() - 1);
}
break;
case Instruction::URem: {
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...