diff --git a/llvm/utils/lit/lit/llvm/config.py b/llvm/utils/lit/lit/llvm/config.py --- a/llvm/utils/lit/lit/llvm/config.py +++ b/llvm/utils/lit/lit/llvm/config.py @@ -147,6 +147,8 @@ features.add("target-aarch64") elif re.match(r"^arm.*", target_triple): features.add("target-arm") + if re.match(r'^ppc64le.*-linux', target_triple): + features.add('target=powerpc64le-linux') use_gmalloc = lit_config.params.get("use_gmalloc", None) if lit.util.pythonize_bool(use_gmalloc):