From: Jim Grosbach Date: Fri, 26 Aug 2011 22:21:51 +0000 (+0000) Subject: ARM assembly parsing tweak for pldw. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4af54a461fad6c98df72dd18e607bfb32bfc486f;p=oota-llvm.git ARM assembly parsing tweak for pldw. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138669 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 33ebaa0b2fb..b00416fe406 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -2977,9 +2977,10 @@ getMnemonicAcceptInfo(StringRef Mnemonic, bool &CanAcceptCarrySet, Mnemonic == "dsb" || Mnemonic == "isb" || Mnemonic == "clrex" || Mnemonic == "setend" || (Mnemonic == "nop" && isThumbOne()) || - ((Mnemonic == "pld" || Mnemonic == "pli") && !isThumb()) || - ((Mnemonic.startswith("rfe") || Mnemonic.startswith("srs")) - && !isThumb()) || + ((Mnemonic == "pld" || Mnemonic == "pli" || Mnemonic == "pldw") && + !isThumb()) || + ((Mnemonic.startswith("rfe") || Mnemonic.startswith("srs")) && + !isThumb()) || Mnemonic.startswith("cps") || (Mnemonic == "movs" && isThumb())) { CanAcceptPredicationCode = false; } else {