[llvm-commits] [llvm] r126637 - /llvm/trunk/lib/Analysis/ValueTracking.cpp
Nick Lewycky
nicholas at mxc.ca
Mon Feb 28 01:20:10 PST 2011
Duncan Sands wrote:
> Hi Nick, -10 srem -10 is zero, so has a sign bit of zero regardless of the
> fact that -10 has a sign bit of one.
Hrm, the LangRef states that the srem instruction returns a result that
"has the same sign as the dividend, op1". That's not confusing at all.
I'm backing out r126637 and the relevant part of r126635.
Nick
>
> Ciao, Duncan.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list