[PATCH] D103028: [llvm][ARM] Add CPU defs for arm2/3/6/7m
Peter Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 24 08:56:50 PDT 2021
peter.smith added a comment.
Does LLVM generate correct code for those architectures? For example armv3 doesn't have BX LR, it must use MOV PC, LR or emit BX LR with an R_ARM_V4BX relocation so the linker can transform it. From memory I think armv2 doesn't even use 32-bit addresses, the flags were stored in the top 8 bits.
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