mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
afd1cc2578
Small test for sanity check of resulting ARM .s file. Tested against -r115129. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115133 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
361 B
LLVM
14 lines
361 B
LLVM
; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s
|
|
; This tests that MC/asm header conversion is smooth
|
|
;
|
|
; CHECK: .syntax unified
|
|
; CHECK-NEXT: .eabi_attribute 20, 1
|
|
; CHECK-NEXT: .eabi_attribute 21, 1
|
|
; CHECK-NEXT: .eabi_attribute 23, 3
|
|
; CHECK-NEXT: .eabi_attribute 24, 1
|
|
; CHECK-NEXT: .eabi_attribute 25, 1
|
|
|
|
define i32 @f(i64 %z) {
|
|
ret i32 0
|
|
}
|