summaryrefslogtreecommitdiff
path: root/lib/CodeGen/BasicTargetTransformInfo.cpp
diff options
context:
space:
mode:
authorKaelyn Takata <rikka@google.com>2014-05-05 16:32:10 +0000
committerKaelyn Takata <rikka@google.com>2014-05-05 16:32:10 +0000
commit54d2b3322227d58fa763f4c0666ca044aba302f4 (patch)
treeee5e6e66a2672c54fe6ac49b3a1711a2b68e3ba5 /lib/CodeGen/BasicTargetTransformInfo.cpp
parentbd7cb3a62dd7cdc4d288a1bcff6676a878943429 (diff)
downloadllvm-54d2b3322227d58fa763f4c0666ca044aba302f4.tar.gz
llvm-54d2b3322227d58fa763f4c0666ca044aba302f4.tar.bz2
llvm-54d2b3322227d58fa763f4c0666ca044aba302f4.tar.xz
Select bdver2 instead of bdver1 if TBM support is present on models < 0x10.
Tested that the right -target-cpu is set in the clang -cc1 command line when running "clang -march=native -E -v - </dev/null" on both an FX-8150 and an FX-8350. Both are family 15h; the FX-8150 (Bulldozer processor) reports a model number of 1, and the FX-8350 (Piledriver processor) reports a model number of 2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BasicTargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions