Currently, UImm16_AltRelaxed match type is not handled in
MatchAndEmitInstruction() function, which may result in
llvm_unreachable() behavior.
This patch adds necessary case for this match type.
Patch by Aleksandar Beserminji.
Differential Revision: https://reviews.llvm.org/D37682
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313077
91177308-0d34-0410-b5e6-
96231b3b80d8
"expected 11-bit signed immediate");
case Match_UImm16:
case Match_UImm16_Relaxed:
+ case Match_UImm16_AltRelaxed:
return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
"expected 16-bit unsigned immediate");
case Match_SImm16: