llvm-6502/lib
Chris Lattner c812e5d6b8 Turn sdiv into udiv if both operands have a clear sign bit. This occurs
a few times in crafty:

OLD:    %tmp.36 = div int %tmp.35, 8            ; <int> [#uses=1]
NEW:    %tmp.36 = div uint %tmp.35, 8           ; <uint> [#uses=0]
OLD:    %tmp.19 = div int %tmp.18, 8            ; <int> [#uses=1]
NEW:    %tmp.19 = div uint %tmp.18, 8           ; <uint> [#uses=0]
OLD:    %tmp.117 = div int %tmp.116, 8          ; <int> [#uses=1]
NEW:    %tmp.117 = div uint %tmp.116, 8         ; <uint> [#uses=0]
OLD:    %tmp.92 = div int %tmp.91, 8            ; <int> [#uses=1]
NEW:    %tmp.92 = div uint %tmp.91, 8           ; <uint> [#uses=0]

Which all turn into shrs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24190 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-05 07:40:31 +00:00
..
Analysis Fix a problem that Nate noticed with LSR: 2005-10-30 06:24:33 +00:00
Archive DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now 2005-10-24 02:26:13 +00:00
AsmParser When a function takes a variable number of pointer arguments, with a zero 2005-10-23 04:37:20 +00:00
Bytecode DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now 2005-10-24 02:26:13 +00:00
CodeGen Fix logic bug in finding retry slot in tally. 2005-11-05 00:01:25 +00:00
Debugger When a function takes a variable number of pointer arguments, with a zero 2005-10-23 04:37:20 +00:00
ExecutionEngine Fix a nasty bug that was causing miscompilation of global variables 2005-10-23 23:54:56 +00:00
Linker DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now 2005-10-24 02:26:13 +00:00
Support DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now 2005-10-24 02:26:13 +00:00
System DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now 2005-10-24 02:26:13 +00:00
Target oops, forgot to load GP for indirect calls, though the old code now commented 2005-11-04 17:55:53 +00:00
Transforms Turn sdiv into udiv if both operands have a clear sign bit. This occurs 2005-11-05 07:40:31 +00:00
VMCore Fix an iterator invalidation problem in code used by the -strip pass 2005-10-31 18:42:37 +00:00
Makefile Add the Linker library 2004-11-14 21:54:41 +00:00