[llvm] r299618 - foo

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 04:57:54 PDT 2017


On Thu, Apr 6, 2017 at 7:57 AM, Aaron Ballman <aaron at aaronballman.com> wrote:
> On Thu, Apr 6, 2017 at 12:02 AM, Craig Topper via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> Author: ctopper
>> Date: Wed Apr  5 23:02:28 2017
>> New Revision: 299618
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=299618&view=rev
>> Log:
>> foo
>
> A more descriptive commit message would be appreciated. ;-)

And then I saw it got reverted -- thank you, all is well! :-)

~Aaron

>
> ~Aaron
>
>>
>> Modified:
>>     llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
>>
>> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=299618&r1=299617&r2=299618&view=diff
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Wed Apr  5 23:02:28 2017
>> @@ -791,6 +791,9 @@ bool TargetLowering::SimplifyDemandedBit
>>        // TODO: Should we check for other forms of sign-bit comparisons?
>>        // Examples: X <= -1, X >= 0
>>      }
>> +    if (getBooleanContents(Op.getOperand(0).getValueType()) ==
>> +            BooleanContent::ZeroOrOneBooleanContent && BitWidth > 1)
>> +      KnownZero.setBitsFrom(1);
>>      break;
>>    }
>>    case ISD::SHL:
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list