Allow case-insensitive values for -mcpu for ARM
authorGabor Ballabas <gaborb@inf.u-szeged.hu>
Thu, 4 Jun 2015 17:56:32 +0000 (17:56 +0000)
committerGabor Ballabas <gaborb@inf.u-szeged.hu>
Thu, 4 Jun 2015 17:56:32 +0000 (17:56 +0000)
commit208826cc0f1621d4fba82ae267b9b0385d4dcf17
tree4008c35101fa39878adb7943a4b07a4ce32d7137
parente194400233d23819062ee1a2cf4b51a31a165770
Allow case-insensitive values for -mcpu for ARM

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

llvm-svn: 239059
clang/lib/Driver/ToolChain.cpp
clang/lib/Driver/Tools.cpp
clang/lib/Driver/Tools.h
clang/test/Driver/arm-cortex-cpus.c
clang/test/Driver/krait-cpu.c