mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Fix some escaping and quoting in RUN lines, mainly involving { and <. In two
cases quoting of <{ didn't work out, so I changed the grep to check for }>
instead.
This fixes 7 testcases that were not properly running before.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52182 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,6 +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,7 +1,7 @@
|
||||
; RUN: echo {@G = weak global \{\{\{\{double\}\}\}\} zeroinitializer } | \
|
||||
; RUN: llvm-as > %t.out2.bc
|
||||
; RUN: llvm-as < %s > %t.out1.bc
|
||||
; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | not grep {\}}
|
||||
; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | not grep {\\}}
|
||||
|
||||
; When linked, the global above should be eliminated, being merged with the
|
||||
; global below.
|
||||
|
||||
Reference in New Issue
Block a user