[Types] Define a getWithNewBitWidth for Types and make use of it
[llvm-complete.git] / test / CodeGen / X86 / asm-reg-type-mismatch-avx512.ll
blob1c5e1ce8a6b9936b97f0f3706cb422eabc910a0e
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
4 define i64 @test1() nounwind {
5 ; CHECK-LABEL: test1:
6 ; CHECK:       # %bb.0: # %entry
7 ; CHECK-NEXT:    #APP
8 ; CHECK-NEXT:    vmovq {{.*#+}} xmm16 = mem[0],zero
9 ; CHECK-NEXT:    #NO_APP
10 ; CHECK-NEXT:    vmovq %xmm16, %rax
11 ; CHECK-NEXT:    retq
12 entry:
13   %0 = tail call i64 asm sideeffect "vmovq $1, $0", "={xmm16},*m,~{dirflag},~{fpsr},~{flags}"(i64* null) nounwind
14   ret i64 %0