mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-29 23:12:55 +01:00
cca54c2eea
Emit 32-bit register names instead of 64-bit register names if the target does not have 64-bit general purpose registers. <rdar://problem/14653996> llvm-svn: 205067
13 lines
348 B
LLVM
13 lines
348 B
LLVM
; RUN: llc < %s -march=x86 -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(i32* %p) {
|
|
entry:
|
|
tail call void asm sideeffect "movq (${0:q}, %ebx, 4), %mm0", "r,~{dirflag},~{fpsr},~{flags}"(i32* %p)
|
|
ret void
|
|
}
|