[X86][AMX][NFC] Avoid assert for the same immidiate value
authorWang, Pengfei <pengfei.wang@intel.com>
Fri, 23 Apr 2021 03:42:54 +0000 (11:42 +0800)
committerWang, Pengfei <pengfei.wang@intel.com>
Fri, 23 Apr 2021 04:17:00 +0000 (12:17 +0800)
commit53673fd1bf6f2dd94d8bb6ced49cc54ec5fc866b
tree9346d50818e5d25a693b47ff8f1a32ddfa8b4e26
parent90118563ad0f133c696e070ad72761fa0daa4517
[X86][AMX][NFC] Avoid assert for the same immidiate value

The previous condition in the assert was over strict. We ought to allow
the same immidiate value being loaded more than once. The intention for
the assert is to check the same AMX register uses multiple different
immidiate shapes. So this fix supposes to be NFC.

Reviewed By: LuoYuanke

Differential Revision: https://reviews.llvm.org/D101124
llvm/lib/Target/X86/X86TileConfig.cpp