tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [tvm] apivovarov opened a new pull request #8860: Add support for llvm parameter -target-abi
Date Thu, 26 Aug 2021 20:33:03 GMT

apivovarov opened a new pull request #8860:

   This PR adds support for llvm/llc parameter `-target-abi`.
   It is needed to compile models for RISCV64 RC64GC cpu (supported instructions MAFD + C)
   CPU example is [sifive-u54](
   Specifying just `mcpu=sifive-u54` parameter is not enough. I found that we also need to
specify `--target-abi=lp64d` parameter.
   Target string example:
   llvm -mtriple=riscv64-unknown-linux-gnu -mcpu=sifive-u54 -target-abi=lp64d -device=arm_cpu
   If we do not specify `-target-abi=lp64d`  then the linking process (`lib.export_library`)
which generates `` will fail with the following error
   can't link soft-float modules with double-float modules
   Related discussion:

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail:

For queries about this service, please contact Infrastructure at:

View raw message