[X86][mem-fold] Only run x86-fold-tables.test when target x86 is built
authorShengchen Kan <shengchen.kan@intel.com>
Tue, 11 Apr 2023 04:32:37 +0000 (12:32 +0800)
committerShengchen Kan <shengchen.kan@intel.com>
Tue, 11 Apr 2023 04:48:44 +0000 (12:48 +0800)
commit2588e831af4a2240825215670c53717f07a95b3a
treeb57109b05d2268317a48bd170a63d1872d31106d
parent7cbddd76b2d2955a5f751344076cba4db211b1dc
[X86][mem-fold] Only run x86-fold-tables.test when target x86 is built

Avoid the LIT fail when only arm/aarch64 is built.
llvm/test/TableGen/x86-fold-tables.test