1 ; RUN: not llc < %s -mtriple=x86_64-unknown-unknown -mattr=+amx-tile -o /dev/null 2>&1 | FileCheck %s
3 @row = dso_local global i16 8, align 2
4 @col = dso_local global i16 8, align 2
6 define dso_local void @add() {
8 ; CHECK: Failed to config tile register
9 %t0 = load i16, ptr @row, align 2
10 %t1 = call x86_amx @llvm.x86.tilezero.internal(i16 %t0, i16 64)
11 %t2 = load i16, ptr @col, align 2
12 %t3 = call x86_amx @llvm.x86.tilezero.internal(i16 16, i16 %t2)
16 declare x86_amx @llvm.x86.tilezero.internal(i16, i16)