mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 12:55:45 +00:00
Comment only: Annotate loop as per mailing list discussion
llvm-svn: 216798
This commit is contained in:
parent
835beeaa34
commit
efdb754d1a
@ -1315,6 +1315,9 @@ Init *TGParser::ParseSimpleValue(Record *CurRec, RecTy *ItemType,
|
||||
// first. We'll first read everything in to a vector, then we can reverse
|
||||
// it to get the bits in the correct order for the BitsInit value.
|
||||
for (unsigned i = 0, e = Vals.size(); i != e; ++i) {
|
||||
// FIXME: The following two loops would not be duplicated
|
||||
// if the API was a little more orthogonal.
|
||||
|
||||
// bits<n> values are allowed to initialize n bits.
|
||||
if (BitsInit *BI = dyn_cast<BitsInit>(Vals[i])) {
|
||||
for (unsigned i = 0, e = BI->getNumBits(); i != e; ++i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user