git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297572
91177308-0d34-0410-b5e6-
96231b3b80d8
ValueType KVT = !cast<ValueType>(!if (!eq (NumElts, 1), "i1",
"v" # NumElts # "i1"));
- // The GPR register class that can hold the write mask. Use GR8 for fewer
- // than 8 elements. Use shift-right and equal to work around the lack of
- // !lt in tablegen.
- RegisterClass MRC =
- !cast<RegisterClass>("GR" #
- !if (!eq (!srl(NumElts, 3), 0), 8, NumElts));
-
// Suffix used in the instruction mnemonic.
string Suffix = suffix;