[PATCH] D27130: [AArch64] Fix useful bits detection for BFM instructions

silviu.baranga@arm.com via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 25 06:52:21 PST 2016


sbaranga created this revision.
sbaranga added reviewers: t.p.northover, jmolloy.
sbaranga added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.

When computing useful bits for a BFM instruction, we need
to take into consideration the case where both operands
of the BFM are equal and provide data that we need to track.

Not doing this can cause us to miss useful bits.

      

Fixes PR31138 (https://llvm.org/bugs/show_bug.cgi?id=31138)


https://reviews.llvm.org/D27130

Files:
  lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  test/CodeGen/AArch64/arm64-bitfield-extract.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27130.79301.patch
Type: text/x-patch
Size: 3412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161125/67db0b27/attachment.bin>


More information about the llvm-commits mailing list