AArch64: refactor frame handling to use movz/movk for overlarge offsets.
authorTim Northover <Tim.Northover@arm.com>
Fri, 15 Feb 2013 09:33:26 +0000 (09:33 +0000)
committerTim Northover <Tim.Northover@arm.com>
Fri, 15 Feb 2013 09:33:26 +0000 (09:33 +0000)
commit148ac534fc5592ed7031efde9a577890f078068b
tree84b546d904cd5db7916064bce054701430253ae0
parentc4439c3508aa705add9dc46106270f0b3763b882
AArch64: refactor frame handling to use movz/movk for overlarge offsets.

In the near future litpools will be in a different section, which means that
any access to them is at least two instructions. This makes the case for a
movz/movk pair (if total offset <= 32-bits) even more compelling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175257 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrInfo.cpp
test/CodeGen/AArch64/large-frame.ll