Adds additional support for shortening LDR literal jmps.
Summary:
During relocation, jmps which use LDR (literal) and BR sequences
(smashed smashable jmps/jccs and patchable jmps/jccs) are shortened
to use simple PC relative B instructions. This patch extends this
to also shorten these sequences to absolute branches using
MOVZ/MOVK and BR instructions. The effect is to reduce D$ pressure
and to decrease instruction count.
Closes https://github.com/facebook/hhvm/pull/8059
Differential Revision:
D6764250
Pulled By: mxw
fbshipit-source-id:
ccdfb060ebdfdc84ab8134a09d6af5af9cbbeeb5