]> granicus.if.org Git - llvm/commit
[Hexagon] Use correct offset when extracting from the high word
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 8 Mar 2017 15:46:28 +0000 (15:46 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 8 Mar 2017 15:46:28 +0000 (15:46 +0000)
commitb01d205e89a82ddbec5ed0d7a4ffc15c6bb1aa1c
tree10f5674a408252072d59b388177c694282682df4
parentcd870f75a47a0576b4abdd287dfc27be5a7a9e77
[Hexagon] Use correct offset when extracting from the high word

When extracting a bitfield from the high register in a register pair,
the final offset should be relative to the high register (for 32-bit
extracts).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297288 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonBitSimplify.cpp
test/CodeGen/Hexagon/bit-extract-off.ll [new file with mode: 0644]