[llvm-commits] Pointer subtraction for IRBuilder

Eli Friedman eli.friedman at gmail.com
Thu Apr 9 15:49:20 PDT 2009


On Thu, Apr 9, 2009 at 2:08 PM, Jeffrey Yasskin <jyasskin at google.com> wrote:
> The included test passes,
> but it involves a warning that "ISO C++ forbids casting between
> pointer-to-function and pointer-to-object", which I don't know how to
> get rid of given the ExecutionEngine interface.

A unittest of core IR interfaces shouldn't depend on the JIT.  I'd
suggest manually checking that the expected instructions are
generated.

-Eli



More information about the llvm-commits mailing list