OSDN Git Service

[AArch64] Spot SBFX-compatible code expressed with sign_extend.
authorChad Rosier <mcrosier@codeaurora.org>
Fri, 3 Jun 2016 20:05:49 +0000 (20:05 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Fri, 3 Jun 2016 20:05:49 +0000 (20:05 +0000)
commit2ef8a598eb2b2373b9d0a1ae7cb0806cd5d43d2c
tree97ad4d0f79bde92bbda05c8c9dfa22920c4fa87e
parentbe9ff87ce6d9c14ddfffe92ac50cd6ddeb7736a4
[AArch64] Spot SBFX-compatible code expressed with sign_extend.

This is very similar to r271677, but for extracts from i32 with the SIGN_EXTEND
acting on a arithmetic shift.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271717 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
test/CodeGen/AArch64/bitfield-extract.ll [new file with mode: 0644]