aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2015-05-21 12:19:49 +0000
committerJohn Brawn <john.brawn@arm.com>2015-05-21 12:19:49 +0000
commit94fd963315fa774451c487bc6bd50fdc4656c70d (patch)
tree385a3d66dac697903f2862a4461dfb614f935b2c /llvm/lib/Object
parent0f90c86668b8597b06d70e297e48fa9e665b53ea (diff)
downloadllvm-94fd963315fa774451c487bc6bd50fdc4656c70d.zip
llvm-94fd963315fa774451c487bc6bd50fdc4656c70d.tar.gz
llvm-94fd963315fa774451c487bc6bd50fdc4656c70d.tar.bz2
[ARM] Restructure cpu handling in the driver to mostly use the triple
Using the target cpu to determine some behaviour is sprinkled in several places in the driver, but in almost all the information that is needed can be found in the triple. Restructure things so that the triple is used, and the cpu is only used if the exact cpu name is needed. Also add a check that the -mcpu argument is valid, and correct the -march argument checking so that it handles -march=native correctly. I would have liked to move these checks into the computation of the triple, but the triple is calculated several times in several places and that would lead to multiple error messages for the same thing. Differential Revision: http://reviews.llvm.org/D9879 llvm-svn: 237894
Diffstat (limited to 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions