Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / CodeGen / X86 / AMX / amxcomplex-intrinsics.ll
blob7774092e4210f08163f9455d7d98e6ae6ed8e5dd
1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
3 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+amx-tile,+amx-complex --show-mc-encoding | FileCheck %s
5 define void @test_tcmmimfp16ps() {
6 ; CHECK-LABEL: test_tcmmimfp16ps:
7 ; CHECK:       # %bb.0:
8 ; CHECK-NEXT:    tcmmimfp16ps %tmm3, %tmm2, %tmm1 # encoding: [0xc4,0xe2,0x61,0x6c,0xca]
9 ; CHECK-NEXT:    retq # encoding: [0xc3]
10   call void @llvm.x86.tcmmimfp16ps(i8 1, i8 2, i8 3)
11   ret void
13 declare void @llvm.x86.tcmmimfp16ps(i8 %A, i8 %B, i8 %C)
15 define void @test_tcmmrlfp16ps() {
16 ; CHECK-LABEL: test_tcmmrlfp16ps:
17 ; CHECK:       # %bb.0:
18 ; CHECK-NEXT:    tcmmrlfp16ps %tmm3, %tmm2, %tmm1 # encoding: [0xc4,0xe2,0x60,0x6c,0xca]
19 ; CHECK-NEXT:    retq # encoding: [0xc3]
20   call void @llvm.x86.tcmmrlfp16ps(i8 1, i8 2, i8 3)
21   ret void
23 declare void @llvm.x86.tcmmrlfp16ps(i8 %A, i8 %B, i8 %C)