[Hexagon] Improve lowering of instructions to the MC layer
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 2 Dec 2015 23:08:29 +0000 (23:08 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 2 Dec 2015 23:08:29 +0000 (23:08 +0000)
commit413d8cd25eeaa1d210d057aae1c43b2989aee117
tree0ecb1e6f34fc9055cd4b027a561f1e8f355fabf3
parent1114aa2fc68b45b7cc2100585081ebeba0f3f694
[Hexagon] Improve lowering of instructions to the MC layer

- Add extenders when necessary.
- Handle some basic relocations.

This should fix the failure in tools/clang/test/CodeGenCXX/crash.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254564 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/Hexagon.h
lib/Target/Hexagon/HexagonAsmPrinter.cpp
lib/Target/Hexagon/HexagonMCInstLower.cpp