summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmParser
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2013-09-18 09:45:55 +0000
committerJoey Gouly <joey.gouly@arm.com>2013-09-18 09:45:55 +0000
commit2f8890ed1ca114aaebb2c8829cbd83eb8d0db194 (patch)
treef330f1ca53a909016d93c0960cf34c798c4c38b7 /llvm/lib/Target/ARM/AsmParser
parent90ec1643ad81364cc64dd23a9b98f097cf96c5fc (diff)
downloadbcm5719-llvm-2f8890ed1ca114aaebb2c8829cbd83eb8d0db194.tar.gz
bcm5719-llvm-2f8890ed1ca114aaebb2c8829cbd83eb8d0db194.zip
[ARMv8] Add CRC instructions.
Patch by Bradley Smith! llvm-svn: 190928
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser')
-rw-r--r--llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 032e74438a8..ed9c8c4e00b 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -4803,7 +4803,7 @@ getMnemonicAcceptInfo(StringRef Mnemonic, bool &CanAcceptCarrySet,
if (Mnemonic == "bkpt" || Mnemonic == "cbnz" || Mnemonic == "setend" ||
Mnemonic == "cps" || Mnemonic == "it" || Mnemonic == "cbz" ||
- Mnemonic == "trap" || Mnemonic == "hlt" ||
+ Mnemonic == "trap" || Mnemonic == "hlt" || Mnemonic.startswith("crc32") ||
Mnemonic.startswith("cps") || Mnemonic.startswith("vsel") ||
Mnemonic == "vmaxnm" || Mnemonic == "vminnm" || Mnemonic == "vcvta" ||
Mnemonic == "vcvtn" || Mnemonic == "vcvtp" || Mnemonic == "vcvtm" ||
OpenPOWER on IntegriCloud