mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Use CHECK-DAG instead of sort.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189942 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
16eedf0ba0
commit
2396be0c6e
@ -1,27 +1,27 @@
|
|||||||
; RUN: llvm-link %s %p/unnamed-addr1-b.ll -S -o - | sort | FileCheck %s
|
; RUN: llvm-link %s %p/unnamed-addr1-b.ll -S -o - | FileCheck %s
|
||||||
|
|
||||||
; Only in this file
|
; Only in this file
|
||||||
@a = common global i32 0
|
@a = common global i32 0
|
||||||
; CHECK: @a = common global i32 0
|
; CHECK-DAG: @a = common global i32 0
|
||||||
@b = common unnamed_addr global i32 0
|
@b = common unnamed_addr global i32 0
|
||||||
; CHECK: @b = common unnamed_addr global i32 0
|
; CHECK-DAG: @b = common unnamed_addr global i32 0
|
||||||
|
|
||||||
; Other file has unnamed_addr definition
|
; Other file has unnamed_addr definition
|
||||||
@c = common unnamed_addr global i32 0
|
@c = common unnamed_addr global i32 0
|
||||||
; CHECK: @c = common unnamed_addr global i32 0
|
; CHECK-DAG: @c = common unnamed_addr global i32 0
|
||||||
@d = external global i32
|
@d = external global i32
|
||||||
; CHECK: @d = global i32 42
|
; CHECK-DAG: @d = global i32 42
|
||||||
@e = external unnamed_addr global i32
|
@e = external unnamed_addr global i32
|
||||||
; CHECK: @e = unnamed_addr global i32 42
|
; CHECK-DAG: @e = unnamed_addr global i32 42
|
||||||
@f = weak global i32 42
|
@f = weak global i32 42
|
||||||
; CHECK: @f = global i32 42
|
; CHECK-DAG: @f = global i32 42
|
||||||
|
|
||||||
; Other file has non-unnamed_addr definition
|
; Other file has non-unnamed_addr definition
|
||||||
@g = common unnamed_addr global i32 0
|
@g = common unnamed_addr global i32 0
|
||||||
; CHECK: @g = common global i32 0
|
; CHECK-DAG: @g = common global i32 0
|
||||||
@h = external global i32
|
@h = external global i32
|
||||||
; CHECK: @h = global i32 42
|
; CHECK-DAG: @h = global i32 42
|
||||||
@i = external unnamed_addr global i32
|
@i = external unnamed_addr global i32
|
||||||
; CHECK: @i = global i32 42
|
; CHECK-DAG: @i = global i32 42
|
||||||
@j = weak global i32 42
|
@j = weak global i32 42
|
||||||
; CHECK: @j = global i32 42
|
; CHECK-DAG: @j = global i32 42
|
||||||
|
Loading…
x
Reference in New Issue
Block a user