[llvm] 6bdfcb1 - [BPF][Test] Disable codegen test on AIX

Jinsong Ji via llvm-commits llvm-commits at lists.llvm.org
Wed May 5 19:38:54 PDT 2021


Author: Jinsong Ji
Date: 2021-05-06T02:38:46Z
New Revision: 6bdfcb165e66a3f59fcf8e51ea0f2ecc0e3a32d5

URL: https://github.com/llvm/llvm-project/commit/6bdfcb165e66a3f59fcf8e51ea0f2ecc0e3a32d5
DIFF: https://github.com/llvm/llvm-project/commit/6bdfcb165e66a3f59fcf8e51ea0f2ecc0e3a32d5.diff

LOG: [BPF][Test] Disable codegen test on AIX

https://reviews.llvm.org/D101194 changed the default getMultiarchTriple in toolchain.
So -march=bpf on AIX will get triple of bpf-ibm-aix now,
this is unexpected and causing test failures.

BPF on AIX is not supported (yet), disable the codegen test on AIX in lit cfg.

Reviewed By: yonghong-song

Differential Revision: https://reviews.llvm.org/D101866

Added: 
    

Modified: 
    llvm/test/CodeGen/BPF/lit.local.cfg

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/BPF/lit.local.cfg b/llvm/test/CodeGen/BPF/lit.local.cfg
index a4ab2624af614..36a70677f2806 100644
--- a/llvm/test/CodeGen/BPF/lit.local.cfg
+++ b/llvm/test/CodeGen/BPF/lit.local.cfg
@@ -1,2 +1,4 @@
 if not 'BPF' in config.root.targets:
     config.unsupported = True
+if 'system-aix' in config.available_features:
+    config.unsupported = True


        


More information about the llvm-commits mailing list