[Hexagon] Generate "extract" instructions more aggressively
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 14 Jul 2015 17:07:24 +0000 (17:07 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 14 Jul 2015 17:07:24 +0000 (17:07 +0000)
commit14e60218b6893cf4ef3487e92a8b2c252d114e66
tree718a518882f7f9973ca563257162aaf2eceba40f
parent6e9f427cb2916cebfac98fc8e0da1dab7f095556
[Hexagon] Generate "extract" instructions more aggressively

Generate extract instructions (via intrinsics) before the DAG combiner
folds shifts into unrecognizable forms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242163 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/CMakeLists.txt
lib/Target/Hexagon/HexagonGenExtract.cpp [new file with mode: 0644]
lib/Target/Hexagon/HexagonTargetMachine.cpp
test/CodeGen/Hexagon/extract-basic.ll [new file with mode: 0644]
test/CodeGen/Hexagon/fusedandshift.ll