summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2018-03-28 15:58:14 +0000
committerLang Hames <lhames@gmail.com>2018-03-28 15:58:14 +0000
commitda5c6acfe9cc4eb18ac3d2090b966ed94f9d5c3b (patch)
treeeaa3b50dd49f58144eba108930e2e6bb10d16947 /llvm/unittests/ExecutionEngine
parent2456ac696a20d9464f7dc0de181e6af6b7a98125 (diff)
downloadbcm5719-llvm-da5c6acfe9cc4eb18ac3d2090b966ed94f9d5c3b.tar.gz
bcm5719-llvm-da5c6acfe9cc4eb18ac3d2090b966ed94f9d5c3b.zip
[ORC] Restore the narrower check from before r328687.
This should get the builders green again while I investigate why r328706 was insufficient. llvm-svn: 328711
Diffstat (limited to 'llvm/unittests/ExecutionEngine')
-rw-r--r--llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h b/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h
index 53fede18b13..6b2743b9853 100644
--- a/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h
+++ b/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h
@@ -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?
OpenPOWER on IntegriCloud