mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Renamed as' =>
llvm-as', dis' =>
llvm-dis'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8544 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
; RUN: as < %s | opt -no-aa -ds-aa -load-vn -gcse | dis | not grep load
|
||||
; RUN: llvm-as < %s | opt -no-aa -ds-aa -load-vn -gcse | llvm-dis | not grep load
|
||||
%T = type { int*, int* }
|
||||
|
||||
int %main() {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
; This tests to make sure that G ends up in the globals graph of the BU pass.
|
||||
; If it is not, then %G will get converted to a 'constant' from a 'global'
|
||||
;
|
||||
; RUN: as < %s | opt -ds-opt -globaldce | dis | grep %G
|
||||
; RUN: llvm-as < %s | opt -ds-opt -globaldce | llvm-dis | grep %G
|
||||
|
||||
|
||||
%G = internal global int 0 ; <int*> [#uses=2]
|
||||
|
@@ -1,6 +1,6 @@
|
||||
; Make sure that the ds-opt pass is constantizing globals
|
||||
;
|
||||
; RUN: as < %s | opt -ds-opt | dis | grep %G | grep constant
|
||||
; RUN: llvm-as < %s | opt -ds-opt | llvm-dis | grep %G | grep constant
|
||||
|
||||
|
||||
%G = internal global int 0 ; <int*> [#uses=2]
|
||||
|
@@ -1,7 +1,7 @@
|
||||
; Test that GCSE uses ds-aa to do alias analysis, which is capable of
|
||||
; disambiguating some cases.
|
||||
|
||||
; RUN: as < %s | opt -no-aa -ds-aa -load-vn -gcse -instcombine -dce | dis | not grep ELIM
|
||||
; RUN: llvm-as < %s | opt -no-aa -ds-aa -load-vn -gcse -instcombine -dce | llvm-dis | not grep ELIM
|
||||
|
||||
%intpair = type {int*, int*}
|
||||
implementation
|
||||
|
@@ -1,7 +1,7 @@
|
||||
; This test was failing because the globals X and Y are marked incomplete
|
||||
; in the TD graph for %test
|
||||
|
||||
; RUN: as < %s | opt -no-aa -ds-aa -load-vn -gcse -instcombine | dis | not grep seteq
|
||||
; RUN: llvm-as < %s | opt -no-aa -ds-aa -load-vn -gcse -instcombine | llvm-dis | not grep seteq
|
||||
|
||||
%X = internal global int 20
|
||||
%Y = internal global int* null
|
||||
|
@@ -1,6 +1,6 @@
|
||||
; Test that ds-aa is returning must-alias information when it can.
|
||||
|
||||
; RUN: as < %s | opt -no-aa -ds-aa -load-vn -gcse | dis | not grep load
|
||||
; RUN: llvm-as < %s | opt -no-aa -ds-aa -load-vn -gcse | llvm-dis | not grep load
|
||||
|
||||
%X = internal global int 20
|
||||
|
||||
|
Reference in New Issue
Block a user