AArch64: decode all MRS/MSR forms early to avoid saving FeatureBits.
authorTim Northover <tnorthover@apple.com>
Thu, 22 Jan 2015 17:23:04 +0000 (17:23 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 22 Jan 2015 17:23:04 +0000 (17:23 +0000)
commit4bfc1fc49f1418260cdf88a4dd39d6c0af539042
tree2b5b3189b79a87892ce5f2142633df65d7dcfb98
parent8ab06b49c4608470e210de6e1164beab96a138c4
AArch64: decode all MRS/MSR forms early to avoid saving FeatureBits.

Currently, we're adding a uint64_t describing the current subtarget so
that matching can check whether the specified register is valid.
However, we want to move to a bitset for those bits (x86 has more than
64 of them).

This can't live in a union so it's probably better to do the checks
early (especially as there are only 3 of them).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226841 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp