HomePhabricator

[AArch64] Improved bitfield instruction selection.

Authored by gberry on Sep 18 2015, 10:11 AM.

Description

[AArch64] Improved bitfield instruction selection.

Summary:
For bitfield insert OR matching, check both operands for larger pattern
first before checking for smaller pattern.

Add pattern for unsigned bitfield insert-in-zero done with SHL+AND.

Resolves PR21631.

Reviewers: jmolloy, t.p.northover

Subscribers: aemerson, rengolin, llvm-commits, mcrosier

Differential Revision: http://reviews.llvm.org/D12908

llvm-svn: 248006

Details

Committed
gberrySep 18 2015, 10:11 AM
Differential Revision
D12908: [AArch64] Improved bitfield instruction selection.
Parents
rG0f0e8d624c71: clang-cl: Use 'pc' for the vendor field in the default triple
Branches
Unknown
Tags
Unknown