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)
commit5466e36fb5887ba3f9fa84e75024cedb147469bc
treeb8e92b968fe369c86e7e664861a29771bb6db473
parentd5d7bb5591ec3f48ee45ce27a3dc18d16a9337fe
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.

llvm-svn: 175257
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/test/CodeGen/AArch64/large-frame.ll