[llvm] r246350 - The host and default target triples do not need to match for "native"
Paul Robinson via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 28 16:21:16 PDT 2015
Author: probinson
Date: Fri Aug 28 18:21:15 2015
New Revision: 246350
URL: http://llvm.org/viewvc/llvm-project?rev=246350&view=rev
Log:
The host and default target triples do not need to match for "native"
backend to work.
Differential Revision: http://reviews.llvm.org/D12454
Modified:
llvm/trunk/test/lit.cfg
Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=246350&r1=246349&r2=246350&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Fri Aug 28 18:21:15 2015
@@ -340,11 +340,8 @@ if config.have_zlib == "1":
else:
config.available_features.add("nozlib")
-# Native compilation: host arch == target arch and native backend built-in
-# FIXME: Consider cases that target can be executed
-# even if host_triple were different from target_triple.
-if (config.host_triple == config.target_triple and
- config.native_target in config.targets_to_build):
+# Native compilation: host arch (native) backend built-in
+if config.native_target in config.targets_to_build:
config.available_features.add("native")
import subprocess
More information about the llvm-commits
mailing list