[llvm-commits] [PATCH] Fix lowering of CALLpcrel32 with absolute address (PR8656)

Chris Lattner clattner at apple.com
Sat Nov 20 21:55:59 PST 2010


On Nov 20, 2010, at 6:09 PM, David Meyer wrote:

> Rafael,
> 
> Patch attached. Fixes the bug in .bc -> .o emission of CALLpcrel32 with absolute address.

I don't think that this is the right patch.  An imm operand should always be the same as an MCExpr with an imm as its value.  Perhaps the encoding code needs to be generalized to handle both forms?

-Chris





More information about the llvm-commits mailing list