14 lines
472 B
LLVM
14 lines
472 B
LLVM
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||
|
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+amx-tile -mattr=+amx-bf16 -verify-machineinstrs | FileCheck %s
|
||
|
|
||
|
define void @test_amx() {
|
||
|
; CHECK-LABEL: test_amx:
|
||
|
; CHECK: # %bb.0:
|
||
|
; CHECK-NEXT: tdpbf16ps %tmm7, %tmm4, %tmm3
|
||
|
; CHECK-NEXT: retq
|
||
|
call void @llvm.x86.tdpbf16ps(i8 3, i8 4, i8 7)
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
declare void @llvm.x86.tdpbf16ps(i8 %tile0, i8 %tile1, i8 %tile2)
|