mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Adjust tests now that opt doesn't read .ll files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29926 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7f8897f22e
commit
c9b208c886
@ -1,6 +1,6 @@
|
|||||||
; Call graph construction crash: Not handling indirect calls right
|
; Call graph construction crash: Not handling indirect calls right
|
||||||
;
|
;
|
||||||
; RUN: opt -analyze -callgraph %s
|
; RUN: llvm-as < %s | opt -analyze -callgraph
|
||||||
;
|
;
|
||||||
|
|
||||||
%FunTy = type int(int)
|
%FunTy = type int(int)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
; Crash in post dominator set construction.
|
; Crash in post dominator set construction.
|
||||||
;
|
;
|
||||||
; RUN: opt -analyze -postdomset %s
|
; RUN: llvm-as < %s | opt -analyze -postdomset
|
||||||
;
|
;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
; Crash in post dominator set construction.
|
; Crash in post dominator set construction.
|
||||||
;
|
;
|
||||||
; RUN: opt -analyze -postdomset %s
|
; RUN: llvm-as < %s | opt -analyze -postdomset
|
||||||
;
|
;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
; blocks. These blocks should at least dominate themselves. This is
|
; blocks. These blocks should at least dominate themselves. This is
|
||||||
; fouling up the verify pass.
|
; fouling up the verify pass.
|
||||||
;
|
;
|
||||||
; RUN: opt -analyze -domset %s | grep BB
|
; RUN: llvm-as < %s | opt -analyze -domset | grep BB
|
||||||
|
|
||||||
void %test() {
|
void %test() {
|
||||||
ret void
|
ret void
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
; figure out that loop "Inner" should be nested inside of leep "LoopHeader",
|
; figure out that loop "Inner" should be nested inside of leep "LoopHeader",
|
||||||
; and instead nests it just inside loop "Top"
|
; and instead nests it just inside loop "Top"
|
||||||
;
|
;
|
||||||
; RUN: opt -analyze -loops %s | grep ' Loop Containing:[ ]*%Inner'
|
; RUN: llvm-as < %s | opt -analyze -loops | grep ' Loop Containing:[ ]*%Inner'
|
||||||
;
|
;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llvm-as < %s | llvm-dis | llvm-as
|
; RUN: llvm-as < %s | llvm-dis | llvm-as > /dev/null
|
||||||
|
|
||||||
%v4f = type <4 x float>
|
%v4f = type <4 x float>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user