[PATCH] [Thumb1] Re-write emitThumbRegPlusImmediate

Oliver Stannard oliver.stannard at arm.com
Thu Nov 13 05:43:11 PST 2014


* Use existing RoundUpToAlignment
* Remove isMul4, as it is unused in release builds
* Assert on a case we could handle, but currently don't (and don't need to)
* Don't fall back to the const pool when we don't have an extra instruction but also don't need one (I think this case is currently unused)

http://reviews.llvm.org/D6211

Files:
  include/llvm/Support/MathExtras.h
  lib/Target/ARM/Thumb1RegisterInfo.cpp
  test/CodeGen/ARM/thumb1-varalloc.ll
  test/CodeGen/Thumb/large-stack.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6211.16152.patch
Type: text/x-patch
Size: 17251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141113/98465a89/attachment.bin>


More information about the llvm-commits mailing list