forked from OSchip/llvm-project
parent
f14e76db43
commit
32f81a5f58
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; This testcase failed due to a bad assertion in SymbolTable.cpp, removed in the 1.20 revision
|
; This testcase failed due to a bad assertion in SymbolTable.cpp, removed in the 1.20 revision
|
||||||
; Basically the symbol table assumed that if there was an abstract type in the symbol table,
|
; Basically the symbol table assumed that if there was an abstract type in the symbol table,
|
||||||
; [in this case for the entry %foo of type void(opaque)* ], that there should have also been
|
; [in this case for the entry %foo of type void(opaque)* ], that there should have also been
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; This testcase used to fail due to a lack of this diff in Value.cpp:
|
; This testcase used to fail due to a lack of this diff in Value.cpp:
|
||||||
; diff -r1.16 Value.cpp
|
; diff -r1.16 Value.cpp
|
||||||
; 11c11
|
; 11c11
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
%Hosp = type { int, int, int, { \2 *, { int, int, int, { [4 x \3], \2, \5, \6,
|
%Hosp = type { int, int, int, { \2 *, { int, int, int, { [4 x \3], \2, \5, \6,
|
||||||
int, int } * } *, \2 * }, { \2 *, { int, int, int, { [4 x \3], \2, \5, \6, int,
|
int, int } * } *, \2 * }, { \2 *, { int, int, int, { [4 x \3], \2, \5, \6, int,
|
||||||
int } * } *, \2 * }, { \2 *, { int, int, int, { [4 x \3], \2, \5, \6, int, int
|
int } * } *, \2 * }, { \2 *, { int, int, int, { [4 x \3], \2, \5, \6, int, int
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; Method arguments were being checked for collisions at the global scope before
|
; Method arguments were being checked for collisions at the global scope before
|
||||||
; the method object was created by the parser. Because of this, false collisions
|
; the method object was created by the parser. Because of this, false collisions
|
||||||
; could occur that would cause the following error message to be produced:
|
; could occur that would cause the following error message to be produced:
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; Another name collision problem. Here the problem was that if a forward
|
; Another name collision problem. Here the problem was that if a forward
|
||||||
; declaration for a method was found, that this would cause spurious conflicts
|
; declaration for a method was found, that this would cause spurious conflicts
|
||||||
; to be detected between locals and globals.
|
; to be detected between locals and globals.
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
type { { \2 *, \4 ** },
|
type { { \2 *, \4 ** },
|
||||||
{ \2 *, \4 ** }
|
{ \2 *, \4 ** }
|
||||||
}
|
}
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
%t = type { { \2*, \2 },
|
%t = type { { \2*, \2 },
|
||||||
{ \2*, \2 }
|
{ \2*, \2 }
|
||||||
}
|
}
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
%Hosp = type {
|
%Hosp = type {
|
||||||
{ \2 *, { \2, \4 } * },
|
{ \2 *, { \2, \4 } * },
|
||||||
{ \2 *, { \2, \4 } * }
|
{ \2 *, { \2, \4 } * }
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; It looks like the assembler is not forward resolving the function declaraion
|
; It looks like the assembler is not forward resolving the function declaraion
|
||||||
; correctly.
|
; correctly.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; This should parse correctly without an 'implementation', but our current YACC
|
; This should parse correctly without an 'implementation', but our current YACC
|
||||||
; based parser doesn't have the required 2 token lookahead...
|
; based parser doesn't have the required 2 token lookahead...
|
||||||
; XFAIL: *
|
; XFAIL: *
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
%.LC0 = internal global [12 x sbyte] c"hello world\00"
|
%.LC0 = internal global [12 x sbyte] c"hello world\00"
|
||||||
|
|
||||||
implementation ; Functions:
|
implementation ; Functions:
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
%.LC0 = internal global [12 x sbyte] c"hello world\00" ; <[12 x sbyte]*> [#uses=1]
|
%.LC0 = internal global [12 x sbyte] c"hello world\00" ; <[12 x sbyte]*> [#uses=1]
|
||||||
|
|
||||||
implementation ; Functions:
|
implementation ; Functions:
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; Dominance relationships is not calculated correctly for unreachable blocks,
|
; Dominance relationships is not calculated correctly for unreachable blocks,
|
||||||
; which causes the verifier to barf on this input.
|
; which causes the verifier to barf on this input.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; This testcase comes from the following really simple c file:
|
; This testcase comes from the following really simple c file:
|
||||||
;
|
;
|
||||||
; int foo[30000];
|
; int foo[30000];
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
declare int "ArrayRef"([100 x int] * %Array)
|
declare int "ArrayRef"([100 x int] * %Array)
|
||||||
|
|
||||||
int "ArrayRef"([100 x int] * %Array) {
|
int "ArrayRef"([100 x int] * %Array) {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%X = external global %T*
|
%X = external global %T*
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
|
|
||||||
%spell_order = global [4 x ubyte] c"\FF\00\F7\00"
|
%spell_order = global [4 x ubyte] c"\FF\00\F7\00"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
|
|
||||||
%X = external global int
|
%X = external global int
|
||||||
%X = constant int 7
|
%X = constant int 7
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; There should be absolutely no problem with this testcase.
|
; There should be absolutely no problem with this testcase.
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void %test(int %X) {
|
void %test(int %X) {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; Test that shift instructions can be used in constant expressions.
|
; Test that shift instructions can be used in constant expressions.
|
||||||
|
|
||||||
global int shl (int 7, ubyte 19)
|
global int shl (int 7, ubyte 19)
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; The old C front-end never generated empty structures, now the new one
|
; The old C front-end never generated empty structures, now the new one
|
||||||
; can. For some reason we never handled them in the parser. Wierd.
|
; can. For some reason we never handled them in the parser. Wierd.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
|
|
||||||
%MidFnTy = type void (void (%MidFnTy* )*)
|
%MidFnTy = type void (void (%MidFnTy* )*)
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
|
|
||||||
%T = type opaque
|
%T = type opaque
|
||||||
%X = global %T* null
|
%X = global %T* null
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; make sure that 'float' values have their value properly truncated.
|
; make sure that 'float' values have their value properly truncated.
|
||||||
|
|
||||||
global float 0x1
|
global float 0x1
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
; %inc2 uses it's own value, but that's ok, as it's unreachable!
|
; %inc2 uses it's own value, but that's ok, as it's unreachable!
|
||||||
|
|
||||||
void %test() {
|
void %test() {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
; RUN: llvm-as < %s -o /dev/null -f
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int %test(bool %C, int %V1, int %V2) {
|
int %test(bool %C, int %V1, int %V2) {
|
||||||
|
|
Loading…
Reference in New Issue