• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc %s -O0 -march=sparc -mcpu=at697e -o - | FileCheck %s -check-prefix=FIXCALL
2; RUN: llc %s -O0 -march=sparc -mcpu=leon2 -mattr=+fixcall -o - | FileCheck %s -check-prefix=FIXCALL
3
4; RUN: llc %s -O0 -march=sparc -mcpu=at697e -mattr=-fixcall -o - | FileCheck %s -check-prefix=NO_FIXCALL
5; RUN: llc %s -O0 -march=sparc -mcpu=leon2  -o - | FileCheck %s -check-prefix=NO_FIXCALL
6
7
8; FIXCALL-LABEL:       	immediate_call_test
9; FIXCALL:       	call 763288
10
11; NO_FIXCALL-LABEL:     immediate_call_test
12; NO_FIXCALL:       	call 2047583640
13define void @immediate_call_test() nounwind {
14entry:
15        call void asm sideeffect "call $0", "i"(i32 2047583640) nounwind
16        ret void
17}
18
19
20
21