[llvm] r328711 - [ORC] Restore the narrower check from before r328687.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 28 08:58:14 PDT 2018
Author: lhames
Date: Wed Mar 28 08:58:14 2018
New Revision: 328711
URL: http://llvm.org/viewvc/llvm-project?rev=328711&view=rev
Log:
[ORC] Restore the narrower check from before r328687.
This should get the builders green again while I investigate why r328706 was
insufficient.
Modified:
llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h
Modified: llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h?rev=328711&r1=328710&r2=328711&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h (original)
+++ llvm/trunk/unittests/ExecutionEngine/Orc/OrcTestCommon.h Wed Mar 28 08:58:14 2018
@@ -62,7 +62,8 @@ public:
const Triple& TT = TM->getTargetTriple();
// Bail out for windows platforms. We do not support these yet.
- if (TT.isOSWindows())
+ if ((TT.getArch() != Triple::x86_64 && TT.getArch() != Triple::x86) ||
+ TT.isOSWindows())
return;
// Target can JIT?
More information about the llvm-commits
mailing list