[llvm-commits] [llvm] r76232 - in /llvm/trunk: include/llvm/BinaryOperators.h include/llvm/Operator.h lib/Analysis/ScalarEvolution.cpp lib/Analysis/ValueTracking.cpp lib/Transforms/Scalar/InstructionCombining.cpp

Dan Gohman gohman at apple.com
Tue Jul 21 17:13:04 PDT 2009


On Jul 18, 2009, at 12:33 AM, Duncan Sands wrote:


> Hi Dan,
>
>
>> +  /// hasNoSignedOverflow - Test whether this operation is known  
>> to never
>>
>> +  /// undergo signed overflow.
>>
>
> suppose the operator is UDIV.  What then does hasNoSignedOverflow  
> mean?

The operator can't be UDiv. The classof functions only accept Add,  
Sub, and Mul.

Dan




More information about the llvm-commits mailing list