[llvm-commits] [PATCH] Fix PR11985

Michael Liao michael.liao at intel.com
Fri Aug 31 10:38:08 PDT 2012


Hi

The attached patch addresses the issue found in PR11985. BlockAddress
doesn't support BA + offset form and has no way to propagate offset into
machine operand if target could support that. BlockAddress node is
revised to support extra offset (0 by default.) and
getTargetBlockAddress is added (similar to other symbol reference
nodes.) X86 backend is enhanced to prepare BlockAddress with non-0
offset. All other backends are slightly modified to use the new
interface.

Thanks for your review!

Yours
- Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-PR11985.patch
Type: text/x-patch
Size: 18632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120831/7334b954/attachment.bin>


More information about the llvm-commits mailing list