llvm-project/llvm/test/CodeGen/X86/asm-modifier-32.ll
Fangrui Song 7e604485e1 [test] Improve x86 inline asm tests
Reorganize *asm-modifier* and make other cleanups.
2024-01-11 23:35:46 -08:00

13 lines
351 B
LLVM

; RUN: llc < %s -mtriple=i686-- -no-integrated-as | FileCheck %s
; If the target does not have 64-bit integer registers, emit 32-bit register
; names.
; CHECK: movq (%e{{[abcd]}}x, %ebx, 4)
define void @q_modifier(ptr %p) {
entry:
tail call void asm sideeffect "movq (${0:q}, %ebx, 4), %mm0", "r,~{dirflag},~{fpsr},~{flags}"(ptr %p)
ret void
}