]> granicus.if.org Git - llvm/commit
[ARM] Fix FP16 stack loads/stores for Thumb2 with frame pointer
authorOliver Stannard <oliver.stannard@arm.com>
Fri, 1 Mar 2019 14:20:28 +0000 (14:20 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Fri, 1 Mar 2019 14:20:28 +0000 (14:20 +0000)
commited849dca81fefbc12ab0224bd1940705304ee00c
treefa1e601d331bb1f491059e8d8167be902f59c944
parentc064077099d09ec9178b6e72c013dcf9ffcba3b2
[ARM] Fix FP16 stack loads/stores for Thumb2 with frame pointer

The new addressing mode added for the v8.2A FP16 instructions uses bit 8 of the
immediate to encode the sign of the offset, like the other FP loads/stores, so
need to be treated the same way.

Differential revision: https://reviews.llvm.org/D58816

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355201 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb2InstrInfo.cpp
test/CodeGen/ARM/fp16-frame-lowering.ll [new file with mode: 0644]