|
Message-ID: <CAOUYtQC_Ns+V2S2huccuVG15c2tF3UWe1QO9DDWhorZ_0XUxSA@mail.gmail.com>
Date: Fri, 7 May 2021 15:41:17 +0100
From: Jon Chesterfield <jonathanchesterfield@...il.com>
To: musl@...ts.openwall.com
Subject: Compiling to single llvm bc, working example?
Hello musl,
Clang has mixed support for compiling libc from C. A couple of years ago I
ran into pattern matching turning fmod into a call to itself and similar. I
can see malloc getting into fights with alias analysis as well. I'm not
confident ffreestanding is propagated in the IR.
Can anyone report success from compiling (a subset) of musl to llvm IR,
perhaps with the hacks necessary at the time to make the end application
work?
Motivation is an architecture (amdgcn) that can't yet link machine code,
but someone may have done this for performance.
Thanks,
Jon
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.