aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJames Westwood <james.westwood@arm.com>2024-02-13 15:12:35 +0000
committerGitHub <noreply@github.com>2024-02-13 15:12:35 +0000
commit89c1bf1230e011f2f0e43554c278205fa1819de5 (patch)
tree7952c581495c2baf437fa81847292d7f5cb3c4a8 /flang/lib/Frontend/CompilerInvocation.cpp
parent38c706e30f5f339bfb0bfb26fd7b5c2d5086064a (diff)
downloadllvm-89c1bf1230e011f2f0e43554c278205fa1819de5.zip
llvm-89c1bf1230e011f2f0e43554c278205fa1819de5.tar.gz
llvm-89c1bf1230e011f2f0e43554c278205fa1819de5.tar.bz2
[ARM] __ARM_ARCH macro definition fix (#81493)
This patch changes how the macro __ARM_ARCH is defined to match its defintion in the ACLE. In ACLE 5.4.1, __ARM_ARCH is defined as equal to the major architecture version for ISAs up to and including v8. From v8.1 onwards, its definition is changed to include minor versions, such that for an architecture vX.Y, __ARM_ARCH = X*100 + Y. Before this patch, LLVM defined __ARM_ARCH using only the major architecture version for all architecture versions. This patch adds functionality to define __ARM_ARCH correctly for architectures greater than or equal to v8.1.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions