HomePhabricator

Remove CRC32 instructions from AArch64InstrInfo::hasShiftedReg

Authored by azharudd on Mar 12 2017, 7:02 AM.

Description

Remove CRC32 instructions from AArch64InstrInfo::hasShiftedReg

Summary:
A53 scheduler causes an assertion failure on all CRC instructions:
include/llvm/CodeGen/MachineInstr.h:280: const llvm::MachineOperand
&llvm::MachineInstr::getOperand(unsigned int) const: Assertion `i <
getNumOperands() && "getOperand() out of range!"' failed.

The case statements corresponding to CRC instructions are incorrect and should
be removed.

Also adding a testcase while on this.

Reviewers: t.p.northover, javed.absar, apazos, rengolin

Reviewed By: rengolin

Subscribers: evandro, aemerson, llvm-commits, rengolin

Differential Revision: https://reviews.llvm.org/D30274

llvm-svn: 297582

Details

Committed
azharuddMar 12 2017, 7:02 AM
Reviewer
rengolin
Differential Revision
D30274: Remove CRC32 instructions from AArch64InstrInfo::hasShiftedReg
Parents
rG293dfb976800: [X86] Add vector zext tests.
Branches
Unknown
Tags
Unknown