; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s @buf = dso_local global [1024 x i8] zeroinitializer, align 16 define dso_local void @test_tile_init(i16 signext %row, i16 signext %col) { entry: tail call void @llvm.x86.tilestored64.internal(i16 %row, i16 %col, ptr @buf, i64 64, x86_amx bitcast (<256 x i32> to x86_amx)) ret void } ; CHECK: const x86_amx is not allowed in argument! declare void @llvm.x86.tilestored64.internal(i16, i16, ptr, i64, x86_amx)