mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
AArch64/ARM64: enable some MC tests on ARM64
This will also (as with CodeGen) disable testing when the ARM64 backend is not present. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207104 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
00b214a406
commit
92f4b34653
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-mc -triple=aarch64-linux-gnu -filetype=obj -o - %s| llvm-readobj -r - | FileCheck %s
|
||||
// RUN: llvm-mc -triple=arm64-linux-gnu -filetype=obj -o - %s| llvm-readobj -r - | FileCheck %s
|
||||
.text
|
||||
// These should produce an ADRP/ADD pair to calculate the address of
|
||||
// testfn. The important point is that LLVM shouldn't think it can deal with the
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o -| llvm-objdump -r - | FileCheck %s
|
||||
// RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj %s -o -| llvm-objdump -r - | FileCheck %s
|
||||
|
||||
// CHECK: RELOCATION RECORDS FOR [.rela.text]
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-mc < %s -triple=aarch64-none-linux-gnu -filetype=obj | llvm-readobj -r | FileCheck %s
|
||||
// RUN: llvm-mc < %s -triple=arm64-none-linux-gnu -filetype=obj | llvm-readobj -r | FileCheck %s
|
||||
|
||||
// External symbols are a different concept to global variables but should still
|
||||
// get relocations and so on when used.
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
; Also take it on a round-trip through llvm-mc to stretch assembly-parsing's legs:
|
||||
;; RUN: llc -mtriple=aarch64-none-linux-gnu %s -o - | \
|
||||
;; RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj -o - | \
|
||||
;; RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj -o - | \
|
||||
;; RUN: llvm-readobj -h -r | FileCheck -check-prefix=OBJ %s
|
||||
|
||||
@var8 = global i8 0
|
||||
|
@ -1,4 +1,7 @@
|
||||
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
|
||||
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
|
||||
|
||||
// RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj %s -o - | \
|
||||
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
|
||||
|
||||
add x2, x3, #:lo12:some_label
|
||||
|
@ -1,3 +1,3 @@
|
||||
targets = set(config.root.targets_to_build.split())
|
||||
if not 'AArch64' in targets:
|
||||
if 'AArch64' not in targets or 'ARM64' not in targets:
|
||||
config.unsupported = True
|
Loading…
Reference in New Issue
Block a user