Duncan Sands 92abc62399 Fix PR3401: when using large integers, the type
returned by getShiftAmountTy may be too small
to hold shift values (it is an i8 on x86-32).
Before and during type legalization, use a large
but legal type for shift amounts: getPointerTy;
afterwards use getShiftAmountTy, fixing up any
shift amounts with a big type during operation
legalization.  Thanks to Dan for writing the
original patch (which I shamelessly pillaged).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63482 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-31 15:50:11 +00:00
..
2009-01-16 20:26:53 +00:00
2008-12-11 11:44:49 +00:00
2008-10-13 10:28:12 +00:00
2009-01-15 20:18:42 +00:00
2008-10-06 20:33:02 +00:00
2008-09-25 21:00:45 +00:00
2009-01-15 20:18:42 +00:00
2008-07-05 22:41:37 +00:00
2008-06-24 17:46:48 +00:00
2009-01-05 16:28:14 +00:00
2009-01-31 07:34:19 +00:00
2008-12-02 18:33:11 +00:00