You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
688 B
21 lines
688 B
; RUN: llc %s -O0 -march=sparc -mcpu=at697e -o - | FileCheck %s -check-prefix=FIXCALL
|
|
; RUN: llc %s -O0 -march=sparc -mcpu=leon2 -mattr=+fixcall -o - | FileCheck %s -check-prefix=FIXCALL
|
|
|
|
; RUN: llc %s -O0 -march=sparc -mcpu=at697e -mattr=-fixcall -o - | FileCheck %s -check-prefix=NO_FIXCALL
|
|
; RUN: llc %s -O0 -march=sparc -mcpu=leon2 -o - | FileCheck %s -check-prefix=NO_FIXCALL
|
|
|
|
|
|
; FIXCALL-LABEL: immediate_call_test
|
|
; FIXCALL: call 763288
|
|
|
|
; NO_FIXCALL-LABEL: immediate_call_test
|
|
; NO_FIXCALL: call 2047583640
|
|
define void @immediate_call_test() nounwind {
|
|
entry:
|
|
call void asm sideeffect "call $0", "i"(i32 2047583640) nounwind
|
|
ret void
|
|
}
|
|
|
|
|
|
|