summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/LoongArch/lit.local.cfg
blob: bc630dbef706bdfd5375b239d42d1a7a02e8309e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import os

config.suffixes = [".ll", ".mir", ".test", ".txt"]

extract_section_path = os.path.join(config.llvm_src_root, "utils", "extract-section.py")

config.substitutions.append(
    (
        "extract-section",
        "'%s' %s %s"
        % (config.python_executable, extract_section_path, "--bits-endian little"),
    )
)

if not "LoongArch" in config.root.targets:
    config.unsupported = True