mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-15 07:59:57 +00:00
Add explicit triples to AArch64 tests
Only Linux is supported at the moment, and other platforms quickly fault. As a result these tests would fail on non-Linux hosts. It may be worth making the tests more generic again as more platforms are supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174170 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
36146afb96
commit
7bc8414ee9
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
define i128 @test_simple(i128 %a, i128 %b, i128 %c) {
|
||||
; CHECK: test_simple:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var32 = global i32 0
|
||||
@var64 = global i64 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
; Note that this should be refactored (for efficiency if nothing else)
|
||||
; when the PCS is implemented so we don't have to worry about the
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var8 = global i8 0
|
||||
@var16 = global i16 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs -filetype=obj < %s | elf-dump | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs -filetype=obj < %s | elf-dump | FileCheck %s
|
||||
|
||||
define fp128 @testfn() nounwind {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
declare void @use_addr(i8*)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
|
||||
|
||||
; This test checks that LLVM can do basic stripping and reapplying of branches
|
||||
; to basic blocks.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
|
||||
|
||||
define i32 @foo(i32* %var, i1 %cond) {
|
||||
; CHECK: foo:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
@var8 = global i8 0
|
||||
@var16 = global i16 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -filetype=obj < %s | llvm-objdump -disassemble - | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -filetype=obj < %s | llvm-objdump -disassemble - | FileCheck %s
|
||||
|
||||
; The encoding of lsb -> immr in the CGed bitfield instructions was wrong at one
|
||||
; point, in the edge case where lsb = 0. Just make sure.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
|
||||
|
||||
; First, a simple example from Clang. The registers could plausibly be
|
||||
; different, but probably won't be.
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var32 = global i32 0
|
||||
@var64 = global i64 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
@addr = global i8* null
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
|
||||
|
||||
@var = global i1 0
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@stored_label = global i8* null
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var = global float 0.0
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var32 = global i32 0
|
||||
@var64 = global i64 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var32 = global i32 0
|
||||
@var64 = global i64 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
define i32 @test_select_i32(i1 %bit, i32 %a, i32 %b) {
|
||||
; CHECK: test_select_i32:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
define i32 @test_madd32(i32 %val0, i32 %val1, i32 %val2) {
|
||||
; CHECK: test_madd32:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var32 = global i32 0
|
||||
@var64 = global i64 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var32_0 = global i32 0
|
||||
@var32_1 = global i32 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 -filetype=obj | elf-dump | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -filetype=obj | elf-dump | FileCheck %s
|
||||
|
||||
; External symbols are a different concept to global variables but should still
|
||||
; get relocations and so on when used.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
define i64 @ror_i64(i64 %in) {
|
||||
; CHECK: ror_i64:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 -tailcallopt | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -tailcallopt | FileCheck %s
|
||||
|
||||
; This test is designed to be run in the situation where the
|
||||
; call-frame is not reserved (hence disable-fp-elim), but where
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 -tailcallopt | FileCheck %s -check-prefix CHECK-TAIL
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -tailcallopt | FileCheck %s -check-prefix CHECK-TAIL
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
; Without tailcallopt fastcc still means the caller cleans up the
|
||||
; stack, so try to make sure this is respected.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
declare void @bar(i32)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 -O0 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -O0 | FileCheck %s
|
||||
|
||||
@var32 = global i32 0
|
||||
@var64 = global i64 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
define i32 @test_floattoi32(float %in) {
|
||||
; CHECK: test_floattoi32:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
; LLVM should be able to cope with multiple uses of the same flag-setting
|
||||
; instruction at different points of a routine. Either by rematerializing the
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@varhalf = global half 0.0
|
||||
@varfloat = global float 0.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@varfloat = global float 0.0
|
||||
@vardouble = global double 0.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@varfloat = global float 0.0
|
||||
@vardouble = global double 0.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 -fp-contract=fast | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -fp-contract=fast | FileCheck %s
|
||||
|
||||
declare float @llvm.fma.f32(float, float, float)
|
||||
declare double @llvm.fma.f64(double, double, double)
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
|
||||
declare void @bar(i8*, i8*, i32*)
|
||||
|
||||
; SelectionDAG used to try to fold some fp128 operations using the ppc128 type,
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
@lhs = global fp128 zeroinitializer
|
||||
@rhs = global fp128 zeroinitializer
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@varf32 = global float 0.0
|
||||
@varf64 = global double 0.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
%myStruct = type { i64 , i8, i32 }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
%myStruct = type { i64 , i8, i32 }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
@var32 = global [3 x i32] zeroinitializer
|
||||
@var64 = global [3 x i64] zeroinitializer
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -march=aarch64 -relocation-model=pic < %s | FileCheck %s
|
||||
; RUN: llc -march=aarch64 -relocation-model=pic -filetype=obj < %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -relocation-model=pic < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -relocation-model=pic -filetype=obj < %s
|
||||
|
||||
; LLVM gives well-defined semantics to this horrible construct (though C says
|
||||
; it's undefined). Regardless, we shouldn't crash. The important feature here is
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
%struct = type { i32, i128, i8 }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
@varfloat = global float 0.0
|
||||
@vardouble = global double 0.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llc -march=aarch64 < %s
|
||||
; RUN: not llc -mtriple=aarch64-none-linux-gnu < %s
|
||||
|
||||
define void @foo() {
|
||||
; Out of range immediate for I.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llc -march=aarch64 < %s
|
||||
; RUN: not llc -mtriple=aarch64-none-linux-gnu < %s
|
||||
|
||||
define void @foo() {
|
||||
; 32-bit bitpattern ending in 1101 can't be produced.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llc -march=aarch64 < %s
|
||||
; RUN: not llc -mtriple=aarch64-none-linux-gnu < %s
|
||||
|
||||
define void @foo() {
|
||||
; 32-bit bitpattern ending in 1101 can't be produced.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: not llc -march=aarch64 < %s
|
||||
; RUN: not llc -mtriple=aarch64-none-linux-gnu < %s
|
||||
|
||||
define void @foo() {
|
||||
; 32-bit bitpattern ending in 1101 can't be produced.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
|
||||
|
||||
define i64 @test_inline_constraint_r(i64 %base, i32 %offset) {
|
||||
; CHECK: test_inline_constraint_r:
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -march=aarch64 -relocation-model=pic < %s | FileCheck %s
|
||||
; RUN: llc -march=aarch64 -relocation-model=pic -filetype=obj < %s | llvm-objdump -r - | FileCheck --check-prefix=CHECK-ELF %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -relocation-model=pic < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -relocation-model=pic -filetype=obj < %s | llvm-objdump -r - | FileCheck --check-prefix=CHECK-ELF %s
|
||||
|
||||
@var_simple = hidden global i32 0
|
||||
@var_got = global i32 0
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 -filetype=obj | elf-dump | FileCheck %s -check-prefix=CHECK-ELF
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -filetype=obj | elf-dump | FileCheck %s -check-prefix=CHECK-ELF
|
||||
|
||||
define i32 @test_jumptable(i32 %in) {
|
||||
; CHECK: test_jumptable
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs -march=aarch64 < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
|
||||
declare void @use_addr(i8*)
|
||||
|
||||
@addr = global i8* null
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var_8bit = global i8 0
|
||||
@var_16bit = global i16 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var_8bit = global i8 0
|
||||
@var_16bit = global i16 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var_8bit = global i8 0
|
||||
@var_16bit = global i16 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var32 = global i32 0
|
||||
@var64 = global i64 0
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 -O0 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 -O0 -disable-fp-elim | FileCheck -check-prefix CHECK-WITHFP %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -O0 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -O0 -disable-fp-elim | FileCheck -check-prefix CHECK-WITHFP %s
|
||||
|
||||
; Make sure a reasonably sane prologue and epilogue are
|
||||
; generated. This test is not robust in the face of an frame-handling
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var32 = global i32 0
|
||||
@var64 = global i64 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 -O0 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -O0 | FileCheck %s
|
||||
|
||||
@var1_32 = global i32 0
|
||||
@var2_32 = global i32 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs -O0 < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -O0 < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
define i64 @test0() {
|
||||
; CHECK: test0:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
; CallingConv.td requires a bitcast for vector arguments. Make sure we're
|
||||
; actually capable of that (the test was omitted from LowerFormalArguments).
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -verify-machineinstrs < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
; We used to not mark NZCV as being used in the continuation basic-block
|
||||
; when lowering a 128-bit "select" to branches. This meant a subsequent use
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs -march=aarch64 < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
|
||||
@var = global void()* zeroinitializer
|
||||
|
||||
declare void @bar()
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs -march=aarch64 < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
|
||||
|
||||
; When generating DAG selection tables, TableGen used to only flag an
|
||||
; instruction as needing a chain on its own account if it had a built-in pattern
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -disable-fp-elim < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -disable-fp-elim < %s | FileCheck %s
|
||||
@var = global i32 0
|
||||
|
||||
declare void @bar()
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 -O0
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -O0
|
||||
|
||||
; When WZR wasn't marked as reserved, this function tried to allocate
|
||||
; it at O0 and then generated an internal fault (mostly incidentally)
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs -march=aarch64 < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
|
||||
|
||||
; Most important point here is that the promotion of the i1 works
|
||||
; correctly. Previously LLVM thought that i64 was the appropriate SetCC output,
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
declare void @callee_stack0()
|
||||
declare void @callee_stack8([8 x i32], i64)
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 -tailcallopt | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu -tailcallopt | FileCheck %s
|
||||
|
||||
declare fastcc void @callee_stack0()
|
||||
declare fastcc void @callee_stack8([8 x i32], i64)
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
; We've got the usual issues with LLVM reordering blocks here. The
|
||||
; tests are correct for the current order, but who knows when that
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs -march=aarch64 < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
|
||||
|
||||
%va_list = type {i8*, i8*, i8*, i32, i32}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs < %s -march=aarch64 | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs < %s -mtriple=aarch64-none-linux-gnu | FileCheck %s
|
||||
|
||||
@var32 = global i32 0
|
||||
@var64 = global i64 0
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -verify-machineinstrs -march aarch64 < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -march aarch64 -disable-fp-elim < %s | FileCheck %s --check-prefix=CHECK-WITH-FP
|
||||
; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
|
||||
; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -disable-fp-elim < %s | FileCheck %s --check-prefix=CHECK-WITH-FP
|
||||
|
||||
@bigspace = global [8 x i64] zeroinitializer
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs -march=aarch64 %s -filetype=obj -o %t
|
||||
; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu %s -filetype=obj -o %t
|
||||
; RUN: llvm-objdump -s %t | FileCheck %s
|
||||
@var = global i32 0
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -verify-machineinstrs -march=aarch64 %s -filetype=obj -o %t
|
||||
; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu %s -filetype=obj -o %t
|
||||
; RUN: llvm-objdump -s %t | FileCheck %s
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=aarch64 -disable-fp-elim < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux-gnu -disable-fp-elim < %s | FileCheck %s
|
||||
|
||||
; This is a regression test making sure the location of variables is correct in
|
||||
; debugging information, even if they're addressed via the frame pointer.
|
||||
|
@ -1,8 +1,8 @@
|
||||
;; RUN: llc -march=aarch64 -filetype=obj %s -o - | \
|
||||
;; RUN: llc -mtriple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
|
||||
;; RUN: elf-dump | FileCheck -check-prefix=OBJ %s
|
||||
|
||||
; Also take it on a round-trip through llvm-mc to stretch assembly-parsing's legs:
|
||||
;; RUN: llc -march=aarch64 %s -o - | \
|
||||
;; RUN: llc -mtriple=aarch64-none-linux-gnu %s -o - | \
|
||||
;; RUN: llvm-mc -arch=aarch64 -filetype=obj -o - | \
|
||||
;; RUN: elf-dump | FileCheck -check-prefix=OBJ %s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user