diff options
author | Petr Hosek <phosek@chromium.org> | 2017-09-08 22:26:50 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2017-09-08 22:26:50 +0000 |
commit | f67d988e7e23fb3aa6ee185a17652eeb649d6c5e (patch) | |
tree | f3af14b3f823154e75c4c82fe9d4cc26b7a9f511 /llvm/lib/Analysis/CostModel.cpp | |
parent | 015a484fe2aea0622b09d593f51bc70d47c038b2 (diff) | |
download | bcm5719-llvm-f67d988e7e23fb3aa6ee185a17652eeb649d6c5e.tar.gz bcm5719-llvm-f67d988e7e23fb3aa6ee185a17652eeb649d6c5e.zip |
[CMake][runtimes] Use the same configuration for non-target and "default" target
The default host target for builtins and runtimes has special behavior
on some platforms, e.g. on Linux both i386 and x86_64 targets are being
built. Specifying "default" as a target name should lead to the same
behavior, which wasn't the case in the past. This patch unifies the
configuration between the non-target and "default" target to produce the
same behavior by moving the default configuration into a function that
can be used from both paths.
Differential Revision: https://reviews.llvm.org/D37450
llvm-svn: 312831
Diffstat (limited to 'llvm/lib/Analysis/CostModel.cpp')
0 files changed, 0 insertions, 0 deletions