]> granicus.if.org Git - clang/commit
Allow case-insensitive values for -mcpu for ARM and AArch64
authorRenato Golin <renato.golin@linaro.org>
Fri, 8 May 2015 14:50:32 +0000 (14:50 +0000)
committerRenato Golin <renato.golin@linaro.org>
Fri, 8 May 2015 14:50:32 +0000 (14:50 +0000)
commit82157e148da398da96a848886b3ab15dffea799b
tree5005ca41fbfaef136a156c0c0349c9687f7e87e1
parent49906612428c186bccb57a8d3c61739eb7fbc305
Allow case-insensitive values for -mcpu for ARM and AArch64

GCC allows case-insensitive values for -mcpu, -march and -mtune options.
This patch implements the same behaviour for the -mcpu option.

Patch by Gabor Ballabas.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236859 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp
lib/Driver/Tools.cpp
test/Driver/aarch64-cpus.c
test/Driver/arm-cortex-cpus.c