1*9880d681SAndroid Build Coastguard Worker; RUN: llc -fast-isel < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-m:o-p:32:32-i1:8:32-i8:8:32-i16:16:32-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32" 3*9880d681SAndroid Build Coastguard Workertarget triple = "thumbv7-apple-ios5.0.0" 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker%0 = type opaque 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker; Make sure that the inline asm starts right after the call to bar. 8*9880d681SAndroid Build Coastguard Workerdefine void @test_inline_asm_sideeffect(%0* %call) { 9*9880d681SAndroid Build Coastguard Worker; CHECK: bl _bar 10*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: InlineAsm Start 11*9880d681SAndroid Build Coastguard Worker call void @bar() 12*9880d681SAndroid Build Coastguard Worker call void asm sideeffect "mov\09r7, r7\09\09@ marker", ""() 13*9880d681SAndroid Build Coastguard Worker %1 = call %0* bitcast (i8* (i8*)* @foo to %0* (%0*)*)(%0* %call) 14*9880d681SAndroid Build Coastguard Worker ret void 15*9880d681SAndroid Build Coastguard Worker} 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard Workerdeclare i8* @foo(i8*) 18*9880d681SAndroid Build Coastguard Workerdeclare void @bar() 19