[X86] [AMX] Fix the test case failure caused by D107544.
authorBing1 Yu <bing1.yu@intel.com>
Wed, 18 Aug 2021 05:40:19 +0000 (13:40 +0800)
committerBing1 Yu <bing1.yu@intel.com>
Wed, 18 Aug 2021 14:27:22 +0000 (22:27 +0800)
commitffe58de39319b42b46319473263b59bd68ceee67
tree97e3f1f9b1f9ffc354cca1a0bd4ba7ba3cff8c3d
parent0dfce025c4109b3112a58ee09b71183f178eb751
[X86] [AMX] Fix the test case failure caused by D107544.

The issue can be duplicated when EXPENSIVE_CHECKS is specified for llvm
build. Thank Simon report this issue at
https://bugs.llvm.org/show_bug.cgi?id=51513. We need return correct
value for the changed IR.

Reviewed By: RKSimon, LuoYuanke

Differential Revision: https://reviews.llvm.org/D108269
llvm/lib/Target/X86/X86LowerAMXType.cpp