mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-25 19:29:53 +00:00
Update tests now that opt no longer reads .ll files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c9b208c886
commit
d52e1b0dbe
@ -1,4 +1,4 @@
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=Ptr:HR
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=Ptr:HR
|
||||
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
; This is the same testcase as 2003-06-29-NodeCollapsing2.ll, but it uses the
|
||||
; graph checker.
|
||||
;
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-abort-if-any-collapsed
|
||||
;
|
||||
%T = type { int}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=X:GM
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=X:GM
|
||||
|
||||
%G = internal global int 5
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-abort-if-any-collapsed
|
||||
|
||||
%X = internal global { int, short, short } { int 1, short 2, short 3 }
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
; This should cause the global node to collapse!!
|
||||
; XFAIL: *
|
||||
; RUN: opt -analyze %s -datastructure-gc --dsgc-check-flags=test:GAU
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc --dsgc-check-flags=test:GAU
|
||||
|
||||
%Tree = type { int, %Tree*, %Tree* }
|
||||
%T5 = external global %Tree
|
||||
|
@ -1,7 +1,7 @@
|
||||
; This is the same testcase as 2003-06-29-NodeCollapsing2.ll, but it uses the
|
||||
; graph checker.
|
||||
;
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-abort-if-any-collapsed
|
||||
;
|
||||
|
||||
%S = type { double, int }
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-check-flags=Xn:SMR
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-check-flags=X:SMR
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=Xn:SMR &&
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=X:SMR
|
||||
|
||||
declare void %llvm.memcpy.i32(sbyte*, sbyte*, uint, uint)
|
||||
declare void %llvm.memmove.i32(sbyte*, sbyte*, uint, uint)
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-check-flags=G:GIM -dsgc-dspass=bu &&\
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-check-flags=G:GIM -dsgc-dspass=td
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=G:GIM -dsgc-dspass=bu &&\
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=G:GIM -dsgc-dspass=td
|
||||
|
||||
%S = type { double, int }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-check-flags=x:IA
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=x:IA
|
||||
|
||||
; ModuleID = 'bug3.bc'
|
||||
target endian = little
|
||||
|
@ -1,7 +1,7 @@
|
||||
; FIXME: this should be SHM for bu, but change it for now since besides incompleteness
|
||||
; this is working
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=Y:SHIM && \
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=P1:SHM,P2:SHM
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=Y:SHIM && \
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=P1:SHM,P2:SHM
|
||||
|
||||
%G = internal constant [2 x int*(int*)*] [
|
||||
int*(int*)* %callee1, int*(int*)* %callee2
|
||||
|
@ -5,7 +5,7 @@
|
||||
; -- globals in GG pointed to by latter should be marked I, but not other nodes
|
||||
;
|
||||
; FIXME: KnownPtr should be just S.
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-check-flags=KnownPtr:SI,UnknownPtr:SI -dsgc-dspass=bu
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=KnownPtr:SI,UnknownPtr:SI -dsgc-dspass=bu
|
||||
|
||||
%Z = internal global int 0
|
||||
%X = internal global int 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt -analyze %s -budatastructure -dont-print-ds
|
||||
; RUN: llvm-as < %s | opt -analyze -budatastructure -dont-print-ds
|
||||
|
||||
%MidFnTy = type void (\2*)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
; Test to check for support for "physical subtyping"
|
||||
;
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-abort-if-any-collapsed
|
||||
;
|
||||
%S = type { int }
|
||||
%T = type { int, float, double }
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
; RUN: opt -analyze %s -datastructure-gc --dsgc-abort-if-merged=Y,BVal
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc --dsgc-abort-if-merged=Y,BVal
|
||||
|
||||
implementation
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; FIXME: A should just be SM
|
||||
; RUN: opt -analyze %s -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=A:SIM
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=A:SIM
|
||||
; Constant globals should not mark stuff incomplete. This should allow the
|
||||
; bu pass to resolve the indirect call immediately in "test", allowing %A to
|
||||
; be marked complete and the store to happen.
|
||||
|
@ -3,7 +3,7 @@
|
||||
; has no defined way to check for this, so DSA can know that strcpy doesn't
|
||||
; require merging the input arguments.
|
||||
|
||||
; RUN: opt -analyze %s -datastructure-gc --dsgc-abort-if-merged=A,B --dsgc-check-flags=A:ASM,B:ASR --dsgc-dspass=bu
|
||||
; RUN: llvm-as < %s | opt -analyze -datastructure-gc --dsgc-abort-if-merged=A,B --dsgc-check-flags=A:ASM,B:ASR --dsgc-dspass=bu
|
||||
|
||||
implementation
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt -analyze %s -domset -disable-verify
|
||||
; RUN: llvm-as < %s | opt -analyze -domset -disable-verify
|
||||
;
|
||||
int %re_match_2() {
|
||||
ENTRY:
|
||||
|
@ -1,7 +1,7 @@
|
||||
; This testcase was incorrectly computing that the loopentry.7 loop was
|
||||
; not a child of the loopentry.6 loop.
|
||||
;
|
||||
; RUN: opt -analyze %s -loops | grep "^ Loop Containing: %loopentry.7"
|
||||
; RUN: llvm-as < %s | opt -analyze -loops | grep "^ Loop Containing: %loopentry.7"
|
||||
|
||||
void %getAndMoveToFrontDecode() { ; No predecessors!
|
||||
br label %endif.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user