[SystemZ] Use LDE32 instead of LE, when Offset is small.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 12 Apr 2016 12:07:23 +0000 (12:07 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 12 Apr 2016 12:07:23 +0000 (12:07 +0000)
commitf0fc50905f361f30b1f07c0335db2585cdfed77b
tree5d72e09cb82e88d24b7ca1532776e5c50049cfaa
parentf2638d42560998a77d9e973496e57e3b55676f85
[SystemZ] Use LDE32 instead of LE, when Offset is small.

On z13, if eliminateFrameIndex() chooses LE (and not LEY), immediately
transform that LE to LDE32 to avoid partial register dependencies.

LEY should be generally preferred for big offsets over an expansion
into LAY + LDE32.

Reviewed by Ulrich Weigand.

llvm-svn: 266060
llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp