OSDN Git Service

[Hexagon] Skip fixed-stack indexes in HexagonConstExtenders
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Fri, 20 Apr 2018 19:06:46 +0000 (19:06 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Fri, 20 Apr 2018 19:06:46 +0000 (19:06 +0000)
commit8200c2d55a774264c9ac4c0986c0ec05ae0ed109
tree08e287933e15ad22003d89b8c22de9d87f056a0f
parentf407f3fba1948e07168be24b56fff8c75669c28e
[Hexagon] Skip fixed-stack indexes in HexagonConstExtenders

Fixed slots have negative values, and TRI::stackSlot2Index and
TRI::index2StackSlot do not handle negative numbers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330468 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonConstExtenders.cpp
test/CodeGen/Hexagon/cext-opt-negative-fi.mir [new file with mode: 0644]