Skip to content

Commit

Permalink
[llvm] Recognize arm64 as target-aarch64 in lit
Browse files Browse the repository at this point in the history
Recognize arm64 triples as AArch64 so we can XFAIL/skip tests using
target-aarch64.

Differential revision: https://reviews.llvm.org/D119169
  • Loading branch information
JDevlieghere committed Feb 9, 2022
1 parent a163cdf commit 43d3d88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/utils/lit/lit/llvm/config.py
Expand Up @@ -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')

Expand Down

0 comments on commit 43d3d88

Please sign in to comment.