diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2016-06-23 10:54:09 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2016-06-23 10:54:09 +0000 |
commit | 8e17bea7d58c6492edfbba2309daaf54f363c7c7 (patch) | |
tree | 160441307403cec806dedcea6b770f06623c094a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 8e6aab383edaef5cf319dab37ab9b61e9c7ee1cd (diff) | |
download | llvm-8e17bea7d58c6492edfbba2309daaf54f363c7c7.zip llvm-8e17bea7d58c6492edfbba2309daaf54f363c7c7.tar.gz llvm-8e17bea7d58c6492edfbba2309daaf54f363c7c7.tar.bz2 |
[mips][ias] Integers are not registers.
Summary:
When parseAnyRegister() encounters a symbol alias, it parses integers and adds
a corresponding expression to the operand list. This is clearly wrong since the
only operands that parseAnyRegister() should be accepting are registers.
It's not clear why this code was added and there are no test cases that cover
it. I think it might be leftover from when searchSymbolAlias() was more widely
used.
Reviewers: sdardis
Subscribers: dsanders, sdardis, llvm-commits
Differential Revision: http://reviews.llvm.org/D21377
llvm-svn: 273555
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions