[PATCH] D18436: [mips] Range check simm11 and mem_simm11.
Vasileios Kalintiris via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 30 14:35:30 PDT 2016
vkalintiris accepted this revision.
vkalintiris added a comment.
This revision is now accepted and ready to land.
LGTM, with a small change to fix a typo in the error message.
================
Comment at: lib/Target/Mips/AsmParser/MipsAsmParser.cpp:3791
@@ -3789,1 +3790,3 @@
+ return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
+ "expected 10-bit signed immediate");
case Match_UImm16:
----------------
s/10/11/
http://reviews.llvm.org/D18436
More information about the llvm-commits
mailing list