diff options
author | Tim Northover <tnorthover@apple.com> | 2014-08-18 11:49:42 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-08-18 11:49:42 +0000 |
commit | 26bb14e6a720071a1b96388984a167c06cd1c0e7 (patch) | |
tree | 7a4393cd2f904a2bca1792e68059b7a2f6a3d267 /llvm/lib/MC/MCParser/AsmParser.cpp | |
parent | 9c2f73ed205a47fdfa849cc55426b88e5cae4551 (diff) | |
download | bcm5719-llvm-26bb14e6a720071a1b96388984a167c06cd1c0e7.tar.gz bcm5719-llvm-26bb14e6a720071a1b96388984a167c06cd1c0e7.zip |
TableGen: allow use of uint64_t for available features mask.
ARM in particular is getting dangerously close to exceeding 32 bits worth of
possible subtarget features. When this happens, various parts of MC start to
fail inexplicably as masks get truncated to "unsigned".
Mostly just refactoring at present, and there's probably no way to test.
llvm-svn: 215887
Diffstat (limited to 'llvm/lib/MC/MCParser/AsmParser.cpp')
-rw-r--r-- | llvm/lib/MC/MCParser/AsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp index 4b603e57ac7..c01f3acc661 100644 --- a/llvm/lib/MC/MCParser/AsmParser.cpp +++ b/llvm/lib/MC/MCParser/AsmParser.cpp @@ -1636,7 +1636,7 @@ bool AsmParser::parseStatement(ParseStatementInfo &Info) { // If parsing succeeded, match the instruction. if (!HadError) { - unsigned ErrorInfo; + uint64_t ErrorInfo; getTargetParser().MatchAndEmitInstruction(IDLoc, Info.Opcode, Info.ParsedOperands, Out, ErrorInfo, ParsingInlineAsm); |