mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Use FileCheck variables to simplify this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b9dca0137
commit
d413950a93
@ -1,9 +1,9 @@
|
|||||||
; RUN: llc < %s -mtriple=x86_64-apple-macosx10.7 -disable-cfi | FileCheck --check-prefix=CHECK-64-D11 %s
|
; RUN: llc < %s -mtriple=x86_64-apple-macosx10.7 -disable-cfi | FileCheck %s
|
||||||
; RUN: llc < %s -mtriple=x86_64-apple-macosx10.6 -disable-cfi | FileCheck %s
|
; RUN: llc < %s -mtriple=x86_64-apple-macosx10.6 -disable-cfi | FileCheck %s
|
||||||
; RUN: llc < %s -mtriple=x86_64-apple-macosx10.5 -disable-cfi | FileCheck --check-prefix=CHECK-64-D89 %s
|
; RUN: llc < %s -mtriple=x86_64-apple-macosx10.5 -disable-cfi | FileCheck --check-prefix=OLD %s
|
||||||
; RUN: llc < %s -mtriple=i686-apple-macosx10.6 -disable-cfi | FileCheck --check-prefix=CHECK-I686-D10 %s
|
; RUN: llc < %s -mtriple=i686-apple-macosx10.6 -disable-cfi | FileCheck %s
|
||||||
; RUN: llc < %s -mtriple=i686-apple-macosx10.5 -disable-cfi | FileCheck --check-prefix=CHECK-I686-D89 %s
|
; RUN: llc < %s -mtriple=i686-apple-macosx10.5 -disable-cfi | FileCheck --check-prefix=OLD %s
|
||||||
; RUN: llc < %s -mtriple=i686-apple-macosx10.4 -disable-cfi | FileCheck --check-prefix=CHECK-I686-D89 %s
|
; RUN: llc < %s -mtriple=i686-apple-macosx10.4 -disable-cfi | FileCheck --check-prefix=OLD %s
|
||||||
|
|
||||||
define private void @foo() {
|
define private void @foo() {
|
||||||
ret void
|
ret void
|
||||||
@ -14,54 +14,36 @@ define void @bar() {
|
|||||||
ret void;
|
ret void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
; CHECK: L_foo: ## @foo
|
||||||
|
|
||||||
; CHECK: _bar: ## @bar
|
; CHECK: _bar: ## @bar
|
||||||
; CHECK-NEXT: Ltmp2:
|
; CHECK-NEXT: Ltmp2:
|
||||||
|
|
||||||
; CHECK: Ltmp12:
|
; CHECK: ## FDE CIE Offset
|
||||||
; CHECK-NEXT: Ltmp13 = L_foo-Ltmp12 ## FDE initial location
|
; CHECK-NEXT: .long
|
||||||
; CHECK-NEXT: .quad Ltmp13
|
; CHECK-NEXT: Ltmp[[NUM1:[0-9]*]]:
|
||||||
|
; CHECK-NEXT: Ltmp[[NUM2:[0-9]*]] = L_foo-Ltmp[[NUM1]] ## FDE initial location
|
||||||
; CHECK: Ltmp19:
|
; CHECK-NEXT: {{.quad|.long}} Ltmp[[NUM2]]
|
||||||
; CHECK-NEXT: Ltmp20 = Ltmp2-Ltmp19 ## FDE initial location
|
|
||||||
; CHECK-NEXT: .quad Ltmp20
|
|
||||||
|
|
||||||
|
|
||||||
; CHECK-64-D11: Ltmp13:
|
; CHECK: ## FDE CIE Offset
|
||||||
; CHECK-64-D11-NEXT: Ltmp14 = L_foo-Ltmp13 ## FDE initial location
|
; CHECK-NEXT: .long
|
||||||
; CHECK-64-D11-NEXT: .quad Ltmp14
|
; CHECK-NEXT: Ltmp[[NUM1:[0-9]*]]:
|
||||||
|
; CHECK-NEXT: Ltmp[[NUM2:[0-9]*]] = Ltmp2-Ltmp[[NUM1]] ## FDE initial location
|
||||||
; CHECK-64-D11: Ltmp20:
|
; CHECK-NEXT: {{.quad|.long}} Ltmp[[NUM2]]
|
||||||
; CHECK-64-D11-NEXT: Ltmp21 = Ltmp2-Ltmp20 ## FDE initial location
|
|
||||||
; CHECK-64-D11-NEXT: .quad Ltmp21
|
|
||||||
|
|
||||||
|
|
||||||
; CHECK-64-D89: Ltmp12:
|
; OLD: L_foo: ## @foo
|
||||||
; CHECK-64-D89-NEXT: .quad L_foo-Ltmp12 ## FDE initial location
|
|
||||||
; CHECK-64-D89-NEXT: Ltmp13 = (Ltmp0-L_foo)-0 ## FDE address range
|
|
||||||
; CHECK-64-D89-NEXT: .quad Ltmp13
|
|
||||||
|
|
||||||
; CHECK-64-D89: Ltmp18:
|
; OLD: _bar: ## @bar
|
||||||
; CHECK-64-D89-NEXT: .quad Ltmp2-Ltmp18 ## FDE initial location
|
; OLD-NEXT: Ltmp2:
|
||||||
; CHECK-64-D89-NEXT: Ltmp19 = (Ltmp4-Ltmp2)-0 ## FDE address range
|
|
||||||
; CHECK-64-D89-NEXT: .quad Ltmp19
|
|
||||||
|
|
||||||
|
; OLD: ## FDE CIE Offset
|
||||||
|
; OLD-NEXT: .long
|
||||||
|
; OLD-NEXT: Ltmp[[NUM1:[0-9]*]]:
|
||||||
|
; OLD-NEXT: {{.quad|.long}} L_foo-Ltmp[[NUM1]] ## FDE initial location
|
||||||
|
|
||||||
; CHECK-I686-D10: Ltmp12:
|
; OLD: ## FDE CIE Offset
|
||||||
; CHECK-I686-D10-NEXT: Ltmp13 = L_foo-Ltmp12 ## FDE initial location
|
; OLD-NEXT: .long
|
||||||
; CHECK-I686-D10-NEXT: .long Ltmp13
|
; OLD-NEXT: Ltmp[[NUM1:[0-9]*]]:
|
||||||
|
; OLD-NEXT: {{.quad|.long}} Ltmp2-Ltmp[[NUM1]] ## FDE initial location
|
||||||
; CHECK-I686-D10: Ltmp19:
|
|
||||||
; CHECK-I686-D10-NEXT: Ltmp20 = Ltmp2-Ltmp19 ## FDE initial location
|
|
||||||
; CHECK-I686-D10-NEXT: .long Ltmp20
|
|
||||||
|
|
||||||
|
|
||||||
; CHECK-I686-D89: Ltmp12:
|
|
||||||
; CHECK-I686-D89-NEXT: .long L_foo-Ltmp12 ## FDE initial location
|
|
||||||
; CHECK-I686-D89-NEXT: Ltmp13 = (Ltmp0-L_foo)-0 ## FDE address range
|
|
||||||
; CHECK-I686-D89-NEXT: .long Ltmp13
|
|
||||||
|
|
||||||
; CHECK-I686-D89: Ltmp18:
|
|
||||||
; CHECK-I686-D89-NEXT: .long Ltmp2-Ltmp18 ## FDE initial location
|
|
||||||
; CHECK-I686-D89-NEXT: Ltmp19 = (Ltmp4-Ltmp2)-0 ## FDE address range
|
|
||||||
; CHECK-I686-D89-NEXT: .long Ltmp19
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user