llvm/llvm/test/MC/AMDGPU/lit.local.cfg

config.substitutions.append(("%extract-encodings", "sed 's/.*encoding://p'"))

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