1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-02-17 07:34:35 +00:00
Wojciech Matyjewicz 7b5b76835a Fix PR2002. Suppose n is the initial value for the induction
variable (with step 1) and m is its final value. Then, the correct trip 
count is SMAX(m,n)-n. Previously, we used SMAX(0,m-n), but m-n may 
overflow and can't in general be interpreted as signed.

Patch by Nick Lewycky.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47007 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-12 15:09:36 +00:00
..
2008-02-12 07:46:33 +00:00
2008-02-12 07:22:46 +00:00
2007-09-10 18:12:52 +00:00
2008-02-08 22:49:13 +00:00