[llvm] 224502 - ARM: improve instruction validation for thumb mode

Saleem Abdulrasool compnerd at compnerd.org
Thu Dec 18 08:18:33 PST 2014


On Thu, Dec 18, 2014 at 4:39 AM, Asiri Rathnayake <asiri.rathnayake at arm.com>
wrote:

> Hi Saleem,
>
> This patch:
> http://llvm.org/viewvc/llvm-project?view=revision&revision=224502
>
> Is crashing some MCHammer runs. Here's an llvm-mc reproducer:
>
> > echo 'PUSH.W   {r0}' | ./bin/llvm-mc -triple=thumbv7 --show-encoding
> --show-inst
>
> Can you have a look?
>

Thanks for pointing that out.  Seems that I had retained the offset from
the existing code which was off by one.  Fixed in SVN r224521 with test
cases (for both the push and pop cases).


> Best,
>
> - Asiri
>
>
>
>

-- 
Saleem Abdulrasool
compnerd (at) compnerd (dot) org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141218/cc1b1e69/attachment.html>


More information about the llvm-commits mailing list