Commit Graph

2 Commits

Author SHA1 Message Date
Paul C. Anagnostopoulos 93b4f85382 Update TableGen test files to use the new '...' range punctuation. 2020-09-12 16:26:32 -04:00
Matt Arsenault b79a25b124 TableGen: Handle nontrivial foreach range bounds
This allows using anything that isn't a literal integer as the bounds
for a foreach. Some of the diagnostics aren't perfect, but nobody ever
accused tablegen of having good errors. For example, the existing
wording suggests a bitrange is valid, but as far as I can tell this
has never worked.

Fixes bug 41958.

llvm-svn: 361434
2019-05-22 21:28:20 +00:00