From ff1e3cad71e69a35b05610691552950232ab1dbe Mon Sep 17 00:00:00 2001 From: StevenWanYu Date: Thu, 16 Jan 2020 14:37:25 -0500 Subject: [PATCH] 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. --- llvm/test/tools/llc/aix-pic-setting.ll | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/test/tools/llc/aix-pic-setting.ll b/llvm/test/tools/llc/aix-pic-setting.ll index d5987f2..12cbcdd 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 -- 2.7.4