Skip to content

Commit 43d3d88

Browse files
committed
[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
1 parent a163cdf commit 43d3d88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/utils/lit/lit/llvm/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ def __init__(self, lit_config, config):
119119
features.add('target-x86_64')
120120
elif re.match(r'^aarch64.*', target_triple):
121121
features.add('target-aarch64')
122+
elif re.match(r'^arm64.*', target_triple):
123+
features.add('target-aarch64')
122124
elif re.match(r'^arm.*', target_triple):
123125
features.add('target-arm')
124126

0 commit comments

Comments
 (0)