| |
@@ -0,0 +1,13 @@
|
| |
+ 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
|
| |
+ @@ -144,6 +144,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):
|
| |
+
|
| |
Some tests in clang and flang expect the triple powerpc64le-linux and
fail if ppc64le-linux is used. The new patch ensure both triples are
interpreted the same way.