]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJIT
authorSebastian Pop <spop@codeaurora.org>
Wed, 4 Jan 2012 19:47:22 +0000 (19:47 +0000)
committerSebastian Pop <spop@codeaurora.org>
Wed, 4 Jan 2012 19:47:22 +0000 (19:47 +0000)
commit8a86887ba3dcf59ddfd1d26bd2af1ac9c6bed76a
treed063101aa566588fde106548beed730b9023ced8
parentb0e7af779732c5ff3c054c837a4b04ad6089d0ac
use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJIT

Get back getHostTriple.

For JIT compilation, use the host triple instead of the default
target: this fixes some JIT testcases that used to fail when the
compiler has been configured as a cross compiler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147542 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
autoconf/configure.ac
cmake/config-ix.cmake
configure
include/llvm/Config/config.h.cmake
include/llvm/Config/config.h.in
include/llvm/Config/llvm-config.h.cmake
include/llvm/Config/llvm-config.h.in
include/llvm/Support/Host.h
lib/Support/CommandLine.cpp
lib/Support/TargetRegistry.cpp
lib/Support/Unix/Host.inc
lib/Support/Windows/Host.inc
projects/sample/autoconf/configure.ac
projects/sample/configure