Chris Lattner 6b03a0cba1 This patch does two things. First, it canonicalizes 'X >= C' -> 'X > C-1'
(likewise for <= >=u >=u).

Second, it implements a special case hack to turn 'X gtu SINTMAX' -> 'X lt 0'

On powerpc, for example, this changes this:

        lis r2, 32767
        ori r2, r2, 65535
        cmplw cr0, r3, r2
        bgt .LBB_test_2

into:

        cmpwi cr0, r3, 0
        blt .LBB_test_2

llvm-svn: 21142
2005-04-07 18:14:58 +00:00
..
2004-09-01 22:55:40 +00:00
2004-11-18 04:31:10 +00:00
2004-09-01 22:55:40 +00:00
2004-09-01 22:55:40 +00:00
2005-01-23 22:55:45 +00:00
2005-01-20 17:32:28 +00:00