diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-11-06 22:36:58 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-11-06 22:36:58 +0000 |
commit | e18980aeaacf34b0b57786656e9e3c5735a5c804 (patch) | |
tree | 7c1bcd4b83b68097f3ab7112415d3150dd877a61 /llvm/lib/Support/StringRef.cpp | |
parent | 9654e108d73532d6f9f022881cfb21a11aac3c3f (diff) | |
download | llvm-e18980aeaacf34b0b57786656e9e3c5735a5c804.zip llvm-e18980aeaacf34b0b57786656e9e3c5735a5c804.tar.gz llvm-e18980aeaacf34b0b57786656e9e3c5735a5c804.tar.bz2 |
Add support for parsing register lists. We can't use a bitfield to keep track of
the registers, because the register numbers may be much greater than the number
of bits available in the machine's register.
I extracted the register list verification code out of the actual parsing of the
registers. This made checking for errors much easier. It also limits the number
of warnings that would be emitted for cascading infractions.
llvm-svn: 118363
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions