]> granicus.if.org Git - clang/commit
Driver: tweak ARM target feature calculation
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 19 Sep 2015 18:19:44 +0000 (18:19 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 19 Sep 2015 18:19:44 +0000 (18:19 +0000)
commite93fbf305506135d8adc681eec6449eecc4992bb
tree12493d19772591c5309cc5b0e4927eb0f44bca2c
parent16343430021eea0acac560743c5ec68cd3055af9
Driver: tweak ARM target feature calculation

Rather than using re-calculating the effective triple, thread the already
calculated value down into AddARMTargetArgs.  This avoids both recreating the
triple, as well as re-parsing the triple as it was already done in the previous
frame.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248094 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
lib/Driver/Tools.h