<div dir="ltr">Hi. Please review the attached patch.<div><br></div><div>It solves three issues with Thumb literal loads, namely:</div><div><br></div><div><div>1. The offset range for Thumb1 PC relative loads is [0..1020] and not [-1024..1020]</div>
<div>2. Thumb2 PC relative loads may define the PC, so the restriction placed on target register is removed</div><div>3. Removes unneeded alias between "ldr.n" and t1LDRpci. ".n" is actually stripped by both tablegen</div>
<div>and the ASM parser, so this alias rule really does nothing</div></div><div><br></div><div>Regards,</div><div>Mihai</div></div>