[Hexagon] Convert tests to check 'target=hexagon-.*'
authorPaul Robinson <paul.robinson@sony.com>
Wed, 30 Nov 2022 21:32:42 +0000 (13:32 -0800)
committerPaul Robinson <paul.robinson@sony.com>
Wed, 30 Nov 2022 21:36:10 +0000 (13:36 -0800)
Part of the project to eliminate special handling for triples in lit
expressions.

clang/test/CodeGen/c-strings.c
clang/test/CodeGen/string-literal-short-wstring.c
llvm/test/CodeGen/Generic/MachineBranchProb.ll
llvm/test/DebugInfo/Generic/incorrect-variable-debugloc1.ll
llvm/test/DebugInfo/Generic/sugared-constants.ll

index ebb3217..6873941 100644 (file)
@@ -16,7 +16,7 @@
 // MSABI: @f4.x = internal global %struct.s { ptr @"??_C@_05CJBACGMB@hello?$AA@" }
 // CHECK: @x = {{(dso_local )?}}global [3 x i8] c"ola", align [[ALIGN]]
 
-// XFAIL: hexagon
+// XFAIL: target=hexagon-{{.*}}
 // Hexagon aligns arrays of size 8+ bytes to a 64-bit boundary, which
 // fails the check for "@f3.x = ... align [ALIGN]", since ALIGN is derived
 // from the alignment of a single i8, which is still 1.
index c9e7a2a..7daa64b 100644 (file)
@@ -3,7 +3,7 @@
 
 // Run in C mode as wide multichar literals are not valid in C++
 
-// XFAIL: hexagon
+// XFAIL: target=hexagon-{{.*}}
 // Hexagon aligns arrays of size 8+ bytes to a 64-bit boundary, which fails
 // the first check line with "align 1".
 
index afe454a..9a5ea0c 100644 (file)
@@ -2,7 +2,7 @@
 
 ; Hexagon runs passes that renumber the basic blocks, causing this test
 ; to fail.
-; XFAIL: hexagon
+; XFAIL: target=hexagon-{{.*}}
 
 declare void @foo()
 
index d741fb3..7edc971 100644 (file)
@@ -1,6 +1,6 @@
 ; xfail this test on hexagon because at O2, instructions are bundled in packets
 ; and DW_OP_lit13 is correctly omitted.
-; XFAIL: hexagon
+; XFAIL: target=hexagon-{{.*}}
 
 ; RUN: %llc_dwarf -O2  -dwarf-version 2 -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s  --check-prefix=DWARF23
 ; RUN: %llc_dwarf -O2  -dwarf-version 3 -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s  --check-prefix=DWARF23
index 9bb6642..c8ee035 100644 (file)
@@ -1,6 +1,6 @@
 ; xfail this test on hexagon because upstream llc is not emitting the
 ; correct DWARF info. Downstream llc is.
-; XFAIL: hexagon
+; XFAIL: target=hexagon-{{.*}}
 
 ; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
 ; Use correct signedness when emitting constants of derived (sugared) types.