[llvm-commits] [llvm] r53534 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2008-07-13-DivZero.ll test/Transforms/InstCombine/udiv_select_to_select_shift.ll
Chris Lattner
clattner at apple.com
Mon Jul 14 11:09:17 PDT 2008
On Jul 14, 2008, at 12:32 AM, Duncan Sands wrote:
> Hi Chris,
>
>> + // If we found a call to a function, we can't assume it will
>> return, so
>> + // information from below it cannot be propagated above it.
>> + if (isa<CallInst>(BBI) && !isa<IntrinsicInst>(BBI))
>> + break;
>
> I guess you only really need to exit here if SI is zero.
What do you mean?
-Chris
More information about the llvm-commits
mailing list