[Hexagon] Express calling conventions via .td file instead of hand-coding
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Fri, 9 Feb 2018 15:30:02 +0000 (15:30 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Fri, 9 Feb 2018 15:30:02 +0000 (15:30 +0000)
commit7cfe7cbcccddf4385b679a4818c4aa8dd5d98fed
tree182be14ba06a526f4bd056164a89999d69ef31a5
parentbe58c9605db6eb772dcad678bc61177e6ebfc829
[Hexagon] Express calling conventions via .td file instead of hand-coding

Additionally, simplify the rest of the argument/parameter lowering code.

llvm-svn: 324737
llvm/lib/Target/Hexagon/CMakeLists.txt
llvm/lib/Target/Hexagon/Hexagon.td
llvm/lib/Target/Hexagon/HexagonCallingConv.td [new file with mode: 0644]
llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
llvm/test/CodeGen/Hexagon/vec-vararg-align.ll
llvm/test/MC/Hexagon/inst_select.ll