[PATCH] D30274: Remove CRC32 instructions from AArch64InstrInfo::hasShiftedReg
Azharuddin Mohammed via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 10:27:28 PST 2017
azharudd updated this revision to Diff 90880.
azharudd added a comment.
Updated the context around the change.
https://reviews.llvm.org/D30274
Files:
lib/Target/AArch64/AArch64InstrInfo.cpp
test/CodeGen/AArch64/arm64-crc32.ll
Index: test/CodeGen/AArch64/arm64-crc32.ll
===================================================================
--- test/CodeGen/AArch64/arm64-crc32.ll
+++ test/CodeGen/AArch64/arm64-crc32.ll
@@ -1,4 +1,5 @@
; RUN: llc -mtriple=arm64-eabi -mattr=+crc -o - %s | FileCheck %s
+; RUN: llc -mtriple=arm64-eabi -mcpu=cortex-a53 -mattr=+crc -o - %s | FileCheck %s
define i32 @test_crc32b(i32 %cur, i8 %next) {
; CHECK-LABEL: test_crc32b:
Index: lib/Target/AArch64/AArch64InstrInfo.cpp
===================================================================
--- lib/Target/AArch64/AArch64InstrInfo.cpp
+++ lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -1345,14 +1345,6 @@
case AArch64::BICSXrs:
case AArch64::BICWrs:
case AArch64::BICXrs:
- case AArch64::CRC32Brr:
- case AArch64::CRC32CBrr:
- case AArch64::CRC32CHrr:
- case AArch64::CRC32CWrr:
- case AArch64::CRC32CXrr:
- case AArch64::CRC32Hrr:
- case AArch64::CRC32Wrr:
- case AArch64::CRC32Xrr:
case AArch64::EONWrs:
case AArch64::EONXrs:
case AArch64::EORWrs:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30274.90880.patch
Type: text/x-patch
Size: 1033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/dcd43b54/attachment.bin>
More information about the llvm-commits
mailing list