mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
13 lines
396 B
LLVM
13 lines
396 B
LLVM
|
; RUN: llc %s -mtriple=arm-unknown-unknown -filetype=obj -o - \
|
||
|
; RUN: | llvm-objdump -t - | FileCheck %s
|
||
|
; RUN: llc %s -mtriple=thumb-unknown-unknown -filetype=obj -o - \
|
||
|
; RUN: | llvm-objdump -t - | FileCheck %s
|
||
|
|
||
|
; Check that the symbol address does not include the ARM/Thumb instruction
|
||
|
; indicator bit.
|
||
|
; CHECK: 00000000 g F .text {{[0-9]+}} test
|
||
|
|
||
|
define i32 @test() {
|
||
|
ret i32 1
|
||
|
}
|