[PATCH] D103028: [llvm][ARM] Add CPU defs for arm2/3/6/7m

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 1 11:03:34 PDT 2021


nickdesaulniers added a comment.

In D103028#2778991 <https://reviews.llvm.org/D103028#2778991>, @DavidSpickett wrote:

> @nickdesaulniers Can you confirm whether the kernel CI report you got was intentionally setting `armv3m`? If the build isn't setting an `mcpu` then removing the CPUs won't actually break it, though what it generates likely wouldn't run correctly.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/Makefile#n74 explicitly sets `-march=armv3m`,  when trying to build `CONFIG_CPU_32v3`. We don't yet support v4 or v4t FWIW.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103028/new/

https://reviews.llvm.org/D103028



More information about the llvm-commits mailing list