[clang] edb68a4 - [LIT] Add AArch64/Windows to LP64 feature

Muhammad Omair Javaid via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 23 23:41:08 PDT 2022


Author: Muhammad Omair Javaid
Date: 2022-10-24T11:40:52+05:00
New Revision: edb68a45335013c3857844620caa7104a51fa5f4

URL: https://github.com/llvm/llvm-project/commit/edb68a45335013c3857844620caa7104a51fa5f4
DIFF: https://github.com/llvm/llvm-project/commit/edb68a45335013c3857844620caa7104a51fa5f4.diff

LOG: [LIT] Add AArch64/Windows to LP64 feature

This patch adds AArch64 to the LP64 feature to avoid running LLP64
incompatible test on AArch64/Windows platform.

Differential Revision: https://reviews.llvm.org/D136070

Added: 
    

Modified: 
    clang/test/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/clang/test/lit.cfg.py b/clang/test/lit.cfg.py
index 8cad77b57219..8088ceff5c00 100644
--- a/clang/test/lit.cfg.py
+++ b/clang/test/lit.cfg.py
@@ -177,7 +177,7 @@ def is_filesystem_case_insensitive():
     config.available_features.add('ms-sdk')
 
 # [PR8833] LLP64-incompatible tests
-if not re.match(r'^x86_64.*-(windows-msvc|windows-gnu)$', config.target_triple):
+if not re.match(r'^(aarch64|x86_64).*-(windows-msvc|windows-gnu)$', config.target_triple):
     config.available_features.add('LP64')
 
 # Tests that are specific to the Apple Silicon macOS.


        


More information about the cfe-commits mailing list