diff options
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg')
| -rw-r--r-- | llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg index 84bd88ca333..da2db5a45f9 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg @@ -1,13 +1,6 @@ config.suffixes = ['.ll'] -def getRoot(config): - if not config.parent: - return config - return getRoot(config.parent) - -root = getRoot(config) - -targets = set(root.targets_to_build.split()) +targets = set(config.root.targets_to_build.split()) if not 'X86' in targets: config.unsupported = True |

