[llvm] ff1e3ca - Don't run powerpc lit test case on other platforms.

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 11:37:44 PST 2020


Author: StevenWanYu
Date: 2020-01-16T14:37:25-05:00
New Revision: ff1e3cad71e69a35b05610691552950232ab1dbe

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

LOG: Don't run powerpc lit test case on other platforms.

Only run this test on powerpc tragets, because other platforms might
not have powerpc registered.

Added: 
    

Modified: 
    llvm/test/tools/llc/aix-pic-setting.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llc/aix-pic-setting.ll b/llvm/test/tools/llc/aix-pic-setting.ll
index d5987f2adf2b..12cbcdddc8eb 100644
--- a/llvm/test/tools/llc/aix-pic-setting.ll
+++ b/llvm/test/tools/llc/aix-pic-setting.ll
@@ -1,3 +1,4 @@
+; REQUIRES: powerpc-registered-target
 ; RUN: llc -mtriple=powerpc-ibm-aix < %s 2>&1 1>/dev/null | FileCheck --allow-empty %s
 ; RUN: llc -mtriple=powerpc-ibm-aix --relocation-model=pic < %s 2>&1 1>/dev/null | FileCheck --allow-empty %s
 ; RUN: llc -mtriple=powerpc64-ibm-aix --relocation-model=pic < %s 2>&1 1>/dev/null | FileCheck --allow-empty %s


        


More information about the llvm-commits mailing list