diff options
author | Jim Grosbach <grosbach@apple.com> | 2013-02-06 06:00:06 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2013-02-06 06:00:06 +0000 |
commit | 86c652a6b23556afd7e830eba2e6f099ed15aa5e (patch) | |
tree | dff31b2e777c9ad0d4bc40bbba1280ed72d1a537 /clang/unittests | |
parent | 36722d269408d390859a66012123b5e5af72fca8 (diff) | |
download | bcm5719-llvm-86c652a6b23556afd7e830eba2e6f099ed15aa5e.tar.gz bcm5719-llvm-86c652a6b23556afd7e830eba2e6f099ed15aa5e.zip |
Allow targets to add custom asm operand matching logic.
For example, ARM has several instructions with a literal '#0' immediate in the syntax
that's not represented as an actual operand. The asm matcher is expected a token
operand, but the parser will have created an immediate operand. This is currently
handled by dedicated per-instruction C++ munging of the ParsedAsmOperand list, but
will be better handled by this hook.
llvm-svn: 174487
Diffstat (limited to 'clang/unittests')
0 files changed, 0 insertions, 0 deletions