]> granicus.if.org Git - llvm/commit
[Hexagon] Generate store-immediate instructions for stack objects
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 13 Jun 2017 17:10:16 +0000 (17:10 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 13 Jun 2017 17:10:16 +0000 (17:10 +0000)
commit329af083827c20a33d59dac914c453a208528dab
tree8d555c8e67a313f811c65cadea438b9805cc64eb
parent10ccfa6a1e7efc62fb55961986ada2c442a17491
[Hexagon] Generate store-immediate instructions for stack objects

Store-immediate instructions have a non-extendable offset. Since the
actual offset for a stack object is not known until much later, only
generate these stores when the stack size (at the time of instruction
selection) is small.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305305 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
lib/Target/Hexagon/HexagonPatterns.td
test/CodeGen/Hexagon/store-imm-stack-object.ll [new file with mode: 0644]