[llvm-dev] C API equivalent of EngineBuilder::setMArch?

Toshiyasu Morita via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 16 15:31:45 PDT 2017


I'm using MCJIT, and I'm trying to coax it into generating code for the
native architecture, e.g. use AVX2 instructions on x86-64.
It looks like this is possible using EngineBuilder::setMArch().
However, I'm using the C interface, and I don't see an obvious equivalent.
Is it possible to do this?

Toshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170316/161a19eb/attachment.html>


More information about the llvm-dev mailing list