diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-05-29 01:03:37 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-05-29 01:03:37 +0000 |
commit | eb4dbd8552c0a0773c33fd5ede252c4e76dd3fb4 (patch) | |
tree | 1b9ceb2bf72c2df69c838efc5f1494e8cdb55467 /llvm/lib/CodeGen | |
parent | 5340683e7aa7474cf77cac451d584a8fcef083c6 (diff) | |
download | bcm5719-llvm-eb4dbd8552c0a0773c33fd5ede252c4e76dd3fb4.tar.gz bcm5719-llvm-eb4dbd8552c0a0773c33fd5ede252c4e76dd3fb4.zip |
[TableGen][AsmMatcherEmitter] Only parse isolated tokens as registers.
Fixes PR23455, where, when TableGen generates the matcher from the
AsmString, it splits "cmp${cc}ss" into tokens, and the "ss" suffix
is recognized as the SS register.
I can't think of a situation where that's a feature, not a bug, hence:
when a token is "isolated", i.e., it is followed and preceded by
separators, it shouldn't be parsed as a register.
Differential Revision: http://reviews.llvm.org/D9844
llvm-svn: 238536
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions