[PATCH] [Thumb1] Re-write emitThumbRegPlusImmediate

Oliver Stannard oliver.stannard at arm.com
Fri Nov 14 09:20:19 PST 2014


Add an extra assertion to catch the case where RangeAfterCopy is not aligned, but CopyOpc requires an aligned immediate.

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.16220.patch
Type: text/x-patch
Size: 17502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141114/9e1f7931/attachment.bin>


More information about the llvm-commits mailing list