Re: [PATCH] arm64: fix alternatives with LLVM's integrated assembler

From: Sami Tolvanen
Date: Mon Oct 14 2019 - 20:29:54 EST


On Mon, Oct 14, 2019 at 5:00 PM Will Deacon <will@xxxxxxxxxx> wrote:
> Is there any benefit from supporting '-no-integrated-as' but not 'AS=clang'?
> afaict, you have to hack the top-level Makefile for that.

The goal is to eventually support AS=clang and this patch gets us one
step closer to that. However, with this patch (and the LSE one), we
can already use Clang's integrated assembler for inline assembly,
which is a requirement for compiling the kernel with LTO. Google has
shipped LTO kernels on Pixel devices for a couple of generations now.

Sami