[llvm-commits] [patch] Use %lli instead of lli %defaultjit

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Wed Oct 31 05:21:17 PDT 2012


Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> I think %defaultjit can be replaced by %lli if we set the default jit
> to be MCJIT for ARM and PorwerPC. Is the attached patch OK?

I like the idea; certainly on PowerPC it would be good to have the
MCJIT used by default for all JIT tests, without the user having
to pass a special flag.

However, I'm not completely sure about the implementation of your
patch; it seems that in the case where jit_impl is not set but we
default to MCJIT, we will now add the -use-mcjit flag to %lli, but
*not* mangle mcjit into the target triple.  Is this intentional?

[ B.t.w. I must admit I don't fully understand what the purpose of
mangling the triple is in the first place ... ]

Bye,
Ulrich





More information about the llvm-commits mailing list