summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/LoongArch/lit.local.cfg
blob: a54f5aeca4abb138110938998d49a14e62464c1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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