1; Check the function call in PIC relocation model. 2 3; If the relocation model is PIC, then the "bl" instruction for the function 4; call to the external function should come with PLT fixup type. 5 6; RUN: llc < %s -mtriple=armv7-unknown-linux-gnueabi \ 7; RUN: -relocation-model=pic -fast-isel -verify-machineinstrs \ 8; RUN: | FileCheck %s 9 10define void @test() { 11entry: 12 13 %0 = call i32 @get() 14; CHECK: bl get 15 16 call void @put(i32 %0) 17; CHECK: bl put 18 19 ret void 20} 21 22declare i32 @get() 23declare void @put(i32) 24