Chris Lattner 120347e8d1 Strength reduce SAR into SHR if there is no way sign bits could be shifted
in.  This tends to get cases like this:

  X = cast ubyte to int
  Y = shr int X, ...

Tested by: shift.ll:test24


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21775 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-08 17:34:56 +00:00
..
2005-04-21 23:48:37 +00:00
2005-05-07 20:15:59 +00:00
2005-05-06 06:46:58 +00:00
2005-04-21 23:48:37 +00:00