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

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 1 11:31:32 PDT 2021


efriedma added a comment.

I found some discussion at https://patchwork.kernel.org/project/linux-arm-kernel/patch/20180930024904.14240-1-Jason@zx2c4.com/ .  Apparently, the kernel is actually intentionally building for "ARMv3M" by default, to support some ancient hardware that doesn't support all the armv4 instructions.  LLVM doesn't support this at the moment.  We shouldn't accept -march=armv3m unless we're actually going to generate correct code for it.

> We don't yet support v4 or v4t FWIW.

Not sure what you mean by this?


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