[PATCH] D101971: [AIX][Test][ORC] Skip unsupported ORC C API tests on AIX

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 5 21:43:36 PDT 2021


hubert.reinterpretcast updated this revision to Diff 343280.
hubert.reinterpretcast added a comment.

Address comments: Use `isSupported`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101971/new/

https://reviews.llvm.org/D101971

Files:
  llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp


Index: llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
===================================================================
--- llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
+++ llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
@@ -114,6 +114,9 @@
     // some may just be failing due to bugs in this testcase.
     if (Triple.startswith("armv7") || Triple.startswith("armv8l"))
       return false;
+    llvm::Triple T(Triple);
+    if (T.isOSAIX() && T.isPPC64())
+      return false;
     return true;
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101971.343280.patch
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210506/e8049079/attachment.bin>


More information about the llvm-commits mailing list