From 4af54a461fad6c98df72dd18e607bfb32bfc486f Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Fri, 26 Aug 2011 22:21:51 +0000 Subject: [PATCH] ARM assembly parsing tweak for pldw. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138669 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 { -- 2.34.1