[Hexagon] Bit-based instruction simplification
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 20 Oct 2015 22:57:13 +0000 (22:57 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 20 Oct 2015 22:57:13 +0000 (22:57 +0000)
commitc75a25368946ce7dda69b34ee71ff79467de7afd
tree3ab7bb15964267c21c265f5b771e5d34128b1dda
parent84aa3b5def3a83d5e738747cc8b677c40ab1df4b
[Hexagon] Bit-based instruction simplification

Analyze bit patterns of operands and values of instructions to perform
various simplifications, dead/redundant code elimination, etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250868 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/CMakeLists.txt
lib/Target/Hexagon/HexagonBitSimplify.cpp [new file with mode: 0644]
lib/Target/Hexagon/HexagonTargetMachine.cpp
test/CodeGen/Hexagon/adde.ll
test/CodeGen/Hexagon/bit-eval.ll [new file with mode: 0644]
test/CodeGen/Hexagon/bit-loop.ll [new file with mode: 0644]
test/CodeGen/Hexagon/clr_set_toggle.ll
test/CodeGen/Hexagon/opt-fabs.ll
test/CodeGen/Hexagon/sube.ll