[llvm] ecc70fd - [llvm-lit] Add `sparc64` to the list of BE triple (#166113)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 3 05:31:42 PST 2025


Author: Koakuma
Date: 2025-11-03T20:31:39+07:00
New Revision: ecc70fdbe36b0b8994a57f8c213c2f2ce651563d

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

LOG: [llvm-lit] Add `sparc64` to the list of BE triple (#166113)

Linux uses `sparc64` triple name on 64-bit SPARCs.
This should fix the test failure in discriminated-union.ll.

Added: 
    

Modified: 
    llvm/test/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 11a5a5785a6ec..974af4b571503 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -474,7 +474,7 @@ def enable_ptxas(ptxas_executable):
 config.available_features.add("host-byteorder-" + sys.byteorder + "-endian")
 if config.target_triple:
     if re.match(
-        r"(aarch64_be|arc|armeb|bpfeb|lanai|m68k|mips|mips64|powerpc|powerpc64|sparc|sparcv9|s390x|s390|tce|thumbeb)-.*",
+        r"(aarch64_be|arc|armeb|bpfeb|lanai|m68k|mips|mips64|powerpc|powerpc64|sparc|sparcv9|sparc64|s390x|s390|tce|thumbeb)-.*",
         config.target_triple,
     ):
         config.available_features.add("target-byteorder-big-endian")


        


More information about the llvm-commits mailing list