mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 16:31:33 +00:00
Fix some tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52245 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
502a4f5162
commit
933b5065e5
@ -1,12 +1,12 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$bar)} | count 1
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$qux)} | count 1
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$hen)} | count 1
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$bar)} | count 1
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$qux)} | count 1
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$hen)} | count 1
|
||||
; PR1339
|
||||
|
||||
@"$bar" = global i32 zeroinitializer
|
||||
@"$qux" = external global i32
|
||||
|
||||
define i32 @"$foo"() {
|
||||
define i32 @"$foo"() nounwind {
|
||||
%m = load i32* @"$bar"
|
||||
%n = load i32* @"$qux"
|
||||
%t = add i32 %m, %n
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %llvmgcc -xc %s -c -o - | llc
|
||||
// RUN: %llvmgcc -xc %s -w -c -o - | llc
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %llvmgcc %s -S -o -
|
||||
// RUN: %llvmgcc %s -S -o /dev/null
|
||||
// PR910
|
||||
|
||||
struct l_struct_2E_FILE { char x; };
|
||||
|
@ -1,7 +1,6 @@
|
||||
; RUN: llvm-as < %s > %t.out1.bc
|
||||
; RUN: echo { %S = type \[8 x i32\] external global %S } | llvm-as > %t.out2.bc
|
||||
; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep %S | grep {\\{}
|
||||
|
||||
; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep %S | grep \\{
|
||||
%S = type { i32 }
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
|
||||
; RUN: grep alloca | grep {\\{}
|
||||
; RUN: grep alloca | grep \\{
|
||||
|
||||
declare i32 @.callback_1(i8*)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user