mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 23:37:33 +00:00
opt no longer reads .ll files. Run llvm-as explicitly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29924 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3b2493e2a1
commit
21a82e6fc7
@ -2,7 +2,7 @@
|
||||
; folded completely away if possible. This is a very common case, so it should
|
||||
; be efficient.
|
||||
;
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
;
|
||||
implementation
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
;
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
%crazy = type [2 x { [2 x sbyte], short } ]
|
||||
|
||||
implementation
|
||||
|
@ -1,6 +1,6 @@
|
||||
; This file contains a list of situations where node folding should happen...
|
||||
;
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
|
||||
implementation
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
; very simple test
|
||||
;
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
|
||||
implementation
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
;
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
|
||||
%str = type { int*, int* }
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
; This file contains a list of cases where node folding should NOT happen
|
||||
;
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
;
|
||||
|
||||
implementation
|
||||
|
@ -1,5 +1,5 @@
|
||||
;
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
|
||||
%G = global int 2 ; <int*> [#uses=1]
|
||||
%H = global int* null
|
||||
|
@ -1,5 +1,5 @@
|
||||
;
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
|
||||
int* %test1(int *%A) {
|
||||
%R = getelementptr int* %A, long 1
|
||||
|
@ -1,6 +1,6 @@
|
||||
; A test for "physical subtyping" used in some C programs...
|
||||
;
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
;
|
||||
%ST = type { int, int* } ; "Subtype"
|
||||
%DT = type { int, int*, int } ; "derived type"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
|
||||
implementation ; Functions:
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
|
||||
void %foo(int* %X) {
|
||||
store int 4, int* %X
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
|
||||
implementation
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt -analyze %s -tddatastructure
|
||||
; RUN: llvm-as < %s | opt -analyze -tddatastructure
|
||||
|
||||
%str = type { int, int* }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user