Files
clang-p2996/llvm/test/CodeGen/Generic/2007-04-27-InlineAsm-X-Dest.ll
Nikita Popov f430c1eb64 [Tests] Add elementtype attribute to indirect inline asm operands (NFC)
This updates LLVM tests for D116531 by adding elementtype attributes
to operands that correspond to indirect asm constraints.
2022-01-06 14:23:51 +01:00

9 lines
251 B
LLVM

; RUN: llc -no-integrated-as < %s
; Test that we can have an "X" output constraint.
define void @test(i16 * %t) {
call void asm sideeffect "foo $0", "=*X,~{dirflag},~{fpsr},~{flags},~{memory}"( i16* elementtype( i16) %t )
ret void
}