[clang] 57b1c02 - [Windows] Canonicalize on 'target=.*-windows'

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 30 12:08:05 PST 2022


Author: Paul Robinson
Date: 2022-11-30T12:07:27-08:00
New Revision: 57b1c0250d5da6ac5342f10cd8f046412a46f153

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

LOG: [Windows] Canonicalize on 'target=.*-windows'

Part of the project to eliminate special handling for triples in lit
expressions.

Added: 
    

Modified: 
    clang/test/CodeGenCXX/vtable-debug-info.cpp
    clang/test/Driver/fat-archive-unbundle-ext.c
    llvm/test/MC/RISCV/rv32i-aliases-invalid.s
    llvm/test/MC/RISCV/rv64i-aliases-invalid.s

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenCXX/vtable-debug-info.cpp b/clang/test/CodeGenCXX/vtable-debug-info.cpp
index 5b2816529f8b3..b426ce96fa7fc 100644
--- a/clang/test/CodeGenCXX/vtable-debug-info.cpp
+++ b/clang/test/CodeGenCXX/vtable-debug-info.cpp
@@ -1,6 +1,6 @@
 // RUN: %clang -emit-llvm -S -g %s -o /dev/null
 // Radar 8730409
-// XFAIL: target={{.*windows-msvc}}
+// XFAIL: target={{.*-windows-msvc}}
 
 // FIXME: This test crashes on *-pc-win32
 // for lack of debugging support on -integrated-as (MCCOFF).

diff  --git a/clang/test/Driver/fat-archive-unbundle-ext.c b/clang/test/Driver/fat-archive-unbundle-ext.c
index f257012c8f337..93fdb1a91f638 100644
--- a/clang/test/Driver/fat-archive-unbundle-ext.c
+++ b/clang/test/Driver/fat-archive-unbundle-ext.c
@@ -1,5 +1,5 @@
 // REQUIRES: x86-registered-target
-// UNSUPPORTED: target={{.*windows.*}}, darwin, aix
+// UNSUPPORTED: target={{.*-windows.*}}, darwin, aix
 
 // Generate dummy fat object
 // RUN: %clang -O0 -target %itanium_abi_triple %s -c -o %t.host.o

diff  --git a/llvm/test/MC/RISCV/rv32i-aliases-invalid.s b/llvm/test/MC/RISCV/rv32i-aliases-invalid.s
index 985f86f087fb8..d78398267111e 100644
--- a/llvm/test/MC/RISCV/rv32i-aliases-invalid.s
+++ b/llvm/test/MC/RISCV/rv32i-aliases-invalid.s
@@ -1,4 +1,4 @@
-# UNSUPPORTED: target={{.*windows.*}}
+# UNSUPPORTED: target={{.*-windows.*}}
 # RUN: not llvm-mc -triple=riscv32 -riscv-no-aliases < %s -o /dev/null 2>&1 | FileCheck %s
 # RUN: not llvm-mc -triple=riscv32 < %s -o /dev/null 2>&1 | FileCheck %s
 

diff  --git a/llvm/test/MC/RISCV/rv64i-aliases-invalid.s b/llvm/test/MC/RISCV/rv64i-aliases-invalid.s
index 93e191d2e3312..93777002dcadb 100644
--- a/llvm/test/MC/RISCV/rv64i-aliases-invalid.s
+++ b/llvm/test/MC/RISCV/rv64i-aliases-invalid.s
@@ -1,4 +1,4 @@
-# UNSUPPORTED: target={{.*windows.*}}
+# UNSUPPORTED: target={{.*-windows.*}}
 # RUN: not llvm-mc -triple=riscv64 -riscv-no-aliases < %s -o /dev/null 2>&1 | FileCheck %s
 # RUN: not llvm-mc -triple=riscv64 < %s 2>&1 -o /dev/null | FileCheck %s
 


        


More information about the cfe-commits mailing list