Revision 1727c0f0bd69f3f0390ca0760967e6b3108bf774 authored by AndyGreenwell on 12 February 2016, 19:16:40 UTC, committed by Tony Kelman on 07 March 2016, 16:46:36 UTC
This change updates the gcc command line to include linking to libstdc++.so.6 (on Linux, may need modification for other OS's), and also adds instructions for setting JULIA_HOME such that the compiled example executes successfully. (cherry picked from commit aa672af94e52abf64d77b3ed860965902376b7bd) ref #15049
1 parent 9942234
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 ...