The ClangBuiltLinux project relies on -mcpu=405. Before https://reviews.llvm.org/D139720, clang treated -mcpu=405 implicitly in the same way as -mcpu=generic, because 405 was an unknown value and clang did not validate unknown input values. https://reviews.llvm.org/D139720 added the validation of -mcpu input value, and clang now generates an error with -mcpu=405. For further details of the problem, see https://github.com/ClangBuiltLinux/linux/issues/1771.
This patch adds support of -mcpu=405 explicitly, and treats it as an equivalent of -mcpu=generic.
While I understand the motivation here, I think that this is overkill. We in fact hope not to have to grow the set of CPU ID's that we treat as generic.