1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/test/Verifier/x86_amx2.ll
Luo, Yuanke eed19ff5a2 [X86][AMX] Verify illegal types or instructions for x86_amx.
This patch is related to https://reviews.llvm.org/D100032 which define
some illegal types or operations for x86_amx. There are no arguments,
arrays, pointers, vectors or constants of x86_amx.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D100472
2021-04-20 16:14:22 +08:00

10 lines
185 B
LLVM

; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
define dso_local void @f() {
entry:
%a.addr = alloca <2 x x86_amx>, align 4
ret void
}
; CHECK: invalid vector element type