mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
The -exprs pass is no longer with LLVM. *sniff*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13825 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
; RUN: analyze -exprs %s
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
void "foo"(int %reg126)
|
|
||||||
begin
|
|
||||||
%cast1007 = cast int %reg126 to uint ; <uint> [#uses=1]
|
|
||||||
|
|
||||||
%reg119 = sub uint %cast1007, %cast1007 ; <uint> [#uses=1]
|
|
||||||
%cast121 = cast uint %reg119 to sbyte * ; <sbyte *> [#uses=1]
|
|
||||||
|
|
||||||
ret void
|
|
||||||
end
|
|
@@ -1,16 +0,0 @@
|
|||||||
; 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
|
|
Reference in New Issue
Block a user