diff options
| author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2017-04-03 14:50:04 +0000 |
|---|---|---|
| committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2017-04-03 14:50:04 +0000 |
| commit | 1179470ff8c710b4f609e2c052d3de84b9296eb8 (patch) | |
| tree | 7b74c6af6995b2faed0bd282cdfee73ccde37983 /polly/lib/CodeGen/PerfMonitor.cpp | |
| parent | 0b8949e6ed1497040c5dd3e375f65457f8003b1c (diff) | |
| download | bcm5719-llvm-1179470ff8c710b4f609e2c052d3de84b9296eb8.tar.gz bcm5719-llvm-1179470ff8c710b4f609e2c052d3de84b9296eb8.zip | |
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
llvm-svn: 299358
Diffstat (limited to 'polly/lib/CodeGen/PerfMonitor.cpp')
0 files changed, 0 insertions, 0 deletions

