[PATCH] Make "mov" work for all Thumb2 MOV encodings

Tim Northover t.p.northover at gmail.com
Wed Aug 21 05:07:34 PDT 2013


Hi Mihail,

On 20 August 2013 17:03, Mihail Popa <mihail.popa at gmail.com> wrote:
> Hi. Please review the attached patch.

Have you tried the patch without this line:

+  let EncoderMethod = "getHiLo16ImmOpValue";

An Operand used only for an InstAlias shouldn't ever need to be
encoded; it'll be the original instruction that makes it through to
object writing.

Other than that, it looks good to me.

Cheers.

Tim.



More information about the llvm-commits mailing list