TableGen: allow use of uint64_t for available features mask.
authorTim Northover <tnorthover@apple.com>
Mon, 18 Aug 2014 11:49:42 +0000 (11:49 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 18 Aug 2014 11:49:42 +0000 (11:49 +0000)
commit049ffbbdf2a43d5529cb56b6bb696d20d28ff217
tree954599b148d25fb79701592fd77e43114d8b849e
parent56c15de38a1c43bc0fcfb19fa655d68af3479d7d
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215887 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCTargetAsmParser.h
lib/MC/MCParser/AsmParser.cpp
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
lib/Target/X86/AsmParser/X86AsmParser.cpp
utils/TableGen/AsmMatcherEmitter.cpp