[llvm-commits] [PATCH] Efficient implementation of ITState tracking in Thumb disassembler

Richard Barton richard.barton at arm.com
Thu Mar 29 10:53:29 PDT 2012


Hello reviewers

The attached patch refactors the disassembly of Thumb IT instructions. The IT
state is pushed to a stack and then popped and applied to subsequent
instructions in the IT block. 

The old implementation used an insertion at the front of a vector which is
linear in complexity to the size of the vector. My patch replaces it with an
actual stack, and encapsulates it in a class.

Please review.

Thanks 

Richard Barton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdcomp_18512_IT_state_refactor.patch
Type: application/octet-stream
Size: 7248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120329/63ce2b6f/attachment.obj>


More information about the llvm-commits mailing list