tblgen isn't sufficiently meta
| Bugzilla Link | 8330 |
| Resolution | FIXED |
| Resolved on | Sep 07, 2012 00:14 |
| Version | trunk |
| OS | All |
| CC | @darkbuck |
Extended Description
This crashes tblgen:
class Or4<bits<8> Val> { bits<8> V = {Val{7}, Val{6}, Val{5}, Val{4}, Val{3}, 1, Val{1}, Val{0} }; }
class Whatev<bits<8> x>;
multiclass X<bits<8> BaseOpc> {
def bar : Whatev<Or4
defm a : X<4>;
The problem is that tblgen needs to complete the instantiation of the anonymous def "Or4
fixed in r163360
Should this PR be changed to status=fixed?
fixed in r163360
a re-work on bit/bits value resolving fixes this issue as well as other related issues, please review the code at
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120827/149131.html