1; RUN: llc < %s -mtriple=i686-- -no-integrated-as | FileCheck -check-prefix=X86 %s
2; RUN: llc < %s -mtriple=x86_64-- -no-integrated-as | FileCheck -check-prefix=X64 %s
3
4; If the target does not have 64-bit integer registers, emit 32-bit register
5; names.
6
7; X86: call __x86_indirect_thunk_e{{[abcd]}}x
8; X64: call __x86_indirect_thunk_r
9
10define void @q_modifier(i32* %p) {
11entry:
12  tail call void asm sideeffect "call __x86_indirect_thunk_${0:V}", "r,~{dirflag},~{fpsr},~{flags}"(i32* %p)
13  ret void
14}
15