[llvm] 1546c52 - Add triples to a bunch of x86-specific tests that currently fail on PPC
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Thu May 27 03:32:37 PDT 2021
Author: Benjamin Kramer
Date: 2021-05-27T12:32:04+02:00
New Revision: 1546c52d971292ed4145b6d41aaca0d02229ebff
URL: https://github.com/llvm/llvm-project/commit/1546c52d971292ed4145b6d41aaca0d02229ebff
DIFF: https://github.com/llvm/llvm-project/commit/1546c52d971292ed4145b6d41aaca0d02229ebff.diff
LOG: Add triples to a bunch of x86-specific tests that currently fail on PPC
Added:
Modified:
llvm/test/DebugInfo/X86/basic-block-sections-debug-loc-split-range.ll
llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-1.ll
llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-2.ll
llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-3.ll
Removed:
################################################################################
diff --git a/llvm/test/DebugInfo/X86/basic-block-sections-debug-loc-split-range.ll b/llvm/test/DebugInfo/X86/basic-block-sections-debug-loc-split-range.ll
index 0a7f6d37a795..6135bcf07e85 100644
--- a/llvm/test/DebugInfo/X86/basic-block-sections-debug-loc-split-range.ll
+++ b/llvm/test/DebugInfo/X86/basic-block-sections-debug-loc-split-range.ll
@@ -22,6 +22,8 @@
; ranges are split correctly with sections. With basic block sections,
; the dbg value 157 (0x9d) gets split into one more range.
+target triple = "x86_64-unknown-linux-gnu"
+
define dso_local void @_ZL4ncatPcjz(i8* %0, i32 %1, ...) unnamed_addr align 32 !dbg !22 {
.critedge3:
call void @llvm.dbg.value(metadata i32 157, metadata !27, metadata !DIExpression()), !dbg !46
diff --git a/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-1.ll b/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-1.ll
index ff77f8b2c3b1..1e45da0b045e 100644
--- a/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-1.ll
+++ b/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-1.ll
@@ -33,6 +33,8 @@
; $ clang++ -S -emit-llvm -g -O2 loclist_1.cc
;
+target triple = "x86_64-unknown-linux-gnu"
+
@b = external dso_local local_unnamed_addr global i8, align 1
define dso_local void @_Z4testv() local_unnamed_addr !dbg !7 {
diff --git a/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-2.ll b/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-2.ll
index 2a6fd8ef7164..1619c74d9221 100644
--- a/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-2.ll
+++ b/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-2.ll
@@ -35,6 +35,8 @@
; $ clang++ -S -emit-llvm -g -O2 loclist_2.cc
;
+target triple = "x86_64-unknown-linux-gnu"
+
@b = external dso_local local_unnamed_addr global i8, align 1
define dso_local void @_Z4testv() local_unnamed_addr !dbg !7 {
diff --git a/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-3.ll b/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-3.ll
index 101dd1ee2021..41ff63b6749f 100644
--- a/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-3.ll
+++ b/llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-3.ll
@@ -26,6 +26,7 @@
; }
; $ clang++ -S -emit-llvm -g -O2 loclist_2.cc
+target triple = "x86_64-unknown-linux-gnu"
@x = external dso_local local_unnamed_addr global i32, align 4
More information about the llvm-commits
mailing list