1 ; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 ; RUN: llc -mtriple=m68k --relocation-model=pic -O0 -global-isel -stop-after=irtranslator -verify-machineinstrs %s -o - | FileCheck %s
4 define void @test_pic() nounwind {
5 ; CHECK-LABEL: name: test_pic
6 ; CHECK: bb.1 (%ir-block.0):
7 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit-def $ccr, implicit $sp
8 ; CHECK-NEXT: CALLq @test_pic_callee, csr_std, implicit $sp
9 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $sp, implicit-def $ccr, implicit $sp
11 call void @test_pic_callee()
14 declare void @test_pic_callee()