mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Renamed as' =>
llvm-as', dis' =>
llvm-dis', link' =>
llvm-link'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
; Test that: extern int X[] and int X[] = { 1, 2, 3, 4 } are resolved
|
||||
; correctly.
|
||||
;
|
||||
; RUN: as < %s | opt -funcresolve | dis | not grep external
|
||||
; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep external
|
||||
|
||||
%X = external global [0 x int]
|
||||
%X = global [4 x int] [ int 1, int 2, int 3, int 4 ]
|
||||
|
@@ -1,7 +1,7 @@
|
||||
; Test that: extern int X[] and int X[] = { 1, 2, 3, 4 } are resolved
|
||||
; correctly. This doesn't have constantexprs
|
||||
;
|
||||
; RUN: as < %s | opt -funcresolve | dis | not grep external
|
||||
; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep external
|
||||
;
|
||||
|
||||
%X = external global [0 x int]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: as < %s | opt -funcresolve -funcresolve | dis | not grep declare
|
||||
; RUN: llvm-as < %s | opt -funcresolve -funcresolve | llvm-dis | not grep declare
|
||||
|
||||
declare void %qsortg(sbyte*, int, int)
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
;
|
||||
; RUN: as < %s | opt -funcresolve -instcombine | dis | not grep '\.\.\.'
|
||||
; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | not grep '\.\.\.'
|
||||
|
||||
declare int %foo(...)
|
||||
declare int %foo(int)
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
|
||||
; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
|
||||
|
||||
%__popcount_tab = external constant [0 x ubyte]
|
||||
%__popcount_tab = constant [4 x ubyte] c"\00\01\01\02"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: as < %s | opt -funcresolve -disable-output
|
||||
; RUN: llvm-as < %s | opt -funcresolve -disable-output
|
||||
|
||||
void %foo(int, int) {
|
||||
ret void
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: as < %s | opt -funcresolve | dis | not grep declare
|
||||
; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep declare
|
||||
|
||||
%Table = constant int(...)* %foo
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: as < %s | opt -funcresolve | dis | not grep declare
|
||||
; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep declare
|
||||
|
||||
declare void %test(...)
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: as < %s | opt -funcresolve | dis | not grep foo
|
||||
; RUN: llvm-as < %s | opt -funcresolve | llvm-dis | not grep foo
|
||||
|
||||
; The funcresolve pass was resolving the two foo's together in this test,
|
||||
; adding a ConstantPointerRef to one of them. Then because of this
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
|
||||
; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
|
||||
|
||||
declare int %foo(int *%X)
|
||||
declare int %foo(float *%X)
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
|
||||
; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | grep '\.\.\.' | not grep call
|
||||
|
||||
declare int %foo(...)
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
; This shows where the function is called with the prototype indicating a
|
||||
; return type exists, but it really doesn't.
|
||||
; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
|
||||
; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | grep '\.\.\.' | not grep call
|
||||
|
||||
declare int %foo(...)
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
; This shows where the function is called with the prototype indicating a
|
||||
; return type doesn't exists, but it really does.
|
||||
;
|
||||
; RUN: as < %s | opt -funcresolve -instcombine | dis | grep '\.\.\.' | not grep call
|
||||
; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | grep '\.\.\.' | not grep call
|
||||
|
||||
declare void %foo(...)
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: as < %s | opt -funcresolve
|
||||
; RUN: llvm-as < %s | opt -funcresolve
|
||||
|
||||
declare int %read(...)
|
||||
|
||||
|
Reference in New Issue
Block a user