[X86][AMX] Verify illegal types or instructions for x86_amx.
authorLuo, Yuanke <yuanke.luo@intel.com>
Tue, 20 Apr 2021 07:52:29 +0000 (15:52 +0800)
committerLuo, Yuanke <yuanke.luo@intel.com>
Tue, 20 Apr 2021 08:14:22 +0000 (16:14 +0800)
commitbcdaccfe3466dcce889596599de4a6188726a84e
tree3557e181df2d7e899f80282c38057b81619c2f32
parent5e71b9fa933a279458f31adffb2a092493a9e1eb
[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
13 files changed:
llvm/lib/IR/Type.cpp
llvm/lib/IR/Verifier.cpp
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
llvm/test/Verifier/token6.ll
llvm/test/Verifier/x86_amx1.ll [new file with mode: 0644]
llvm/test/Verifier/x86_amx2.ll [new file with mode: 0644]
llvm/test/Verifier/x86_amx3.ll [new file with mode: 0644]
llvm/test/Verifier/x86_amx4.ll [new file with mode: 0644]
llvm/test/Verifier/x86_amx5.ll [new file with mode: 0644]
llvm/test/Verifier/x86_amx6.ll [new file with mode: 0644]
llvm/test/Verifier/x86_amx7.ll [new file with mode: 0644]
llvm/test/Verifier/x86_amx8.ll [new file with mode: 0644]
llvm/test/Verifier/x86_amx9.ll [new file with mode: 0644]