Merging the linear scan register allocator in trunk. It currently passes most tests...
[oota-llvm.git] / test / Other / 2002-03-14-ValueToLarge.ll
1 ; Expression analysis had a problem where the following assertion would get
2 ; emitted:
3 ; Constants.cpp:114: failed assertion `isValueValidForType(Ty, V) &&
4 ;                                       "Value too large for type!"'
5 ;
6 ; Testcase distilled from the bzip2 SPECint benchmark.
7 ;
8 ; RUN: analyze -exprs %s
9
10 implementation
11
12 void "sortIt"(ubyte %X)
13 begin
14         %reg115 = shl ubyte %X, ubyte 8
15         ret void
16 end