mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Use the llvm-upgrade program to upgrade llvm assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
; Call graph construction crash: Not handling indirect calls right
|
||||
;
|
||||
; RUN: llvm-as < %s | opt -analyze -callgraph
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -callgraph
|
||||
;
|
||||
|
||||
%FunTy = type int(int)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
; Crash in post dominator set construction.
|
||||
;
|
||||
; RUN: llvm-as < %s | opt -analyze -postdomset
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -postdomset
|
||||
;
|
||||
|
||||
implementation
|
||||
|
@@ -1,6 +1,6 @@
|
||||
; Crash in post dominator set construction.
|
||||
;
|
||||
; RUN: llvm-as < %s | opt -analyze -postdomset
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -postdomset
|
||||
;
|
||||
|
||||
implementation
|
||||
|
@@ -1,7 +1,7 @@
|
||||
; Inlining used to break PHI nodes. This tests that they are correctly updated
|
||||
; when a node is split around the call instruction. The verifier caught the error.
|
||||
;
|
||||
; RUN: llvm-as < %s | opt -inline
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -inline
|
||||
;
|
||||
implementation
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
;
|
||||
; Fixed by adding new arguments to ConstantFoldTerminator
|
||||
;
|
||||
; RUN: llvm-as < %s | opt -constprop
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -constprop
|
||||
|
||||
implementation
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
; blocks. These blocks should at least dominate themselves. This is
|
||||
; fouling up the verify pass.
|
||||
;
|
||||
; RUN: llvm-as < %s | opt -analyze -domset | grep BB
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -domset | grep BB
|
||||
|
||||
void %test() {
|
||||
ret void
|
||||
|
@@ -2,7 +2,7 @@
|
||||
; figure out that loop "Inner" should be nested inside of leep "LoopHeader",
|
||||
; and instead nests it just inside loop "Top"
|
||||
;
|
||||
; RUN: llvm-as < %s | opt -analyze -loops | grep ' Loop Containing:[ ]*%Inner'
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -loops | grep ' Loop Containing:[ ]*%Inner'
|
||||
;
|
||||
|
||||
implementation
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -lower-packed | llvm-dis
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -lower-packed | llvm-dis
|
||||
|
||||
%foo = uninitialized global <2 x int>;
|
||||
%bar = uninitialized global <2 x int>;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llvm-dis
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis
|
||||
|
||||
%bar = external global <2 x int> ; <<2 x int>*> [#uses=1]
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llvm-dis
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis
|
||||
|
||||
%foo = global <2 x int> <int 0, int 1>;
|
||||
%bar = uninitialized global <2 x int>;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llvm-dis
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis
|
||||
|
||||
%foo = uninitialized global <4 x float>;
|
||||
%bar = uninitialized global <4 x float>;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llvm-dis
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis
|
||||
|
||||
%foo = uninitialized global <4 x float>;
|
||||
%bar = uninitialized global <4 x float>;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llvm-dis | llvm-as > /dev/null
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | llvm-as > /dev/null
|
||||
|
||||
%v4f = type <4 x float>
|
||||
|
||||
|
Reference in New Issue
Block a user