diff options
author | Lang Hames <lhames@gmail.com> | 2018-03-28 15:58:14 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-03-28 15:58:14 +0000 |
commit | da5c6acfe9cc4eb18ac3d2090b966ed94f9d5c3b (patch) | |
tree | eaa3b50dd49f58144eba108930e2e6bb10d16947 /llvm/unittests/ExecutionEngine | |
parent | 2456ac696a20d9464f7dc0de181e6af6b7a98125 (diff) | |
download | bcm5719-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.h | 3 |
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? |