diff options
author | James Molloy <james.molloy@arm.com> | 2014-08-01 12:42:11 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2014-08-01 12:42:11 +0000 |
commit | 137ce60ecfe86a6b9b99ccbb42493f4bced7bbcf (patch) | |
tree | aaf203cb869a12e5e78e3e08542f7e5d57bc0eb9 /llvm/lib/Support/CommandLine.cpp | |
parent | d6807dafb3acbc7c48c1020cf028325960997ed1 (diff) | |
download | llvm-137ce60ecfe86a6b9b99ccbb42493f4bced7bbcf.zip llvm-137ce60ecfe86a6b9b99ccbb42493f4bced7bbcf.tar.gz llvm-137ce60ecfe86a6b9b99ccbb42493f4bced7bbcf.tar.bz2 |
Allow only disassembling of M-class MSR masks that the assembler knows how to assemble back.
Note: The current code in DecodeMSRMask() rejects the unpredictable A/R MSR mask '0000' with Fail. The code in the patch follows this style and rejects unpredictable M-class MSR masks also with Fail (instead of SoftFail). If SoftFail is preferred in this case then additional changes to ARMInstPrinter (to print non-symbolic masks) and ARMAsmParser (to parse non-symbolic masks) will be needed.
Patch by Petr Pavlu!
llvm-svn: 214505
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions