llvm/lib/Target/ARM/AsmParser
Sjoerd Meijer d369b4141b ARMAsmParser: clean up of isImmediate functions
- we are now using immediate AsmOperands so that the range check functions are
  tablegen'ed.
- Big bonus is that error messages become much more accurate, i.e. instead of a
  useless "invalid operand" error message it will not say that the immediate
  operand must in range [x,y], which is why regression tests needed updating.

More tablegen operand descriptions could probably benefit from using
immediateAsmOperand, but this is a first good step to get rid of most of the
nearly identical range check functions. I will address the remaining immediate
operands in next clean ups.

Differential Revision: https://reviews.llvm.org/D31333



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299358 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-03 14:50:04 +00:00
..
ARMAsmParser.cpp ARMAsmParser: clean up of isImmediate functions 2017-04-03 14:50:04 +00:00
CMakeLists.txt
LLVMBuild.txt