xref: /llvm-project/llvm/test/CodeGen/X86/asm-reg-type-mismatch-avx512.ll (revision a2a0089ac3a5781ba74d4d319c87c9e8b46d4eda)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mattr=avx512f | FileCheck %s
3
4define i64 @test1() nounwind {
5; CHECK-LABEL: test1:
6; CHECK:       # %bb.0: # %entry
7; CHECK-NEXT:    #APP
8; CHECK-NEXT:    vmovq 0, %xmm16
9; CHECK-NEXT:    #NO_APP
10; CHECK-NEXT:    vmovq %xmm16, %rax
11; CHECK-NEXT:    retq
12entry:
13  %0 = tail call i64 asm sideeffect "vmovq $1, $0", "={xmm16},*m,~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) null) nounwind
14  ret i64 %0
15}
16