Re: [PATCH] mips: Remove compiler check in unroll macro

From: Linus Torvalds
Date: Fri Jul 10 2020 - 18:44:07 EST


On Fri, Jul 10, 2020 at 3:34 PM Nathan Chancellor
<natechancellor@xxxxxxxxx> wrote:
>
> Clang 8 was chosen as a minimum version for this check because there
> were some improvements around __builtin_constant_p in that release. In
> reality, MIPS was not even buildable until clang 9 so that check was not
> technically necessary. Just remove all compiler checks and just assume
> that we have a working compiler.

Thanks, that looks much nicer.

Applied.

I think we could probably remove the (unrelated) clang-8 check in the
arm side too, but I guess I'll let arm/clang people worry about it.

Linus