[llvm] 43d3d88 - [llvm] Recognize arm64 as target-aarch64 in lit
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 8 21:29:25 PST 2022
Author: Jonas Devlieghere
Date: 2022-02-08T21:29:21-08:00
New Revision: 43d3d886a068bb296d29bacdc97440e7cff2f688
URL: https://github.com/llvm/llvm-project/commit/43d3d886a068bb296d29bacdc97440e7cff2f688
DIFF: https://github.com/llvm/llvm-project/commit/43d3d886a068bb296d29bacdc97440e7cff2f688.diff
LOG: [llvm] Recognize arm64 as target-aarch64 in lit
Recognize arm64 triples as AArch64 so we can XFAIL/skip tests using
target-aarch64.
Differential revision: https://reviews.llvm.org/D119169
Added:
Modified:
llvm/utils/lit/lit/llvm/config.py
Removed:
################################################################################
diff --git a/llvm/utils/lit/lit/llvm/config.py b/llvm/utils/lit/lit/llvm/config.py
index 5231271f8fef..ed208ace5977 100644
--- a/llvm/utils/lit/lit/llvm/config.py
+++ b/llvm/utils/lit/lit/llvm/config.py
@@ -119,6 +119,8 @@ def __init__(self, lit_config, config):
features.add('target-x86_64')
elif re.match(r'^aarch64.*', target_triple):
features.add('target-aarch64')
+ elif re.match(r'^arm64.*', target_triple):
+ features.add('target-aarch64')
elif re.match(r'^arm.*', target_triple):
features.add('target-arm')
More information about the llvm-commits
mailing list