[llvm-dev] clang asm-goto support (Was Re: [PATCH v2] x86/retpoline: Add clang support)

Peter Zijlstra via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 14 10:39:55 PST 2018


On Wed, Feb 14, 2018 at 09:31:22AM -0800, Kees Cook wrote:
> On Wed, Feb 14, 2018 at 1:08 AM, Peter Zijlstra <peterz at infradead.org> wrote:
> > If you ever get to the point where it makes sense to build a kernel with
> > LLVM [...]
> 
> Just to speak to this point in particular: it makes sense to build
> kernels with LLVM right now. It's already happened; millions of Pixel
> 2 phones are already running with Clang-built kernels. And even if
> you're only interested in x86, that works too.

Only if you really don't care about performance. And as should be
evident from the rest of this thread, you soon won't be able to build
it anymore.


More information about the llvm-dev mailing list