mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
4b1351910e
llvm-svn: 1875
17 lines
403 B
LLVM
17 lines
403 B
LLVM
; Expression analysis had a problem where the following assertion would get
|
|
; emitted:
|
|
; Constants.cpp:114: failed assertion `isValueValidForType(Ty, V) &&
|
|
; "Value too large for type!"'
|
|
;
|
|
; Testcase distilled from the bzip2 SPECint benchmark.
|
|
;
|
|
; RUN: analyze -exprs %s
|
|
|
|
implementation
|
|
|
|
void "sortIt"(ubyte %X)
|
|
begin
|
|
%reg115 = shl ubyte %X, ubyte 8
|
|
ret void
|
|
end
|