[llvm-dev] RTLIB and Custom Library calls

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 2 05:40:56 PST 2020

On Mon, Mar 02, 2020 at 11:29:58AM +0000, Sjoerd Meijer via llvm-dev wrote:
> If you're looking for examples, I think most backends will generate
> libcalls (for things they don't support). I don't look at other
> backends too much, but perhaps a simple example from the ARM backend
> is compiling this example:

MIPS might be a better example in this case, because ARM has custom
names for most of the operations. In general, most i64 operations should
get expanded inline to i32 operations. The only exception really is
division. f64 has software emulation on a lot of embedded platforms,
there should be anything special necessary.


More information about the llvm-dev mailing list