[llvm-commits] [llvm] r63482 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ test/CodeGen/X86/

sanjiv gupta sanjiv.gupta at microchip.com
Sat Jan 31 11:01:00 PST 2009


On Sat, 2009-01-31 at 15:50 +0000, Duncan Sands wrote:
> Author: baldrick
> Date: Sat Jan 31 09:50:11 2009
> New Revision: 63482
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=63482&view=rev
> Log:
> 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;

For PIC16 getPointerTy returns i16 which is illegal.

And probably this revision broke shift operations test cases in our
auto-testing framework. Looks like we have to do some additional work
here.

- Sanjiv





More information about the llvm-commits mailing list