mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Testcase for bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1875 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f5c04ef6d3
commit
3df17fe7a8
16
test/Other/2002-03-14-ValueToLarge.ll
Normal file
16
test/Other/2002-03-14-ValueToLarge.ll
Normal file
@ -0,0 +1,16 @@
|
||||
; 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
|
Loading…
Reference in New Issue
Block a user