diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-01-20 19:18:32 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-01-20 19:18:32 +0000 |
commit | e965f06f7fbd759e725f4f65cfa43c54a2e7a1dc (patch) | |
tree | 43782507def766896d9c37ef51c4bf5cf7a1a7ba /llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | |
parent | a48eacc0b6c2433d3e22580b15ae2a37e1693dcb (diff) | |
download | bcm5719-llvm-e965f06f7fbd759e725f4f65cfa43c54a2e7a1dc.tar.gz bcm5719-llvm-e965f06f7fbd759e725f4f65cfa43c54a2e7a1dc.zip |
Fix the encoding and parsing of clrex instruction
llvm-svn: 123936
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index ee6ef2b8192..b388dced012 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -1194,7 +1194,8 @@ GetMnemonicAcceptInfo(StringRef Mnemonic, bool &CanAcceptCarrySet, Mnemonic == "cps" || Mnemonic == "mcr2" || Mnemonic == "it" || Mnemonic == "mcrr2" || Mnemonic == "cbz" || Mnemonic == "cdp2" || Mnemonic == "trap" || Mnemonic == "mrc2" || Mnemonic == "mrrc2" || - Mnemonic == "dsb" || Mnemonic == "movs" || Mnemonic == "isb") { + Mnemonic == "dsb" || Mnemonic == "movs" || Mnemonic == "isb" || + Mnemonic == "clrex") { CanAcceptPredicationCode = false; } else { CanAcceptPredicationCode = true; |