DAGISelEmitter does. This fixes 11 arm failures (8
left).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96757
91177308-0d34-0410-b5e6-
96231b3b80d8
// in COPY_TO_SUBREG instructions.
if (DI->getDef()->isSubClassOf("RegisterClass")) {
std::string Value = getQualifiedName(DI->getDef()) + "RegClassID";
- AddMatcherNode(new EmitStringIntegerMatcherNode(Value, N->getTypeNum(0)));
+ AddMatcherNode(new EmitStringIntegerMatcherNode(Value, MVT::i32));
ResultOps.push_back(NextRecordedOperandNo++);
return;
}