diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/combine-shift-of-shifted-dbg-value-fallback.ll b/llvm/test/CodeGen/AArch64/GlobalISel/combine-shift-of-shifted-dbg-value-fallback.ll index 930d39dfa298b..adaf54cbc9620 100644 --- a/llvm/test/CodeGen/AArch64/GlobalISel/combine-shift-of-shifted-dbg-value-fallback.ll +++ b/llvm/test/CodeGen/AArch64/GlobalISel/combine-shift-of-shifted-dbg-value-fallback.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc < %s -global-isel -mtriple=arm64-linux-gnu -global-isel-abort=1 | FileCheck %s -; RUN: llc < %s -global-isel -mtriple=arm64-linux-gnu -global-isel-abort=1 --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" target triple = "arm64-apple-ios9.0.0" diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/debug-cpp.ll b/llvm/test/CodeGen/AArch64/GlobalISel/debug-cpp.ll index 485ab18ec7db9..cb4a01cbcf092 100644 --- a/llvm/test/CodeGen/AArch64/GlobalISel/debug-cpp.ll +++ b/llvm/test/CodeGen/AArch64/GlobalISel/debug-cpp.ll @@ -1,7 +1,5 @@ ; RUN: llc -global-isel -mtriple=aarch64 %s -stop-after=irtranslator -o - | FileCheck %s ; RUN: llc -mtriple=aarch64 -global-isel --global-isel-abort=0 -o /dev/null -; RUN: llc -global-isel -mtriple=aarch64 %s -stop-after=irtranslator -o - --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: llc -mtriple=aarch64 -global-isel --global-isel-abort=0 -o /dev/null --try-experimental-debuginfo-iterators ; struct NTCopy { ; NTCopy(); diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/debug-insts.ll b/llvm/test/CodeGen/AArch64/GlobalISel/debug-insts.ll index 960ea4e5b9f42..64fde65bf8b5e 100644 --- a/llvm/test/CodeGen/AArch64/GlobalISel/debug-insts.ll +++ b/llvm/test/CodeGen/AArch64/GlobalISel/debug-insts.ll @@ -3,9 +3,6 @@ ; RUN: llc -mtriple=aarch64 -global-isel --global-isel-abort=0 %s -o /dev/null ; RUN: llc -mtriple=aarch64 -global-isel --global-isel-abort=0 %s -o /dev/null -debug ; -; RUN: llc -global-isel -mtriple=aarch64 %s -stop-after=irtranslator -o - --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: llc -mtriple=aarch64 -global-isel --global-isel-abort=0 %s -o /dev/null --try-experimental-debuginfo-iterators -; RUN: llc -mtriple=aarch64 -global-isel --global-isel-abort=0 %s -o /dev/null -debug --try-experimental-debuginfo-iterators ; CHECK-LABEL: name: debug_declare ; CHECK: stack: diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-dilocation.ll b/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-dilocation.ll index fc17a62a4d704..7883aa2fb940d 100644 --- a/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-dilocation.ll +++ b/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-dilocation.ll @@ -1,7 +1,5 @@ ; RUN: llc -O0 -mtriple=aarch64-apple-ios -global-isel -debug-only=irtranslator \ ; RUN: -stop-after=irtranslator %s -o - 2>&1 | FileCheck %s -; RUN: llc -O0 -mtriple=aarch64-apple-ios -global-isel -debug-only=irtranslator \ -; RUN: -stop-after=irtranslator %s -o - 2>&1 --try-experimental-debuginfo-iterators | FileCheck %s ; REQUIRES: asserts diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-extract-used-by-dbg.ll b/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-extract-used-by-dbg.ll index 1304747789f2a..9f398b4a9d3b1 100644 --- a/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-extract-used-by-dbg.ll +++ b/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-extract-used-by-dbg.ll @@ -1,5 +1,4 @@ ; RUN: llc -O0 -stop-after=irtranslator -global-isel -verify-machineinstrs %s -o - 2>&1 | FileCheck %s -; RUN: llc -O0 -stop-after=irtranslator -global-isel -verify-machineinstrs %s -o - 2>&1 --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" target triple = "aarch64-unknown-fuchsia" diff --git a/llvm/test/CodeGen/AArch64/dbg-assign-tag-offset-mix-loc.ll b/llvm/test/CodeGen/AArch64/dbg-assign-tag-offset-mix-loc.ll index d9d0d982fd9e8..ef0dd46cb45c7 100644 --- a/llvm/test/CodeGen/AArch64/dbg-assign-tag-offset-mix-loc.ll +++ b/llvm/test/CodeGen/AArch64/dbg-assign-tag-offset-mix-loc.ll @@ -1,5 +1,4 @@ ; RUN: llc -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s ;; Similar to dbg-assign-tag-offset.ll except the variable 'x' has been removed ;; and 'y' has an implicit location range as well as stack location range diff --git a/llvm/test/CodeGen/AArch64/dbg-assign-tag-offset.ll b/llvm/test/CodeGen/AArch64/dbg-assign-tag-offset.ll index 155e6107158ab..5ba0ab424ed4b 100644 --- a/llvm/test/CodeGen/AArch64/dbg-assign-tag-offset.ll +++ b/llvm/test/CodeGen/AArch64/dbg-assign-tag-offset.ll @@ -1,5 +1,4 @@ ; RUN: llc -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s ;; Copied from dbg-value-tag-offset.ll. Check that variables with locations ;; tracked with dbg.assigns with DW_OP_LLVM_TAG_offset operators in their diff --git a/llvm/test/CodeGen/AArch64/dbg-value-swift-async.ll b/llvm/test/CodeGen/AArch64/dbg-value-swift-async.ll index 4649fad5b2c2a..e52555ba6350a 100644 --- a/llvm/test/CodeGen/AArch64/dbg-value-swift-async.ll +++ b/llvm/test/CodeGen/AArch64/dbg-value-swift-async.ll @@ -2,9 +2,6 @@ ; RUN: llc --mtriple="aarch64-" -O0 -fast-isel=false -global-isel=false -stop-after=finalize-isel %s -o - | FileCheck %s --check-prefix=AARCH ; RUN: llc --mtriple="aarch64-" -O0 -fast-isel -stop-after=finalize-isel %s -o - | FileCheck %s --check-prefix=AARCH -; RUN: llc --mtriple="aarch64-" -O0 -global-isel -stop-after=irtranslator -verify-machineinstrs %s -o - --try-experimental-debuginfo-iterators | FileCheck %s --check-prefix=AARCH -; RUN: llc --mtriple="aarch64-" -O0 -fast-isel=false -global-isel=false -stop-after=finalize-isel %s -o - --try-experimental-debuginfo-iterators | FileCheck %s --check-prefix=AARCH -; RUN: llc --mtriple="aarch64-" -O0 -fast-isel -stop-after=finalize-isel %s -o - --try-experimental-debuginfo-iterators | FileCheck %s --check-prefix=AARCH ; AARCH-NOT: DBG_VALUE ; AARCH: DBG_VALUE $x22, $noreg, !{{.*}}, !DIExpression(DW_OP_LLVM_entry_value, 1) diff --git a/llvm/test/CodeGen/AArch64/fast-isel-dbg.ll b/llvm/test/CodeGen/AArch64/fast-isel-dbg.ll index 0c1a693089cb0..d17c14747b942 100644 --- a/llvm/test/CodeGen/AArch64/fast-isel-dbg.ll +++ b/llvm/test/CodeGen/AArch64/fast-isel-dbg.ll @@ -1,5 +1,4 @@ ; RUN: llc -o - %s -fast-isel -stop-before=finalize-isel | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -o - %s -fast-isel -stop-before=finalize-isel | FileCheck %s ; Make sure fast-isel produces DBG_VALUE instructions even if no debug printer ; is scheduled because of -stop-before. diff --git a/llvm/test/CodeGen/AArch64/fastisel-debugvalue-undef.ll b/llvm/test/CodeGen/AArch64/fastisel-debugvalue-undef.ll index c30a01baedaf3..cccede6a50459 100644 --- a/llvm/test/CodeGen/AArch64/fastisel-debugvalue-undef.ll +++ b/llvm/test/CodeGen/AArch64/fastisel-debugvalue-undef.ll @@ -1,5 +1,4 @@ ; RUN: llc -O0 -fast-isel=1 -o - -print-after="finalize-isel" %s 2>&1 | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 -fast-isel=1 -o - -print-after="finalize-isel" %s 2>&1 | FileCheck %s ; Check that we emit a DBG_VALUE for the `@llvm.dbg.value` which has `undef` has first arg. diff --git a/llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll b/llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll index 1e78e98bb78b2..a936188cc1f85 100644 --- a/llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll +++ b/llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll @@ -1,5 +1,4 @@ ; RUN: opt -aarch64-stack-tagging -stack-tagging-record-stack-history=instr -S -o - %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -aarch64-stack-tagging -stack-tagging-record-stack-history=instr -S -o - %s | FileCheck %s source_filename = "test.ll" target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" diff --git a/llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll b/llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll index a2e6096d8cb92..34527f52a242f 100644 --- a/llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll +++ b/llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll @@ -1,10 +1,5 @@ ; RUN: opt -aarch64-stack-tagging -stack-tagging-record-stack-history=instr -S -o - %s | FileCheck %s -;; Also test with RemoveDIs to verify that debug intrinsics immediately -;; preceding an alloca (or other instruction of interest to stack tagging) will -;; be correctly processed. -; RUN: opt --try-experimental-debuginfo-iterators -aarch64-stack-tagging -stack-tagging-record-stack-history=instr -S -o - %s | FileCheck %s - target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" target triple = "aarch64--linux-android35" diff --git a/llvm/test/CodeGen/AArch64/stack-tagging-dbg.ll b/llvm/test/CodeGen/AArch64/stack-tagging-dbg.ll index d81ae9dc8b556..925962ff2f31b 100644 --- a/llvm/test/CodeGen/AArch64/stack-tagging-dbg.ll +++ b/llvm/test/CodeGen/AArch64/stack-tagging-dbg.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -aarch64-stack-tagging -S -o - | FileCheck %s -; RUN: opt < %s -aarch64-stack-tagging -S -o - --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" target triple = "aarch64--linux-android" diff --git a/llvm/test/CodeGen/AMDGPU/llvm.dbg.value.ll b/llvm/test/CodeGen/AMDGPU/llvm.dbg.value.ll index 235d8dde96658..0843ebe9cc36e 100644 --- a/llvm/test/CodeGen/AMDGPU/llvm.dbg.value.ll +++ b/llvm/test/CodeGen/AMDGPU/llvm.dbg.value.ll @@ -1,8 +1,6 @@ ; RUN: llc -O0 -mtriple=amdgcn-unknown-amdhsa -verify-machineinstrs < %s | FileCheck -check-prefixes=GCN,NOOPT %s ; RUN: llc -mtriple=amdgcn-unknown-amdhsa -verify-machineinstrs < %s | FileCheck -check-prefixes=GCN,OPT %s -; RUN: llc -O0 -mtriple=amdgcn-unknown-amdhsa -verify-machineinstrs < %s --try-experimental-debuginfo-iterators | FileCheck -check-prefixes=GCN,NOOPT %s -; RUN: llc -mtriple=amdgcn-unknown-amdhsa -verify-machineinstrs < %s --try-experimental-debuginfo-iterators | FileCheck -check-prefixes=GCN,OPT %s ; GCN-LABEL: {{^}}test_debug_value: ; NOOPT: .loc 1 1 42 prologue_end ; /tmp/test_debug_value.cl:1:42 diff --git a/llvm/test/CodeGen/AMDGPU/si-annotate-dbg-info.ll b/llvm/test/CodeGen/AMDGPU/si-annotate-dbg-info.ll index 15f6bb632f311..74b1045813f41 100644 --- a/llvm/test/CodeGen/AMDGPU/si-annotate-dbg-info.ll +++ b/llvm/test/CodeGen/AMDGPU/si-annotate-dbg-info.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4 ; RUN: opt -mtriple=amdgcn-- -S -structurizecfg -si-annotate-control-flow %s | FileCheck -check-prefix=OPT %s -; RUN: opt -mtriple=amdgcn-- -S -structurizecfg -si-annotate-control-flow %s --try-experimental-debuginfo-iterators | FileCheck -check-prefix=OPT %s define amdgpu_ps i32 @if_else(i32 %0) !dbg !5 { ; OPT-LABEL: define amdgpu_ps i32 @if_else( diff --git a/llvm/test/CodeGen/ARM/debug-info-blocks.ll b/llvm/test/CodeGen/ARM/debug-info-blocks.ll index 2f68abef18ed0..d418642cbcf46 100644 --- a/llvm/test/CodeGen/ARM/debug-info-blocks.ll +++ b/llvm/test/CodeGen/ARM/debug-info-blocks.ll @@ -1,5 +1,4 @@ ; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump -v - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -filetype=obj -O0 < %s | llvm-dwarfdump -v - | FileCheck %s ; debug_info content ; CHECK: DW_AT_name {{.*}} "foobar_func_block_invoke_0" diff --git a/llvm/test/CodeGen/Generic/csw-debug-assert.ll b/llvm/test/CodeGen/Generic/csw-debug-assert.ll index 85a8d8bb1d98e..084cbfa79679a 100644 --- a/llvm/test/CodeGen/Generic/csw-debug-assert.ll +++ b/llvm/test/CodeGen/Generic/csw-debug-assert.ll @@ -2,7 +2,6 @@ ; REQUIRES: asserts ; REQUIRES: x86_64-linux ; RUN: llc -O1 -regalloc=pbqp < %s | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -O1 -regalloc=pbqp < %s | FileCheck %s target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/CodeGen/X86/2010-08-04-StackVariable.ll b/llvm/test/CodeGen/X86/2010-08-04-StackVariable.ll index e95b3b4884b41..198c0d4806c52 100644 --- a/llvm/test/CodeGen/X86/2010-08-04-StackVariable.ll +++ b/llvm/test/CodeGen/X86/2010-08-04-StackVariable.ll @@ -1,5 +1,4 @@ ; RUN: llc -O0 -mtriple=x86_64-apple-darwin < %s | grep DW_OP_breg7 -; RUN: llc --try-experimental-debuginfo-iterators -O0 -mtriple=x86_64-apple-darwin < %s | grep DW_OP_breg7 ; Use DW_OP_breg7 in variable's location expression if the variable is in a stack slot. %struct.SVal = type { ptr, i32 } diff --git a/llvm/test/CodeGen/X86/DbgValueOtherTargets.test b/llvm/test/CodeGen/X86/DbgValueOtherTargets.test index 29497d33f075f..b7f90f61fbb82 100644 --- a/llvm/test/CodeGen/X86/DbgValueOtherTargets.test +++ b/llvm/test/CodeGen/X86/DbgValueOtherTargets.test @@ -1,5 +1,3 @@ RUN: llc -O0 -mtriple=i686-- -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll RUN: llc -O0 -mtriple=x86_64-- -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll -RUN: llc --try-experimental-debuginfo-iterators -O0 -mtriple=i686-- -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll -RUN: llc --try-experimental-debuginfo-iterators -O0 -mtriple=x86_64-- -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll \ No newline at end of file diff --git a/llvm/test/CodeGen/X86/GlobalISel/x86-calllowering-dbg-trunc.ll b/llvm/test/CodeGen/X86/GlobalISel/x86-calllowering-dbg-trunc.ll index f9c34d3b0bb27..90c9290a83bbd 100644 --- a/llvm/test/CodeGen/X86/GlobalISel/x86-calllowering-dbg-trunc.ll +++ b/llvm/test/CodeGen/X86/GlobalISel/x86-calllowering-dbg-trunc.ll @@ -1,5 +1,4 @@ ; RUN: llc -mtriple=i386-linux-gnu -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=ALL -; RUN: llc -mtriple=i386-linux-gnu -global-isel -verify-machineinstrs < %s -o - --try-experimental-debuginfo-iterators | FileCheck %s --check-prefix=ALL ; This file is the output of clang -g -O2 ; int test_dbg_trunc(unsigned long long a) { return a; } diff --git a/llvm/test/CodeGen/X86/dbg-combine.ll b/llvm/test/CodeGen/X86/dbg-combine.ll index d6065f1318ae0..b3d2213b90c0a 100644 --- a/llvm/test/CodeGen/X86/dbg-combine.ll +++ b/llvm/test/CodeGen/X86/dbg-combine.ll @@ -1,5 +1,4 @@ ; RUN: llc -mtriple x86_64-pc-linux -O0 < %s | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple x86_64-pc-linux -O0 < %s | FileCheck %s ; Make sure that the sequence of debug locations for function foo is correctly ; generated. More specifically, .loc entries for lines 4,5,6,7 must appear in diff --git a/llvm/test/CodeGen/X86/fast-isel-dbg-value-alloca.ll b/llvm/test/CodeGen/X86/fast-isel-dbg-value-alloca.ll index e1e90f1f458fc..305aa82fbc810 100644 --- a/llvm/test/CodeGen/X86/fast-isel-dbg-value-alloca.ll +++ b/llvm/test/CodeGen/X86/fast-isel-dbg-value-alloca.ll @@ -1,7 +1,6 @@ ; RUN: llc -fast-isel -fast-isel-abort=1 -mtriple=x86_64-unknown-unknown -stop-after=finalize-isel %s -o - | \ ; RUN: FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -fast-isel -fast-isel-abort=1 -mtriple=x86_64-unknown-unknown -stop-after=finalize-isel %s -o - | FileCheck %s define void @foo(ptr noalias nocapture %arg) !dbg !38 { %k.debug = alloca ptr, align 8 diff --git a/llvm/test/CodeGen/X86/fold-sext-trunc.ll b/llvm/test/CodeGen/X86/fold-sext-trunc.ll index 26a4ed0a0cd4b..ae45f3f0386cb 100644 --- a/llvm/test/CodeGen/X86/fold-sext-trunc.ll +++ b/llvm/test/CodeGen/X86/fold-sext-trunc.ll @@ -1,8 +1,6 @@ ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s ; RUN: llc < %s -O0 -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -stop-after livedebugvalues -o - | FileCheck %s -check-prefix=MIR -; RUN: llc --try-experimental-debuginfo-iterators < %s -mtriple=x86_64-- | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -O0 -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -stop-after livedebugvalues -o - | FileCheck %s -check-prefix=MIR ; PR4050 diff --git a/llvm/test/CodeGen/X86/fold-zext-trunc.ll b/llvm/test/CodeGen/X86/fold-zext-trunc.ll index 7a70b75a028aa..a21b8572ccb2e 100644 --- a/llvm/test/CodeGen/X86/fold-zext-trunc.ll +++ b/llvm/test/CodeGen/X86/fold-zext-trunc.ll @@ -1,8 +1,6 @@ ; RUN: llc < %s | FileCheck %s -check-prefix=ASM ; RUN: llc < %s -O0 -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -stop-after livedebugvalues -o - | FileCheck %s -check-prefix=MIR -; RUN: llc --try-experimental-debuginfo-iterators < %s | FileCheck %s -check-prefix=ASM -; RUN: llc --try-experimental-debuginfo-iterators < %s -O0 -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -stop-after livedebugvalues -o - | FileCheck %s -check-prefix=MIR ; PR9055 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32" diff --git a/llvm/test/CodeGen/X86/label-heapallocsite.ll b/llvm/test/CodeGen/X86/label-heapallocsite.ll index 78bebc1fd174d..31bca25f0db71 100644 --- a/llvm/test/CodeGen/X86/label-heapallocsite.ll +++ b/llvm/test/CodeGen/X86/label-heapallocsite.ll @@ -1,8 +1,6 @@ ; RUN: llc < %s | FileCheck --check-prefixes=CHECK %s ; RUN: llc -O0 < %s | FileCheck --check-prefixes=CHECK %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | FileCheck --check-prefixes=CHECK %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 < %s | FileCheck --check-prefixes=CHECK %s ; Source to regenerate: ; $ clang -cc1 -triple x86_64-windows-msvc t.cpp -debug-info-kind=limited \ diff --git a/llvm/test/CodeGen/X86/machine-outliner-disubprogram.ll b/llvm/test/CodeGen/X86/machine-outliner-disubprogram.ll index dc582b9c8746e..c5b3c74653db3 100644 --- a/llvm/test/CodeGen/X86/machine-outliner-disubprogram.ll +++ b/llvm/test/CodeGen/X86/machine-outliner-disubprogram.ll @@ -3,7 +3,6 @@ ; Also make sure that the DISubprograms reference the generated unit. ; make sure that if there are two outlined functions in the program, ; RUN: llc %s -verify-machineinstrs -enable-machine-outliner -mtriple=x86_64-apple-darwin -o /dev/null -print-after=machine-outliner -; RUN: llc --try-experimental-debuginfo-iterators %s -verify-machineinstrs -enable-machine-outliner -mtriple=x86_64-apple-darwin -o /dev/null -print-after=machine-outliner define void @f6() #0 !dbg !8 { entry: %dog = alloca i32, align 4 diff --git a/llvm/test/CodeGen/X86/pr53243-tail-call-fastisel.ll b/llvm/test/CodeGen/X86/pr53243-tail-call-fastisel.ll index f21e8df95a4f0..333eff8fb0081 100644 --- a/llvm/test/CodeGen/X86/pr53243-tail-call-fastisel.ll +++ b/llvm/test/CodeGen/X86/pr53243-tail-call-fastisel.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc -O0 -fast-isel -mtriple=x86_64-- < %s | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 -fast-isel -mtriple=x86_64-- < %s | FileCheck %s define void @test() { ; CHECK-LABEL: test: diff --git a/llvm/test/CodeGen/X86/select-optimize.ll b/llvm/test/CodeGen/X86/select-optimize.ll index 8b26542b27a18..d273d09e8dea3 100644 --- a/llvm/test/CodeGen/X86/select-optimize.ll +++ b/llvm/test/CodeGen/X86/select-optimize.ll @@ -2,8 +2,6 @@ ; RUN: opt -mtriple=x86_64-unknown-unknown -select-optimize -S < %s | FileCheck %s ; RUN: opt -mtriple=x86_64-unknown-unknown -passes='require,function(select-optimize)' -S < %s | FileCheck %s -; RUN: opt -mtriple=x86_64-unknown-unknown -select-optimize -S < %s --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: opt -mtriple=x86_64-unknown-unknown -passes='require,function(select-optimize)' -S < %s --try-experimental-debuginfo-iterators | FileCheck %s ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Test base heuristic 1: diff --git a/llvm/test/CodeGen/X86/selectiondag-order.ll b/llvm/test/CodeGen/X86/selectiondag-order.ll index 417b12bbd73f1..163e2cb90b2fe 100644 --- a/llvm/test/CodeGen/X86/selectiondag-order.ll +++ b/llvm/test/CodeGen/X86/selectiondag-order.ll @@ -1,7 +1,6 @@ ; Check that debug intrinsics do not affect code generation. ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck --check-prefix=X86-CHECK %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck --check-prefix=X86-CHECK %s define i64 @simulate(<2 x i32> %a) { entry: diff --git a/llvm/test/CodeGen/X86/sink-local-value.ll b/llvm/test/CodeGen/X86/sink-local-value.ll index 0e956b00b984f..4732fb48a922d 100644 --- a/llvm/test/CodeGen/X86/sink-local-value.ll +++ b/llvm/test/CodeGen/X86/sink-local-value.ll @@ -1,5 +1,4 @@ ; RUN: llc -O0 < %s | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 < %s | FileCheck %s target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32" target triple = "i386-linux-gnu" diff --git a/llvm/test/DebugInfo/AArch64/cfi-eof-prologue.ll b/llvm/test/DebugInfo/AArch64/cfi-eof-prologue.ll index a7c2294561694..0ee313d88866e 100644 --- a/llvm/test/DebugInfo/AArch64/cfi-eof-prologue.ll +++ b/llvm/test/DebugInfo/AArch64/cfi-eof-prologue.ll @@ -15,7 +15,6 @@ ; of CFI instructions. ; RUN: llc -fast-isel -O0 -filetype=asm < %s | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -fast-isel -O0 -filetype=asm < %s | FileCheck %s ; ModuleID = 'test1.cpp' target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" diff --git a/llvm/test/DebugInfo/AArch64/frameindices.ll b/llvm/test/DebugInfo/AArch64/frameindices.ll index 31a2b65e540b5..1b508051d459c 100644 --- a/llvm/test/DebugInfo/AArch64/frameindices.ll +++ b/llvm/test/DebugInfo/AArch64/frameindices.ll @@ -1,5 +1,4 @@ ; RUN: llc -frame-pointer=all -O0 -fast-isel -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -frame-pointer=all -O0 -fast-isel -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s ; Test that a variable with multiple entries in the MMI table makes it into the ; debug info. ; diff --git a/llvm/test/DebugInfo/AArch64/select-optimize-trailing-dbg-records.ll b/llvm/test/DebugInfo/AArch64/select-optimize-trailing-dbg-records.ll index 3083f390915aa..610315dd8b31f 100644 --- a/llvm/test/DebugInfo/AArch64/select-optimize-trailing-dbg-records.ll +++ b/llvm/test/DebugInfo/AArch64/select-optimize-trailing-dbg-records.ll @@ -1,7 +1,5 @@ ; RUN: opt %s -passes='require,function(select-optimize)' -o - -S \ ; RUN: | FileCheck %s -; RUN: opt %s --try-experimental-debuginfo-iterators -passes='require,function(select-optimize)' -o - -S \ -; RUN: | FileCheck %s ;; Check that the dbg.value is moved into the start of the end-block of the ;; inserted if-block. diff --git a/llvm/test/DebugInfo/ARM/lowerbdgdeclare_vla.ll b/llvm/test/DebugInfo/ARM/lowerbdgdeclare_vla.ll index 1b19e8e11fa41..94b527a445d3a 100644 --- a/llvm/test/DebugInfo/ARM/lowerbdgdeclare_vla.ll +++ b/llvm/test/DebugInfo/ARM/lowerbdgdeclare_vla.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=instcombine %s -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=instcombine %s -S | FileCheck %s ; ; Generate me from: ; clang -cc1 -triple thumbv7-apple-ios7.0.0 -S -target-abi apcs-gnu -gdwarf-2 -Os test.c -o test.ll -emit-llvm diff --git a/llvm/test/DebugInfo/ARM/split-complex.ll b/llvm/test/DebugInfo/ARM/split-complex.ll index 64de07ea61d64..92281b05331f6 100644 --- a/llvm/test/DebugInfo/ARM/split-complex.ll +++ b/llvm/test/DebugInfo/ARM/split-complex.ll @@ -1,9 +1,6 @@ ; RUN: llc -mtriple=thumbv7-apple-unknown-macho -O0 -filetype=obj -o - %s \ ; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=thumbv7-apple-unknown-macho -O0 -filetype=obj -o - %s \ -; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck %s - ; generated from (-triple thumbv7-apple-unknown-macho -Os): ; void f(_Complex double c) { c = 0; } diff --git a/llvm/test/DebugInfo/ARM/sroa-complex.ll b/llvm/test/DebugInfo/ARM/sroa-complex.ll index 6948a411d1d05..e2bb3a08f783b 100644 --- a/llvm/test/DebugInfo/ARM/sroa-complex.ll +++ b/llvm/test/DebugInfo/ARM/sroa-complex.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes='sroa' -S -o - %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes='sroa' -S -o - %s | FileCheck %s target datalayout = "e-m:o-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" target triple = "thumbv7-apple-unknown-macho" diff --git a/llvm/test/DebugInfo/COFF/class-options-common.ll b/llvm/test/DebugInfo/COFF/class-options-common.ll index 0c6e3a844b0fa..700714613a759 100644 --- a/llvm/test/DebugInfo/COFF/class-options-common.ll +++ b/llvm/test/DebugInfo/COFF/class-options-common.ll @@ -3,9 +3,6 @@ ; RUN: llc < %s | FileCheck %s --check-prefix=ASM-INLINE-COMMENTS ; ; Same as above, with experimental debuginfo iterators. -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | FileCheck %s --check-prefix=ASM-INLINE-COMMENTS ; ; Command to generate function-options.ll ; $ clang++ class-options-common.cpp -S -emit-llvm -g -gcodeview -o class-options-common.ll diff --git a/llvm/test/DebugInfo/COFF/cpp-mangling.ll b/llvm/test/DebugInfo/COFF/cpp-mangling.ll index beb2180957d78..994f575cd09ef 100644 --- a/llvm/test/DebugInfo/COFF/cpp-mangling.ll +++ b/llvm/test/DebugInfo/COFF/cpp-mangling.ll @@ -1,9 +1,6 @@ ; RUN: llc -mcpu=core2 -mtriple=i686-pc-win32 -o - -O0 -filetype=obj < %s \ ; RUN: | llvm-readobj --codeview - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mcpu=core2 -mtriple=i686-pc-win32 -o - -O0 -filetype=obj < %s \ -; RUN: | llvm-readobj --codeview - | FileCheck %s - ; C++ source to regenerate: ; namespace foo { ; int bar(int x) { return x * 2; } diff --git a/llvm/test/DebugInfo/COFF/enum-co.ll b/llvm/test/DebugInfo/COFF/enum-co.ll index 6ac7445595e87..b5ce797374a06 100644 --- a/llvm/test/DebugInfo/COFF/enum-co.ll +++ b/llvm/test/DebugInfo/COFF/enum-co.ll @@ -1,8 +1,6 @@ ; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s ; RUN: llc < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s ; Command to generate enum-co.ll ; $ clang++ enum-co.cpp -S -emit-llvm -g -gcodeview -o enum-co.ll diff --git a/llvm/test/DebugInfo/COFF/function-options.ll b/llvm/test/DebugInfo/COFF/function-options.ll index ff95a6c69e89f..c54c4d89b8804 100644 --- a/llvm/test/DebugInfo/COFF/function-options.ll +++ b/llvm/test/DebugInfo/COFF/function-options.ll @@ -1,8 +1,6 @@ ; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s ; RUN: llc < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s ; ; Command to generate function-options.ll ; $ clang++ function-options.cpp -S -emit-llvm -g -gcodeview -o function-options.ll diff --git a/llvm/test/DebugInfo/COFF/global_visibility.ll b/llvm/test/DebugInfo/COFF/global_visibility.ll index 191c2d935cfd4..8da374d3a0752 100644 --- a/llvm/test/DebugInfo/COFF/global_visibility.ll +++ b/llvm/test/DebugInfo/COFF/global_visibility.ll @@ -1,5 +1,4 @@ ; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s ; ; This test verifies global variables are emitted within the correct scope. ; diff --git a/llvm/test/DebugInfo/COFF/globals.ll b/llvm/test/DebugInfo/COFF/globals.ll index 9113f5fe87f8a..2724b99dc14be 100644 --- a/llvm/test/DebugInfo/COFF/globals.ll +++ b/llvm/test/DebugInfo/COFF/globals.ll @@ -5,14 +5,6 @@ ; RUN: llc < %s -filetype=obj -o %t ; RUN: obj2yaml < %t | FileCheck %s --check-prefixes=YAML,YAML-FILE -; Repeat with experimental debuginfo iterators: -; RUN: llc --try-experimental-debuginfo-iterators < %s | FileCheck %s --check-prefix=ASM -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s --check-prefix=OBJ -; RUN: llc --try-experimental-debuginfo-iterators < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s --check-prefix=OBJ -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | obj2yaml | FileCheck %s --check-prefixes=YAML,YAML-STDOUT -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj -o %t -; RUN: obj2yaml < %t | FileCheck %s --check-prefixes=YAML,YAML-FILE - ; C++ source to regenerate: ; $ cat a.cpp ; int first; diff --git a/llvm/test/DebugInfo/COFF/lambda.ll b/llvm/test/DebugInfo/COFF/lambda.ll index a171c85ba3c20..ad7f954266906 100644 --- a/llvm/test/DebugInfo/COFF/lambda.ll +++ b/llvm/test/DebugInfo/COFF/lambda.ll @@ -1,8 +1,6 @@ ; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s ; RUN: llc < %s | llvm-mc -filetype=obj --triple=i686-windows | llvm-readobj - --codeview | FileCheck %s ; -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | llvm-mc -filetype=obj --triple=i686-windows | llvm-readobj - --codeview | FileCheck %s ; ; Verify lambda routines are emitted properly in CodeView. ; diff --git a/llvm/test/DebugInfo/COFF/lines-bb-start.ll b/llvm/test/DebugInfo/COFF/lines-bb-start.ll index c8693b6f2d578..70c96b368c9ad 100644 --- a/llvm/test/DebugInfo/COFF/lines-bb-start.ll +++ b/llvm/test/DebugInfo/COFF/lines-bb-start.ll @@ -1,5 +1,4 @@ ; RUN: llc -O0 < %s | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 < %s | FileCheck %s source_filename = "t.c" target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32" diff --git a/llvm/test/DebugInfo/COFF/nrvo.ll b/llvm/test/DebugInfo/COFF/nrvo.ll index 186ac0be7b4ad..db16c116a2cb5 100644 --- a/llvm/test/DebugInfo/COFF/nrvo.ll +++ b/llvm/test/DebugInfo/COFF/nrvo.ll @@ -1,8 +1,6 @@ ; RUN: llc < %s | FileCheck %s --check-prefix=ASM ; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s --check-prefix=OBJ -; RUN: llc --try-experimental-debuginfo-iterators < %s | FileCheck %s --check-prefix=ASM -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s --check-prefix=OBJ ; C++ source to regenerate: ; struct Foo { diff --git a/llvm/test/DebugInfo/COFF/numeric-leaves.ll b/llvm/test/DebugInfo/COFF/numeric-leaves.ll index 68f6edc76e27c..2b3f7ed495c6c 100644 --- a/llvm/test/DebugInfo/COFF/numeric-leaves.ll +++ b/llvm/test/DebugInfo/COFF/numeric-leaves.ll @@ -2,11 +2,6 @@ ; RUN: llc < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s ; RUN: llc < %s | FileCheck %s --check-prefix=ASM -; Repeat with experimental debuginfo iterators. -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | FileCheck %s --check-prefix=ASM - ; C++ source to regenerate: ; $ cat numeric-leaves.cpp ; const long long Minus1 = -1; diff --git a/llvm/test/DebugInfo/COFF/parent-type-scopes.ll b/llvm/test/DebugInfo/COFF/parent-type-scopes.ll index 7d91e6538e313..95c7a55895222 100644 --- a/llvm/test/DebugInfo/COFF/parent-type-scopes.ll +++ b/llvm/test/DebugInfo/COFF/parent-type-scopes.ll @@ -1,9 +1,6 @@ ; RUN: llc < %s -filetype=obj -o %t.o ; RUN: llvm-pdbutil dump -types %t.o | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj -o %t.o -; RUN: llvm-pdbutil dump -types %t.o | FileCheck %s - ; C++ source: ; // Note that MSVC doesn't emit anything about WrapTypedef or WrapTypedef::Inner! ; struct WrapTypedef { diff --git a/llvm/test/DebugInfo/COFF/purge-typedef-udts.ll b/llvm/test/DebugInfo/COFF/purge-typedef-udts.ll index 64f97c106a4a5..8118e0ca2ae8b 100644 --- a/llvm/test/DebugInfo/COFF/purge-typedef-udts.ll +++ b/llvm/test/DebugInfo/COFF/purge-typedef-udts.ll @@ -1,5 +1,4 @@ ; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s source_filename = "test/DebugInfo/COFF/purge-typedef-udts.ll" target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32" target triple = "i686-pc-windows-msvc19.11.25506" diff --git a/llvm/test/DebugInfo/COFF/thunk.ll b/llvm/test/DebugInfo/COFF/thunk.ll index e0ee2b5c14818..18fbeac8cf8ea 100644 --- a/llvm/test/DebugInfo/COFF/thunk.ll +++ b/llvm/test/DebugInfo/COFF/thunk.ll @@ -2,11 +2,6 @@ ; RUN: llc < %s | FileCheck %s --check-prefix=ASM ; RUN: opt -S -debugger-tune=lldb %s | FileCheck -check-prefix=OPT %s -; Do the same for experimental debuginfo iterators. -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | FileCheck %s --check-prefix=ASM -; RUN: opt --try-experimental-debuginfo-iterators -S -debugger-tune=lldb %s | FileCheck -check-prefix=OPT %s - ; -- "thunk.cpp" begin -------------------------------------------------------- ; class A { public: virtual bool MyMethod() { return true; } }; ; class B { public: virtual bool MyMethod() { return true; } }; diff --git a/llvm/test/DebugInfo/COFF/type-quals.ll b/llvm/test/DebugInfo/COFF/type-quals.ll index 1dfc1e2972eb7..de36545b20c5a 100644 --- a/llvm/test/DebugInfo/COFF/type-quals.ll +++ b/llvm/test/DebugInfo/COFF/type-quals.ll @@ -1,8 +1,6 @@ ; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s ; RUN: llc < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s ; C++ source to regenerate: ; $ cat m.cpp diff --git a/llvm/test/DebugInfo/COFF/types-cvarargs.ll b/llvm/test/DebugInfo/COFF/types-cvarargs.ll index c327a45324101..95a747f834dfc 100644 --- a/llvm/test/DebugInfo/COFF/types-cvarargs.ll +++ b/llvm/test/DebugInfo/COFF/types-cvarargs.ll @@ -1,8 +1,6 @@ ; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s ; RUN: llc < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s ; C++ source to regenerate: ; $ cat t.cpp diff --git a/llvm/test/DebugInfo/COFF/types-integer-old.ll b/llvm/test/DebugInfo/COFF/types-integer-old.ll index c1c18bca8ed48..2ed36662a804b 100644 --- a/llvm/test/DebugInfo/COFF/types-integer-old.ll +++ b/llvm/test/DebugInfo/COFF/types-integer-old.ll @@ -1,5 +1,4 @@ ; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s ; Tests that CodeView integer types are generated even when using Clang's old integer type names. diff --git a/llvm/test/DebugInfo/COFF/types-method-ref-qualifiers.ll b/llvm/test/DebugInfo/COFF/types-method-ref-qualifiers.ll index 6f9987c33ab9e..f931b46b0f6b8 100644 --- a/llvm/test/DebugInfo/COFF/types-method-ref-qualifiers.ll +++ b/llvm/test/DebugInfo/COFF/types-method-ref-qualifiers.ll @@ -1,8 +1,6 @@ ; RUN: llc < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s ; RUN: llc < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -filetype=obj | llvm-readobj - --codeview | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s | llvm-mc -filetype=obj --triple=x86_64-windows | llvm-readobj - --codeview | FileCheck %s ; C++ source to regenerate: ; struct A { diff --git a/llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll b/llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll index 2a5d5e776b934..87d75c16dd8e3 100644 --- a/llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll +++ b/llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -O2 %s -o - | FileCheck %s -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -O2 %s -o - | FileCheck %s ; Check struct X for dead variable xyz from inlined function foo. ; CHECK: {{.section.*debug_info|.*dwinfo:}} diff --git a/llvm/test/DebugInfo/Generic/2010-10-01-crash.ll b/llvm/test/DebugInfo/Generic/2010-10-01-crash.ll index 54c4c07f8c238..8f8d67173c1cd 100644 --- a/llvm/test/DebugInfo/Generic/2010-10-01-crash.ll +++ b/llvm/test/DebugInfo/Generic/2010-10-01-crash.ll @@ -1,5 +1,4 @@ ; RUN: llc -O0 %s -o /dev/null -; RUN: llc --try-experimental-debuginfo-iterators -O0 %s -o /dev/null define void @CGRectStandardize(ptr sret(i32) %agg.result, ptr byval(i32) %rect) nounwind ssp !dbg !0 { entry: diff --git a/llvm/test/DebugInfo/Generic/PR20038.ll b/llvm/test/DebugInfo/Generic/PR20038.ll index d7fa11efab5da..024a6abf0591a 100644 --- a/llvm/test/DebugInfo/Generic/PR20038.ll +++ b/llvm/test/DebugInfo/Generic/PR20038.ll @@ -2,7 +2,6 @@ ; XFAIL: target=sparc{{.*}} ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck %s --implicit-check-not=DW_TAG -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck %s --implicit-check-not=DW_TAG ; IR generated from clang -O0 with: ; struct C { diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/adce/no-delete.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/adce/no-delete.ll index 16e6585c1a150..8752d24d6a9cb 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/adce/no-delete.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/adce/no-delete.ll @@ -1,7 +1,5 @@ ; RUN: opt %s -passes=adce -S -o - \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes=adce -S -o - \ -; RUN: | FileCheck %s ;; $ cat test.c ;; void fun(int local) {} diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll index 8f0350c0e34af..dc47f3f1920e2 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/codegenprepare/sunk-addr.ll @@ -3,11 +3,6 @@ ; RUN: -mtriple=x86_64-unknown-unknown %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg." -;; Test with RemoveDIs non-intrinsic debug-info too. -; RUN: llc -start-before=codegenprepare -stop-after=codegenprepare \ -; RUN: -mtriple=x86_64-unknown-unknown %s -o - --try-experimental-debuginfo-iterators \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg." - ;; Check that when CodeGenPrepare moves an address computation to a block it's ;; used in its dbg.assign uses are updated. ;; diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll index afbc59b4c6605..5bc807653d30e 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=declare-to-assign -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=declare-to-assign -o - | FileCheck %s ; CHECK: #dbg_assign diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/long-double-x87.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/long-double-x87.ll index f04415cdc8fe1..c3c267ffcf02b 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/long-double-x87.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/long-double-x87.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=declare-to-assign -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=declare-to-assign -o - | FileCheck %s ;; Generated from this C++: ;; long double get(); diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/nullptr-declare.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/nullptr-declare.ll index 658ec9d3d7107..8247e29c9ef8b 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/nullptr-declare.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/nullptr-declare.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes=declare-to-assign -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes=declare-to-assign -S | FileCheck %s ;; Check AssignmentTrackingPass ignores a dbg.declare with an empty metadata ;; location operand. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/scalable-vector.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/scalable-vector.ll index 63ea6e15c887b..c163d7726269f 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/scalable-vector.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/scalable-vector.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=declare-to-assign %s -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=declare-to-assign %s -S | FileCheck %s ;; Check declare-to-assign skips scalable vectors for now. i.e. do not replace ;; the dbg.declare with a dbg.assign intrinsic. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/set-flag-only-if-modified.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/set-flag-only-if-modified.ll index 849c763da9fc0..3481bfe019914 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/set-flag-only-if-modified.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/set-flag-only-if-modified.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=declare-to-assign -S %s -o - \ ; RUN: | FileCheck %s --check-prefix=WITHOUT-INTRINSIC -; RUN: opt --try-experimental-debuginfo-iterators -passes=declare-to-assign -S %s -o - \ -; RUN: | FileCheck %s --check-prefix=WITHOUT-INTRINSIC ; RUN: sed 's/;Uncomment-with-sed//g' < %s \ ; RUN: | opt -passes=declare-to-assign -S - -o - \ diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/structured-bindings.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/structured-bindings.ll index 548053ea70bed..a6970c2120256 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/structured-bindings.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/structured-bindings.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=declare-to-assign -S %s -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=declare-to-assign -S %s -o - | FileCheck %s ;; Check assignment tracking debug info for structured bindings. FIXME only ;; variables at offset 0 in the backing alloca are currently tracked with the diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/var-not-alloca-sized.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/var-not-alloca-sized.ll index 785472b55c28e..4ea149364c9ae 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/var-not-alloca-sized.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/var-not-alloca-sized.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=declare-to-assign -S %s -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=declare-to-assign -S %s -o - | FileCheck %s ;; The variable doesn't fill the whole alloca which has a range of different ;; sized stores to it, overlapping (or not) the variable in various ways. Check diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/vla.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/vla.ll index 317bc919717de..944b622726552 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/vla.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/vla.ll @@ -1,5 +1,4 @@ ; RUN: opt -S %s -passes=declare-to-assign -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S %s -passes=declare-to-assign -o - | FileCheck %s ;; Check declare-to-assign ignores VLA-backed variables (for now). ;; From C++ source: diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/dse/dse-after-memcpyopt-merge.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/dse/dse-after-memcpyopt-merge.ll index 2c26cb8c84c7b..80212392ef859 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/dse/dse-after-memcpyopt-merge.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/dse/dse-after-memcpyopt-merge.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=dse -o - | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=dse -o - | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Observed in the wild, but test is created by running memcpyopt on ;; assignment-tracking/memcpyopt/merge-stores.ll then manually inserting diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten-offset.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten-offset.ll index 47dabf6c0bec7..20019be7476db 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten-offset.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten-offset.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=dse -o - | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=dse -o - | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Based on the test shorten.ll with some adjustments. ;; diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten.ll index 1d5acc2ce2276..02d29d40f4c9e 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/dse/shorten.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=dse -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=dse -o - | FileCheck %s ;; $ cat test.cpp ;; void esc(int*); diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/inline/id.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/inline/id.ll index 19feaf6623ba5..e01b44ff75fdb 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/inline/id.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/inline/id.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=inline -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=inline -o - | FileCheck %s ;; Check that all DIAssignID metadata that are inlined are replaced with new ;; versions. Otherwise two inlined instances of an assignment will be considered diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/inline/inline-stores.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/inline/inline-stores.ll index 8520aa0ae9cb6..6ed0237a5b8c7 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/inline/inline-stores.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/inline/inline-stores.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=inline %s -S -o - \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=inline %s -S -o - \ -; RUN: | FileCheck %s ;; $ cat test.cpp ;; __attribute__((always_inline)) diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/inline/shared-alloca.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/inline/shared-alloca.ll index 1f45a0ddb9188..58b1cb71d9f06 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/inline/shared-alloca.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/inline/shared-alloca.ll @@ -1,7 +1,5 @@ ; RUN: opt -S %s -passes=inline -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -S %s -passes=inline -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; The dbg.assign linked to the large alloca describes a variable sitting at ;; offset 0, size 64. Check: diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/inline/use-before-def.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/inline/use-before-def.ll index 627335aed9b67..99b456307e7d2 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/inline/use-before-def.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/inline/use-before-def.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=inline %s -S -o - \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=inline %s -S -o - \ -; RUN: | FileCheck %s ;; Hand modified from: ;; $ cat test.c diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/do-not-remove-redundant-dbg.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/do-not-remove-redundant-dbg.ll index 2e100ed88fc71..e3b01e5354aa6 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/do-not-remove-redundant-dbg.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/do-not-remove-redundant-dbg.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=instcombine -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=instcombine -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Based on the test remove-redundant-dbg.ll. ;; diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/memset.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/memset.ll index db16667684be4..f10f1bb1b4ab8 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/memset.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/memset.ll @@ -1,7 +1,5 @@ ; RUN: opt %s -S -passes=instcombine -o - \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=instcombine -o - \ -; RUN: | FileCheck %s ;; $ cat test.cpp ;; void esc(int*); diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/remove-redundant-dbg.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/remove-redundant-dbg.ll index cb4250430106b..1e1ba56590d86 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/remove-redundant-dbg.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/remove-redundant-dbg.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=sroa -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Check that sroa removes redundant debug intrinsics after it makes a ;; change. This has a significant positive impact on peak memory and compiler diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink-store.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink-store.ll index 43279bbfef540..f76f5d65b1590 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink-store.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink-store.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=instcombine | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=instcombine | FileCheck %s ;; Check that instcombine merges the DIAssignID metadata when merging two ;; stores into a successor. Filecheck directives inline. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink.ll index f2aa1c5b19833..16312dac81c87 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/sink.ll @@ -1,7 +1,5 @@ ; RUN: opt %s -S -passes=instcombine -o - \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=instcombine -o - \ -; RUN: | FileCheck %s ;; Check that when instcombine sinks an instruction used by a dbg.assign, the ;; usual debug intrinsic updating doesn't take place (i.e. do not diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/store-new-type.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/store-new-type.ll index 0b142aa0ed600..3f8d2071270a8 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/store-new-type.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/store-new-type.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes=instcombine -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes=instcombine -S | FileCheck %s ;; Based on test/Transforms/InstCombine/shufflevec-bitcast.ll in which the ;; store of <4 x i4> is replaced with a store of type <2 x i8>. Debug info diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/storemerge.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/storemerge.ll index 4a5db0880051f..7761f6a9452d9 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/storemerge.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/storemerge.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=instcombine -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=instcombine -o - | FileCheck %s ;; $ cat test.cpp ;; class a { diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/licm/merge.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/licm/merge.ll index 4c46c487f3a1d..d5ac8211ba85a 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/licm/merge.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/licm/merge.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=licm %s -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=licm %s -S | FileCheck %s ;; Ensure that we correctly merge the DIAssignID's from the sunk stores, add it ;; to the new new store instruction, and update the dbg.assign intrinsics using diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/licm/multi-exit.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/licm/multi-exit.ll index 183d9ed83c7a4..50b2c00540fd7 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/licm/multi-exit.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/licm/multi-exit.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=licm -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=licm -o - | FileCheck %s ;; $ cat test.c ;; int b, c, d; diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/loop-deletion/dead-loop.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/loop-deletion/dead-loop.ll index 92b8757547e60..d36d9a216f119 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/loop-deletion/dead-loop.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/loop-deletion/dead-loop.ll @@ -1,7 +1,5 @@ ; RUN: opt %s -passes=loop-deletion -S -o - \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes=loop-deletion -S -o - \ -; RUN: | FileCheck %s ;; $ cat test.cpp: ;; void esc(int*); diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/loop-vectorize/remove-redundant-dbg.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/loop-vectorize/remove-redundant-dbg.ll index beb45b61b418c..130aff6501ad6 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/loop-vectorize/remove-redundant-dbg.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/loop-vectorize/remove-redundant-dbg.ll @@ -1,7 +1,5 @@ ; RUN: opt %s -passes=loop-vectorize -force-vector-width=2 -force-vector-interleave=2 -S -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators %s -passes=loop-vectorize -force-vector-width=2 -force-vector-interleave=2 -S -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Check that loop-vectorize removes redundant debug intrinsics after it makes ;; a change. This has a significant positive impact on peak memory and compiler diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/phi.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/phi.ll index ede967c844c3e..843f1bb75542a 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/phi.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/phi.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=mem2reg -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=mem2reg -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Test assignment tracking debug info when mem2reg promotes an alloca with ;; stores requiring insertion of a phi. Check the output when the stores are diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-block-alloca.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-block-alloca.ll index 9b76b12055ba0..03337c27721dc 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-block-alloca.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-block-alloca.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=mem2reg -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=mem2reg -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Test assignment tracking debug info when mem2reg promotes a single-block ;; alloca. Check the output when the stores are tagged and also untagged (test diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-store-alloca.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-store-alloca.ll index 16e9406f2c293..ffe48412fb44b 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-store-alloca.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/single-store-alloca.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=mem2reg -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=mem2reg -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Test assignment tracking debug info when mem2reg promotes a single-store ;; alloca. Additionally, check that all the dbg.assigns linked to the alloca diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/store-to-part-of-alloca.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/store-to-part-of-alloca.ll index 139fe5e3efe20..eea9214216868 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/store-to-part-of-alloca.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/mem2reg/store-to-part-of-alloca.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=mem2reg -S %s -o - | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=mem2reg -S %s -o - | FileCheck %s --implicit-check-not="call void @llvm.dbg" ; CHECK: #dbg_value(i64 0, ![[#]], !DIExpression(DW_OP_LLVM_fragment, 0, 32), diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/memcpyopt/merge-stores.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/memcpyopt/merge-stores.ll index e04ecb6c66f01..0c5b7150b76e7 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/memcpyopt/merge-stores.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/memcpyopt/merge-stores.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=memcpyopt -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=memcpyopt -o - | FileCheck %s ;; $ cat test.cpp ;; struct v { diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/mldst-motion/diamond.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/mldst-motion/diamond.ll index 3a8435543fe2b..67592b555119b 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/mldst-motion/diamond.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/mldst-motion/diamond.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=mldst-motion -S %s -o - \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=mldst-motion -S %s -o - \ -; RUN: | FileCheck %s ;; $ cat test.cpp ;; int cond; diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/optnone.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/optnone.ll index fe79caf3b4caf..d1b395293ead5 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/optnone.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/optnone.ll @@ -1,7 +1,5 @@ ; RUN: opt -S %s -o - --passes=declare-to-assign \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -S %s -o - --passes=declare-to-assign \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Assignment tracking doesn't add any value when optimisations are disabled. ;; Check it doesn't get applied to functions marked optnone. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/instruction-type.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/instruction-type.ll index 95cba59a987e9..2ca9f0d431afd 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/instruction-type.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/instruction-type.ll @@ -1,7 +1,5 @@ ; RUN: opt -S %s -passes=verify 2>&1 \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S %s -passes=verify 2>&1 \ -; RUN: | FileCheck %s ;; NOTE: Expect opt to return zero because the badly formed debug info ;; is going to be stripped. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/roundtrip.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/roundtrip.ll index aaf33dff1cc29..e0648b611edcf 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/roundtrip.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/roundtrip.ll @@ -1,9 +1,6 @@ ; RUN: opt %s -passes=verify \ ; RUN: | opt -passes=verify -S \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes=verify \ -; RUN: | opt -passes=verify -S \ -; RUN: | FileCheck %s ;; Roundtrip test (text -> bitcode -> text) for DIAssignID metadata and ;; llvm.dbg.assign intrinsics. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/verify.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/verify.ll index 55ad1814463fb..0a4b7c255dc71 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/verify.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/verify.ll @@ -1,7 +1,5 @@ ; RUN: opt %s -S -passes=verify 2>&1 \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=verify 2>&1 \ -; RUN: | FileCheck %s ;; Check that badly formed assignment tracking metadata is caught either ;; while parsing or by the verifier. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant-fwd-scan-linked.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant-fwd-scan-linked.ll index de93dac413f09..0a35bf71e1fae 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant-fwd-scan-linked.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant-fwd-scan-linked.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=redundant-dbg-inst-elim -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=redundant-dbg-inst-elim -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; $ cat -n reduce.c ;; 1 void ext(); diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant.ll index c5f421d1c5f33..413bc3e3b4f61 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/remove-redundant.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=redundant-dbg-inst-elim -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=redundant-dbg-inst-elim -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Hand-written. Test how RemoveRedundantDbgInstrs interacts with dbg.assign ;; intrinsics. FileCehck directives are inline. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/salvage-value.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/salvage-value.ll index 29edc3875a1fd..18009237022d0 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/salvage-value.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/salvage-value.ll @@ -1,7 +1,5 @@ ; RUN: opt %s -S -o - -passes=instcombine \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators %s -S -o - -passes=instcombine \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Hand-written (the debug info doesn't necessarily make sense and isn't fully ;; formed). Test salvaging a dbg.assign value and address. Checks and comments diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/empty-block.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/empty-block.ll index a525b1967afe6..0c637f8ec364f 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/empty-block.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/empty-block.ll @@ -1,7 +1,5 @@ ; RUN: opt -S %s -passes=simplifycfg -o - \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S %s -passes=simplifycfg -o - \ -; RUN: | FileCheck %s ;; $ cat test.cpp ;; class a {}; diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/speculated-store.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/speculated-store.ll index b17ab8c113f3e..b780155420089 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/speculated-store.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/simplifycfg/speculated-store.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=simplifycfg %s -S \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=simplifycfg %s -S \ -; RUN: | FileCheck %s ;; Ensure that we correctly update the value component of dbg.assign intrinsics ;; after merging a conditional block with a store its the predecessor. The diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/slp-vectorizer/merge-scalars.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/slp-vectorizer/merge-scalars.ll index 0315adb5452b4..1879c7c6f0262 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/slp-vectorizer/merge-scalars.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/slp-vectorizer/merge-scalars.ll @@ -1,8 +1,6 @@ ; REQUIRES: x86-registered-target ; RUN: opt -passes=slp-vectorizer -S -o - %s \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=slp-vectorizer -S -o - %s \ -; RUN: | FileCheck %s ;; $ cat test.cpp ;; float get(); diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/after-inlining.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/after-inlining.ll index 88c6412828560..ff4fffd37620a 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/after-inlining.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/after-inlining.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=sroa -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=sroa -o - | FileCheck %s ;; Check that SROA preserves the InlinedAt status of new dbg.assign intriniscs ;; it inserts. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/alloca-single-slice.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/alloca-single-slice.ll index e2e2c14678a4f..8f8ac5d56b264 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/alloca-single-slice.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/alloca-single-slice.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=sroa,verify -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa,verify -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ; Check that single sliced allocas retain their assignment tracking debug info. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/arglist.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/arglist.ll index c6e0b9f711e31..a8274c1a0bcd3 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/arglist.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/arglist.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=sroa -S %s -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa -S %s -o - | FileCheck %s ;; Check that a dbg.assign for a promoted variable becomes a kill location if ;; it used an arglist. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/complex.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/complex.ll index a1b28a4e2bd40..10c81cbe25983 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/complex.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/complex.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=sroa -S -o - %s \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa -S -o - %s \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ; ;; Based on llvm/test/DebugInfo/ARM/sroa-complex.ll ;; generated from: diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/fail-fragment.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/fail-fragment.ll index 39b04b8466679..8898a814e22ad 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/fail-fragment.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/fail-fragment.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=sroa -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Check that a dbg.assign for a promoted variable becomes a kill location if ;; it used a fragment that can't be split (the first check directive below). diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag-2.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag-2.ll index 1a145bb7a5b77..accafaa6c8be0 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag-2.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag-2.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=sroa -S %s -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa -S %s -o - | FileCheck %s ;; $ cat test.cpp ;; class a { diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag.ll index 159fceb174f95..be0fa786aea71 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/frag.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=sroa -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=sroa -o - | FileCheck %s ;; $ cat test.cpp ;; class c { diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/id.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/id.ll index d7b3288bd8fc7..72841b0bd2842 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/id.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/id.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=sroa -S %s -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa -S %s -o - | FileCheck %s ;; Check that multiple dbg.assign intrinsics linked to a store that is getting ;; split (or at least that is touched by SROA, causing a replacement store to diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memcpy.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memcpy.ll index ff8affbdc2251..6c3574de8ca43 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memcpy.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memcpy.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=sroa,verify -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa,verify -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Check that the new slices of an alloca and memcpy intructions get dbg.assign ;; intrinsics with the correct fragment info. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memmove-to-from-same-alloca.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memmove-to-from-same-alloca.ll index 4a84df67a998a..898f5278f2146 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memmove-to-from-same-alloca.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/memmove-to-from-same-alloca.ll @@ -1,7 +1,5 @@ ; RUN: opt %s -passes=sroa -o - -S \ ; RUN: | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes=sroa -o - -S \ -; RUN: | FileCheck %s ;; Generated from this C++ source: ;; __attribute__((nodebug)) struct Blob {int P[6];} Glob; diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/remove-redundant-dbg.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/remove-redundant-dbg.ll index cb4250430106b..1e1ba56590d86 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/remove-redundant-dbg.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/remove-redundant-dbg.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=sroa -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Check that sroa removes redundant debug intrinsics after it makes a ;; change. This has a significant positive impact on peak memory and compiler diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/rewrite.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/rewrite.ll index 24199c6f86885..452ceaf1390f9 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/rewrite.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/rewrite.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=sroa,verify -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa,verify -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ; Check that the new slices of an alloca and memset intructions get dbg.assign ; intrinsics with the correct fragment info. Ensure that only the diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store-2.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store-2.ll index b0b134b7066f1..49343e7576f37 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store-2.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store-2.ll @@ -1,7 +1,5 @@ ; RUN: opt -S -passes=sroa -sroa-skip-mem2reg %s \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -S -passes=sroa -sroa-skip-mem2reg %s \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; NOTE: This is the same as split-pre-fragmented-store.ll except the base ;; alloca's dbg.assign has been altered to contain a fragment of the full diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store.ll index c151bd42d346d..5d1b74bd43048 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/split-pre-fragmented-store.ll @@ -1,7 +1,5 @@ ; RUN: opt -S -passes=sroa -sroa-skip-mem2reg %s \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -S -passes=sroa -sroa-skip-mem2reg %s \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; IR hand-modified, originally generated from: ;; struct Pair { int a; int b; }; diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/store.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/store.ll index 2ece3d9bd0174..53ea779de12db 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/store.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/store.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=sroa,verify -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa,verify -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ; Check that the new slices of an alloca and memset intructions get dbg.assign ; intrinsics with the correct fragment info. Ensure that only the diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/unspecified-var-size.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/unspecified-var-size.ll index fb11686994a50..b899f5a3c648a 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/unspecified-var-size.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/unspecified-var-size.ll @@ -1,5 +1,4 @@ ; RUN: opt -S %s -passes=sroa -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S %s -passes=sroa -o - | FileCheck %s ;; $ cat test.cpp ;; #include diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/user-memcpy.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/user-memcpy.ll index c4f0c49f1a1f5..af3070511e345 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/user-memcpy.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/user-memcpy.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=sroa -S %s -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes=sroa -S %s -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; Check that the fragments generated in SROA for a split alloca that has a ;; dbg.assign with non-zero-offset fragment are correct. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/var-sized-fragment.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/var-sized-fragment.ll index c2bcd4dcfeeee..52cb5d4ac4acd 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/var-sized-fragment.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/var-sized-fragment.ll @@ -1,5 +1,4 @@ ; RUN: opt -S %s -o - -passes=sroa | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S %s -o - -passes=sroa | FileCheck %s ;; SROA splits the alloca into two. Each slice already has a 32-bit variable ;; associated with it (the structured binding variables). Check SROA doesn't diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-1.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-1.ll index b60c3fcd47e74..eb984283e8b05 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-1.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-1.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=sroa -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=sroa -o - | FileCheck %s ;; Ensure that only the value-expression gets fragment info; that the ;; address-expression remains untouched. diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll index 38f220aa61e80..031692ab4984b 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/sroa/vec-2.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -passes=sroa -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -S -passes=sroa -o - | FileCheck %s ;; $ cat test.cpp ;; class a { diff --git a/llvm/test/DebugInfo/Generic/assignment-tracking/track-assignments.ll b/llvm/test/DebugInfo/Generic/assignment-tracking/track-assignments.ll index b367b55ec1389..709c6ca811ad6 100644 --- a/llvm/test/DebugInfo/Generic/assignment-tracking/track-assignments.ll +++ b/llvm/test/DebugInfo/Generic/assignment-tracking/track-assignments.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes='declare-to-assign,verify' %s -S -o - \ ; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" -; RUN: opt --try-experimental-debuginfo-iterators -passes='declare-to-assign,verify' %s -S -o - \ -; RUN: | FileCheck %s --implicit-check-not="call void @llvm.dbg" ;; This test checks that `trackAssignments` is working correctly by using the ;; pass-wrapper `declare-to-assign`. Each function checks some specific diff --git a/llvm/test/DebugInfo/Generic/block-asan.ll b/llvm/test/DebugInfo/Generic/block-asan.ll index ceaf3f1d5e9a3..db49289bd6ece 100644 --- a/llvm/test/DebugInfo/Generic/block-asan.ll +++ b/llvm/test/DebugInfo/Generic/block-asan.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -passes=asan %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -passes=asan %s | FileCheck %s ; The IR of this testcase is generated from the following C code: ; void bar (int); diff --git a/llvm/test/DebugInfo/Generic/dbg-value-lower-linenos.ll b/llvm/test/DebugInfo/Generic/dbg-value-lower-linenos.ll index f5f7b55ab3f59..b6879e3f827a8 100644 --- a/llvm/test/DebugInfo/Generic/dbg-value-lower-linenos.ll +++ b/llvm/test/DebugInfo/Generic/dbg-value-lower-linenos.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -S -passes=mem2reg,instcombine | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -S -passes=mem2reg,instcombine | FileCheck %s ; The '%bar' alloca will be promoted to an SSA register by mem2reg: test that ; zero line number are assigned to the dbg.value intrinsics that are inserted diff --git a/llvm/test/DebugInfo/Generic/dead-argument-order.ll b/llvm/test/DebugInfo/Generic/dead-argument-order.ll index b2037b0590f20..f6cd8092a48d8 100644 --- a/llvm/test/DebugInfo/Generic/dead-argument-order.ll +++ b/llvm/test/DebugInfo/Generic/dead-argument-order.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; Built from the following source with clang -O1 ; struct S { int i; }; diff --git a/llvm/test/DebugInfo/Generic/discriminated-union.ll b/llvm/test/DebugInfo/Generic/discriminated-union.ll index 0267580eb0cbf..b57b16dea91c4 100644 --- a/llvm/test/DebugInfo/Generic/discriminated-union.ll +++ b/llvm/test/DebugInfo/Generic/discriminated-union.ll @@ -1,9 +1,6 @@ ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s --check-prefix %if target-byteorder-big-endian %{ CHECK-BE %} %else %{ CHECK-LE %} -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -O0 -filetype=obj < %s > %t -; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s --check-prefix %if target-byteorder-big-endian %{ CHECK-BE %} %else %{ CHECK-LE %} - ; Check for a variant part that has two members, one of which has a ; discriminant value. diff --git a/llvm/test/DebugInfo/Generic/disubrange_vla.ll b/llvm/test/DebugInfo/Generic/disubrange_vla.ll index 6554cf46b0be3..18dd128ee01f9 100644 --- a/llvm/test/DebugInfo/Generic/disubrange_vla.ll +++ b/llvm/test/DebugInfo/Generic/disubrange_vla.ll @@ -4,13 +4,6 @@ ; RUN: llvm-dwarfdump -verbose %t >> %t2 ; RUN: cat %t2 | FileCheck %s -; Repeat the test with experimental debuginfo iterators. -; RUN: rm -rf %t %t2 -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -O0 -filetype=obj < %s > %t -; RUN: llvm-dwarfdump -name=vla_expr %t > %t2 -; RUN: llvm-dwarfdump -verbose %t >> %t2 -; RUN: cat %t2 | FileCheck %s - ; This test runs llvm-dwarfdump twice: ; - First to get the debug entry for 'vla_expr'. ; - Second to check that this is the entry referenced in DW_AT_count. diff --git a/llvm/test/DebugInfo/Generic/enum-types.ll b/llvm/test/DebugInfo/Generic/enum-types.ll index 288513468b06f..8af9b21bdaa42 100644 --- a/llvm/test/DebugInfo/Generic/enum-types.ll +++ b/llvm/test/DebugInfo/Generic/enum-types.ll @@ -1,6 +1,5 @@ ; ; RUN: %llc_dwarf -filetype=obj -O0 -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -filetype=obj -O0 -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Make sure we can handle enums with the same identifier but in enum types of ; different compile units. diff --git a/llvm/test/DebugInfo/Generic/enum.ll b/llvm/test/DebugInfo/Generic/enum.ll index 11d30d35f7cf7..63665e355edff 100644 --- a/llvm/test/DebugInfo/Generic/enum.ll +++ b/llvm/test/DebugInfo/Generic/enum.ll @@ -1,9 +1,6 @@ ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -O0 -filetype=obj < %s > %t -; RUN: llvm-dwarfdump -v %t | FileCheck %s - ; IR generated from the following code compiled with clang -g: ; enum e1 { I, J = 0xffffffffU, K = 0xf000000000000000ULL } a; ; enum e2 { X }; diff --git a/llvm/test/DebugInfo/Generic/import-inlined-declaration.ll b/llvm/test/DebugInfo/Generic/import-inlined-declaration.ll index d3f28ad63ff60..6a5209548a257 100644 --- a/llvm/test/DebugInfo/Generic/import-inlined-declaration.ll +++ b/llvm/test/DebugInfo/Generic/import-inlined-declaration.ll @@ -1,6 +1,5 @@ ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump - | FileCheck --implicit-check-not "{{DW_TAG|NULL}}" %s -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -O0 -filetype=obj < %s | llvm-dwarfdump - | FileCheck --implicit-check-not "{{DW_TAG|NULL}}" %s ; namespace ns { ; inline __attribute__((always_inline)) diff --git a/llvm/test/DebugInfo/Generic/inline-alloca-ordering.ll b/llvm/test/DebugInfo/Generic/inline-alloca-ordering.ll index 8644611a68c27..f696c9397ba88 100644 --- a/llvm/test/DebugInfo/Generic/inline-alloca-ordering.ll +++ b/llvm/test/DebugInfo/Generic/inline-alloca-ordering.ll @@ -1,5 +1,4 @@ ; RUN: opt %s --passes=inline -o - -S | FileCheck %s --implicit-check-not=dbg.value -; RUN: opt %s --passes=inline -o - -S --try-experimental-debuginfo-iterators | FileCheck %s --implicit-check-not=dbg.value ;; The inliner, specially, hoists all alloca instructions into the entry block ;; of the calling function. Ensure that it doesn't accidentally transfer the diff --git a/llvm/test/DebugInfo/Generic/inline-dbg-values.ll b/llvm/test/DebugInfo/Generic/inline-dbg-values.ll index f0328bc02d3f3..4710a10c9093c 100644 --- a/llvm/test/DebugInfo/Generic/inline-dbg-values.ll +++ b/llvm/test/DebugInfo/Generic/inline-dbg-values.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes='cgscc(inline)' -S %s -o - -S | FileCheck %s --implicit-check-not=dbg.value -; RUN: opt -passes='cgscc(inline)' -S %s -o - -S --try-experimental-debuginfo-iterators | FileCheck %s --implicit-check-not=dbg.value ;; Test that dbg.value intrinsics are inlined, remapped, and have their ;; dilocation updated just like normal instructions. This becomes diff --git a/llvm/test/DebugInfo/Generic/inline-debug-loc.ll b/llvm/test/DebugInfo/Generic/inline-debug-loc.ll index 0a704bade1e38..37e124b537b4d 100644 --- a/llvm/test/DebugInfo/Generic/inline-debug-loc.ll +++ b/llvm/test/DebugInfo/Generic/inline-debug-loc.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes='cgscc(inline)' -S < %s | FileCheck %s -; RUN: opt -passes='cgscc(inline)' -S < %s --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/DebugInfo/Generic/inlined-vars.ll b/llvm/test/DebugInfo/Generic/inlined-vars.ll index f2ef69b474014..8a71f09ca01b8 100644 --- a/llvm/test/DebugInfo/Generic/inlined-vars.ll +++ b/llvm/test/DebugInfo/Generic/inlined-vars.ll @@ -1,7 +1,5 @@ ; RUN: %llc_dwarf -O0 < %s | FileCheck %s -check-prefix ARGUMENT ; RUN: %llc_dwarf -O0 < %s | FileCheck %s -check-prefix VARIABLE -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -O0 < %s | FileCheck %s -check-prefix ARGUMENT -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -O0 < %s | FileCheck %s -check-prefix VARIABLE ; PR 13202 define i32 @main() uwtable !dbg !5 { diff --git a/llvm/test/DebugInfo/Generic/ipsccp-remap-assign-id.ll b/llvm/test/DebugInfo/Generic/ipsccp-remap-assign-id.ll index 42560fc3958d1..b905fc77c7dcc 100644 --- a/llvm/test/DebugInfo/Generic/ipsccp-remap-assign-id.ll +++ b/llvm/test/DebugInfo/Generic/ipsccp-remap-assign-id.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=ipsccp -funcspec-for-literal-constant=false %s -S -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=ipsccp -funcspec-for-literal-constant=false %s -S -o - | FileCheck %s ;; Check the dbg.assign DIAssignID operand gets remapped after cloning. diff --git a/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-1.ll b/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-1.ll index d76dcfe317b31..cfc8a9faa7ea3 100644 --- a/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-1.ll +++ b/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-1.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=mem2reg %s -S -o - | FileCheck %s -; RUN: opt -passes=mem2reg %s -S -o - --try-experimental-debuginfo-iterators | FileCheck %s ;; Check that mem2reg removes dbg.value(%param.addr, DIExpression(DW_OP_deref...)) ;; when promoting the alloca %param.addr. diff --git a/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-2.ll b/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-2.ll index 145f122f87b86..5ee2aa5d1e423 100644 --- a/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-2.ll +++ b/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-2.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=mem2reg %s -S -o - | FileCheck %s -; RUN: opt -passes=mem2reg %s -S -o - --try-experimental-debuginfo-iterators | FileCheck %s ;; Check that mem2reg removes dbg.value(%local, DIExpression(DW_OP_deref...)) ;; that instcombine LowerDbgDeclare inserted before the call to 'esc' when diff --git a/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-3.ll b/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-3.ll index 1636871ff694b..71da53cf0b565 100644 --- a/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-3.ll +++ b/llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-3.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=mem2reg %s -S -o - | FileCheck %s -; RUN: opt -passes=mem2reg %s -S -o - --try-experimental-debuginfo-iterators | FileCheck %s ;; Check that mem2reg removes dbg.value(%local, DIExpression(DW_OP_deref...)) ;; that instcombine LowerDbgDeclare inserted before the call to 'esc' when diff --git a/llvm/test/DebugInfo/Generic/recursive_inlining.ll b/llvm/test/DebugInfo/Generic/recursive_inlining.ll index 4636a4d2b722a..908e408401f8f 100644 --- a/llvm/test/DebugInfo/Generic/recursive_inlining.ll +++ b/llvm/test/DebugInfo/Generic/recursive_inlining.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -filetype=obj -O0 < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; This isn't a very pretty test case - I imagine there might be other ways to ; tickle the optimizers into producing the desired code, but I haven't found diff --git a/llvm/test/DebugInfo/Generic/sroa-larger.ll b/llvm/test/DebugInfo/Generic/sroa-larger.ll index 8c0a8a5a4062c..16644697f5f16 100644 --- a/llvm/test/DebugInfo/Generic/sroa-larger.ll +++ b/llvm/test/DebugInfo/Generic/sroa-larger.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes='sroa' -S -o - %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes='sroa' -S -o - %s | FileCheck %s ; Generated from clang -c -O2 -g -target x86_64-pc-windows-msvc ; struct A { ; int _Myval2; diff --git a/llvm/test/DebugInfo/Generic/sroa-samesize.ll b/llvm/test/DebugInfo/Generic/sroa-samesize.ll index 2cff7b5c4c8cc..911f90c8e06c9 100644 --- a/llvm/test/DebugInfo/Generic/sroa-samesize.ll +++ b/llvm/test/DebugInfo/Generic/sroa-samesize.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes='sroa' -S -o - %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes='sroa' -S -o - %s | FileCheck %s ; Generated from clang -c -O2 -g -target x86_64-pc-windows-msvc ; struct A { double x1[]; }; ; struct x2 { diff --git a/llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll b/llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll index 9514e6fa4db4d..628c2f8b1dec9 100644 --- a/llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll +++ b/llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll @@ -1,9 +1,6 @@ ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -O0 -filetype=obj < %s > %t -; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s - ; Check for a univariant discriminated union -- that is, a variant ; part without a discriminant and with just a single variant. diff --git a/llvm/test/DebugInfo/Generic/volatile-alloca.ll b/llvm/test/DebugInfo/Generic/volatile-alloca.ll index a0460e163d8cd..e674ca13d814c 100644 --- a/llvm/test/DebugInfo/Generic/volatile-alloca.ll +++ b/llvm/test/DebugInfo/Generic/volatile-alloca.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=mem2reg,instcombine %s -o - -S | FileCheck %s -; RUN: opt -passes=mem2reg,instcombine %s -o - -S --try-experimental-debuginfo-iterators | FileCheck %s ; ; Test that a dbg.declare describing am alloca with volatile ; load/stores is not lowered into a dbg.value, since the alloca won't diff --git a/llvm/test/DebugInfo/Mips/InlinedFnLocalVar.ll b/llvm/test/DebugInfo/Mips/InlinedFnLocalVar.ll index d4d0ec2d813ca..9e5bc3ed0db58 100644 --- a/llvm/test/DebugInfo/Mips/InlinedFnLocalVar.ll +++ b/llvm/test/DebugInfo/Mips/InlinedFnLocalVar.ll @@ -1,5 +1,4 @@ ; RUN: llc -mtriple mips-linux-gnu -O2 %s -o - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple mips-linux-gnu -O2 %s -o - | FileCheck %s ; Check struct X for dead variable xyz from inlined function foo. ; CHECK: .section .debug_info,"",@0x7000001e diff --git a/llvm/test/DebugInfo/Mips/delay-slot.ll b/llvm/test/DebugInfo/Mips/delay-slot.ll index f966ac7c1ec53..ed2769f33f4b3 100644 --- a/llvm/test/DebugInfo/Mips/delay-slot.ll +++ b/llvm/test/DebugInfo/Mips/delay-slot.ll @@ -1,5 +1,4 @@ ; RUN: llc -filetype=obj -O0 -relocation-model=pic < %s -mtriple mips-unknown-linux-gnu | llvm-dwarfdump -a - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -filetype=obj -O0 -relocation-model=pic < %s -mtriple mips-unknown-linux-gnu | llvm-dwarfdump -a - | FileCheck %s ; PR19815 ; Generated using clang -target mips-linux-gnu -g test.c -S -o - -flto|opt -passes=sroa -S diff --git a/llvm/test/DebugInfo/X86/DW_AT_const_value.ll b/llvm/test/DebugInfo/X86/DW_AT_const_value.ll index ecb423a0a1139..39d718a457d35 100644 --- a/llvm/test/DebugInfo/X86/DW_AT_const_value.ll +++ b/llvm/test/DebugInfo/X86/DW_AT_const_value.ll @@ -1,5 +1,4 @@ ; RUN: llc %s -o - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators %s -o - | FileCheck %s ;; Check single location variables of various types with a constant value are ;; emitted with a DW_AT_const_value attribute. diff --git a/llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll b/llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll index 1a21725ecaf68..7d78278e97988 100644 --- a/llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll +++ b/llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll @@ -1,5 +1,4 @@ ; RUN: llc -mtriple i686-pc-cygwin -O2 %s -o - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple i686-pc-cygwin -O2 %s -o - | FileCheck %s ; Check struct X for dead variable xyz from inlined function foo. ; CHECK: .section .debug_info,"dr" diff --git a/llvm/test/DebugInfo/X86/aligned_stack_var.ll b/llvm/test/DebugInfo/X86/aligned_stack_var.ll index f8b5d4c1bdf56..089b3ffab5693 100644 --- a/llvm/test/DebugInfo/X86/aligned_stack_var.ll +++ b/llvm/test/DebugInfo/X86/aligned_stack_var.ll @@ -1,9 +1,6 @@ ; RUN: llc %s -mtriple=x86_64-pc-linux-gnu -O0 -filetype=obj -o %t ; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators %s -mtriple=x86_64-pc-linux-gnu -O0 -filetype=obj -o %t -; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s - ; If stack is realigned, we shouldn't describe locations of local ; variables by giving offset from the frame pointer (%rbp): ; push %rpb diff --git a/llvm/test/DebugInfo/X86/arg-dbg-value-list.ll b/llvm/test/DebugInfo/X86/arg-dbg-value-list.ll index 798bbb6d37908..acdc653e862f2 100644 --- a/llvm/test/DebugInfo/X86/arg-dbg-value-list.ll +++ b/llvm/test/DebugInfo/X86/arg-dbg-value-list.ll @@ -5,8 +5,6 @@ ; RUN: llc %s -start-after=codegenprepare --experimental-debug-variable-locations=false -stop-before=finalize-isel -o - | FileCheck %s ; RUN: llc %s -start-after=codegenprepare --experimental-debug-variable-locations -stop-before=finalize-isel -o - | FileCheck %s -; RUN: llc %s -start-after=codegenprepare --experimental-debug-variable-locations=false -stop-before=finalize-isel -o - --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: llc %s -start-after=codegenprepare --experimental-debug-variable-locations -stop-before=finalize-isel -o - --try-experimental-debuginfo-iterators | FileCheck %s ;; Check that unused argument values are handled the same way for variadic ;; dbg_values as non-variadics. diff --git a/llvm/test/DebugInfo/X86/arguments.ll b/llvm/test/DebugInfo/X86/arguments.ll index 229a69696ce85..767c1385e77f4 100644 --- a/llvm/test/DebugInfo/X86/arguments.ll +++ b/llvm/test/DebugInfo/X86/arguments.ll @@ -2,9 +2,6 @@ ; RUN: llc -mtriple=x86_64-unknown-unknown -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump %t | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-unknown-unknown -O0 -filetype=obj < %s > %t -; RUN: llvm-dwarfdump %t | FileCheck %s - ; IR generated from clang -g with the following source: ; struct foo { ; foo(const foo&); diff --git a/llvm/test/DebugInfo/X86/array2.ll b/llvm/test/DebugInfo/X86/array2.ll index 528202ddb936a..313100ef91874 100644 --- a/llvm/test/DebugInfo/X86/array2.ll +++ b/llvm/test/DebugInfo/X86/array2.ll @@ -13,7 +13,6 @@ ; } ; ; RUN: opt %s -O2 -S -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -O2 -S -o - | FileCheck %s ; Test that we correctly lower dbg.declares for arrays. ; ; CHECK: define noundef i32 @main diff --git a/llvm/test/DebugInfo/X86/asan_debug_info.ll b/llvm/test/DebugInfo/X86/asan_debug_info.ll index 342e3c86f6890..5e06b093c41d9 100644 --- a/llvm/test/DebugInfo/X86/asan_debug_info.ll +++ b/llvm/test/DebugInfo/X86/asan_debug_info.ll @@ -2,10 +2,6 @@ ; RUN: llc -O0 -filetype=obj - -o - | \ ; RUN: llvm-dwarfdump - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes=asan -asan-use-after-return=never -S | \ -; RUN: llc --try-experimental-debuginfo-iterators -O0 -filetype=obj - -o - | \ -; RUN: llvm-dwarfdump - | FileCheck %s - ; For this test case, ASan used to produce IR which resulted in the following ; DWARF (at -O0): ; diff --git a/llvm/test/DebugInfo/X86/block-capture.ll b/llvm/test/DebugInfo/X86/block-capture.ll index 585526fea148c..f78ce32fb34ae 100644 --- a/llvm/test/DebugInfo/X86/block-capture.ll +++ b/llvm/test/DebugInfo/X86/block-capture.ll @@ -1,9 +1,6 @@ ; RUN: llc %s -o %t -filetype=obj ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators %s -o %t -filetype=obj -; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s - ; Checks that we emit debug info for the block variable declare. ; CHECK: DW_TAG_subprogram ; CHECK: DW_TAG_variable diff --git a/llvm/test/DebugInfo/X86/byvalstruct.ll b/llvm/test/DebugInfo/X86/byvalstruct.ll index a23a49d3145d3..d84e4753516b9 100644 --- a/llvm/test/DebugInfo/X86/byvalstruct.ll +++ b/llvm/test/DebugInfo/X86/byvalstruct.ll @@ -1,7 +1,5 @@ ; RUN: llc -mtriple=x86_64-apple-macosx10.8.0 -O0 -filetype=obj -o %t %s ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-apple-macosx10.8.0 -O0 -filetype=obj -o %t %s -; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s ; Test that we generate debug info for by-value struct args that are not used. ; ; CHECK: DW_TAG_formal_parameter diff --git a/llvm/test/DebugInfo/X86/codegenprep-addrsink.ll b/llvm/test/DebugInfo/X86/codegenprep-addrsink.ll index 5fabab62ee053..10213fac85491 100644 --- a/llvm/test/DebugInfo/X86/codegenprep-addrsink.ll +++ b/llvm/test/DebugInfo/X86/codegenprep-addrsink.ll @@ -1,5 +1,4 @@ ; RUN: llc -start-before=codegenprepare -stop-after=codegenprepare -mtriple=x86_64-unknown-unknown %s -o - | FileCheck %s -; RUN: llc -start-before=codegenprepare -stop-after=codegenprepare -mtriple=x86_64-unknown-unknown %s -o - --try-experimental-debuginfo-iterators | FileCheck %s ; ; CGP duplicates address calculation into each basic block that contains loads ; or stores, so that they can be folded into instruction memory operands for diff --git a/llvm/test/DebugInfo/X86/codegenprepare-rollback.ll b/llvm/test/DebugInfo/X86/codegenprepare-rollback.ll index fba385381e244..7b2910ab18c2a 100644 --- a/llvm/test/DebugInfo/X86/codegenprepare-rollback.ll +++ b/llvm/test/DebugInfo/X86/codegenprepare-rollback.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -debugify -codegenprepare %s -o - | FileCheck %s --check-prefix=DEBUGIFY -; RUN: opt -S -debugify -codegenprepare %s -o - --try-experimental-debuginfo-iterators | FileCheck %s --check-prefix=DEBUGIFY ; ; Copied from codegen-prepare-addrmode-sext.ll -- for the twoArgsNoPromotion ; function, CGP attempts a type promotion transaction on the sext to replace diff --git a/llvm/test/DebugInfo/X86/convert-linked.ll b/llvm/test/DebugInfo/X86/convert-linked.ll index 9a0d65b4ccd13..6a74a6310bc34 100644 --- a/llvm/test/DebugInfo/X86/convert-linked.ll +++ b/llvm/test/DebugInfo/X86/convert-linked.ll @@ -1,5 +1,4 @@ ; RUN: llc -mtriple=x86_64 -filetype=obj -O0 < %s | llvm-dwarfdump - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64 -filetype=obj -O0 < %s | llvm-dwarfdump - | FileCheck %s ; CHECK: DW_TAG_compile_unit ; CHECK: [[CU0BT0:0x[0-9a-f]+]]: DW_TAG_base_type diff --git a/llvm/test/DebugInfo/X86/dbg-declare-arg.ll b/llvm/test/DebugInfo/X86/dbg-declare-arg.ll index c206ab660d229..8e5c117d16be4 100644 --- a/llvm/test/DebugInfo/X86/dbg-declare-arg.ll +++ b/llvm/test/DebugInfo/X86/dbg-declare-arg.ll @@ -1,5 +1,4 @@ ; RUN: llc -O0 -fast-isel=true -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 -fast-isel=true -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-apple-macosx10.6.7" diff --git a/llvm/test/DebugInfo/X86/dbg-declare-inalloca.ll b/llvm/test/DebugInfo/X86/dbg-declare-inalloca.ll index 2afbf3d8255b5..1de1d0b17b392 100644 --- a/llvm/test/DebugInfo/X86/dbg-declare-inalloca.ll +++ b/llvm/test/DebugInfo/X86/dbg-declare-inalloca.ll @@ -2,11 +2,6 @@ ; RUN: llc < %s | FileCheck %s ; RUN: llc -filetype=obj -O0 < %s | llvm-readobj --codeview - | FileCheck %s --check-prefix=OBJ -; Same checks, this time with experimental debuginfo iterators. -; RUN: llc --try-experimental-debuginfo-iterators -O0 < %s | FileCheck %s --check-prefix=CHECK --check-prefix=DEBUG -; RUN: llc --try-experimental-debuginfo-iterators < %s | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -filetype=obj -O0 < %s | llvm-readobj --codeview - | FileCheck %s --check-prefix=OBJ - ; IR generated by the following source: ; struct NonTrivial { ; NonTrivial();// : x(42) {} diff --git a/llvm/test/DebugInfo/X86/dbg-declare.ll b/llvm/test/DebugInfo/X86/dbg-declare.ll index 4cf93c6be0ce1..56f932b5fd176 100644 --- a/llvm/test/DebugInfo/X86/dbg-declare.ll +++ b/llvm/test/DebugInfo/X86/dbg-declare.ll @@ -2,10 +2,6 @@ ; RUN: llc < %s -O0 -mtriple x86_64-apple-darwin -filetype=obj \ ; RUN: | llvm-dwarfdump -v - --debug-info | FileCheck %s --check-prefix=DWARF -; RUN: llc --try-experimental-debuginfo-iterators < %s -O0 -mtriple x86_64-apple-darwin | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -O0 -mtriple x86_64-apple-darwin -filetype=obj \ -; RUN: | llvm-dwarfdump -v - --debug-info | FileCheck %s --check-prefix=DWARF - ; ; CHECK-LABEL: _foo: diff --git a/llvm/test/DebugInfo/X86/dbg-empty-metadata-lowering.ll b/llvm/test/DebugInfo/X86/dbg-empty-metadata-lowering.ll index a5edac3ead504..95dbaa8c9daff 100644 --- a/llvm/test/DebugInfo/X86/dbg-empty-metadata-lowering.ll +++ b/llvm/test/DebugInfo/X86/dbg-empty-metadata-lowering.ll @@ -1,9 +1,5 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG --check-prefixes=AT-DISABLED,BOTH -; RUN: llc %s -stop-after=finalize-isel -o - --try-experimental-debuginfo-iterators \ -; RUN: | FileCheck %s --implicit-check-not=DBG --check-prefixes=AT-DISABLED,BOTH -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG --check-prefixes=AT-DISABLED,BOTH ;; Check that dbg.values with empty metadata are treated as kills (i.e. become ;; DBG_VALUE $noreg, ...). dbg.declares with empty metadata location operands @@ -12,9 +8,6 @@ ; RUN: sed 's/;Uncomment-with-sed//g' < %s \ ; RUN: | llc -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG --check-prefixes=AT-ENABLED,BOTH -; RUN: sed 's/;Uncomment-with-sed//g' < %s \ -; RUN: | llc --try-experimental-debuginfo-iterators -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG --check-prefixes=AT-ENABLED,BOTH ;; Check the same behaviour occurs with assignment tracking enabled. ;; First ensure assignment tracking is truly unset/set. diff --git a/llvm/test/DebugInfo/X86/dbg-val-list-dangling.ll b/llvm/test/DebugInfo/X86/dbg-val-list-dangling.ll index 8522b40992c8c..6000b48911e36 100644 --- a/llvm/test/DebugInfo/X86/dbg-val-list-dangling.ll +++ b/llvm/test/DebugInfo/X86/dbg-val-list-dangling.ll @@ -6,7 +6,6 @@ ;; able to recover the value in some cases. ; RUN: llc %s -start-after=codegenprepare -stop-before=finalize-isel -o - -experimental-debug-variable-locations=false | FileCheck %s -; RUN: llc %s -start-after=codegenprepare -stop-before=finalize-isel -o - -experimental-debug-variable-locations=false --try-experimental-debuginfo-iterators | FileCheck %s ;; Check that dangling debug info in the SelectionDAG build phase is handled ;; in the same way for variadic dbg_value ndoes as non-variadics. diff --git a/llvm/test/DebugInfo/X86/dbg-val-list-undef.ll b/llvm/test/DebugInfo/X86/dbg-val-list-undef.ll index 42c796938438c..28228edffd76e 100644 --- a/llvm/test/DebugInfo/X86/dbg-val-list-undef.ll +++ b/llvm/test/DebugInfo/X86/dbg-val-list-undef.ll @@ -1,8 +1,6 @@ ; RUN: llc %s -start-after=codegenprepare --experimental-debug-variable-locations=false -stop-before=finalize-isel -o - | FileCheck %s ; RUN: llc %s -start-after=codegenprepare --experimental-debug-variable-locations -stop-before=finalize-isel -o - | FileCheck %s -; RUN: llc %s -start-after=codegenprepare --experimental-debug-variable-locations=false -stop-before=finalize-isel -o - --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: llc %s -start-after=codegenprepare --experimental-debug-variable-locations -stop-before=finalize-isel -o - --try-experimental-debuginfo-iterators | FileCheck %s ;; %y is unused and cannot (FIXME: currently) be salvaged. Ensure that the ;; variadic dbg_value using %y becomes undef. diff --git a/llvm/test/DebugInfo/X86/dbg-value-arg-movement.ll b/llvm/test/DebugInfo/X86/dbg-value-arg-movement.ll index 7d8e9c9c819c3..b685a3bd60d24 100644 --- a/llvm/test/DebugInfo/X86/dbg-value-arg-movement.ll +++ b/llvm/test/DebugInfo/X86/dbg-value-arg-movement.ll @@ -1,8 +1,6 @@ ; RUN: llc -mtriple=x86_64-unknown-unknown -start-after=codegenprepare -stop-before=finalize-isel %s -o - -experimental-debug-variable-locations=false | FileCheck %s --check-prefixes=COMMON,CHECK ; RUN: llc -mtriple=x86_64-unknown-unknown -start-after=codegenprepare -stop-before=finalize-isel %s -o - -experimental-debug-variable-locations=true | FileCheck %s --check-prefixes=COMMON,INSTRREF -; RUN: llc -mtriple=x86_64-unknown-unknown -start-after=codegenprepare -stop-before=finalize-isel %s -o - -experimental-debug-variable-locations=false --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=COMMON,CHECK -; RUN: llc -mtriple=x86_64-unknown-unknown -start-after=codegenprepare -stop-before=finalize-isel %s -o - -experimental-debug-variable-locations=true --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=COMMON,INSTRREF ; Test the movement of dbg.values of arguments. SelectionDAG tries to be ; helpful and places DBG_VALUEs of Arguments at the start of functions. diff --git a/llvm/test/DebugInfo/X86/dbg_value_direct.ll b/llvm/test/DebugInfo/X86/dbg_value_direct.ll index a1bdd8eab0906..4ac25414f2a72 100644 --- a/llvm/test/DebugInfo/X86/dbg_value_direct.ll +++ b/llvm/test/DebugInfo/X86/dbg_value_direct.ll @@ -1,5 +1,4 @@ ; RUN: llc -filetype=obj -O0 < %s -; RUN: llc --try-experimental-debuginfo-iterators -filetype=obj -O0 < %s ; Test that we handle DBG_VALUEs in a register without crashing. ; ; Generated from clang with -fsanitize=address: diff --git a/llvm/test/DebugInfo/X86/debug-info-block-captured-self.ll b/llvm/test/DebugInfo/X86/debug-info-block-captured-self.ll index c70b51f7f8d10..d96ea5190b864 100644 --- a/llvm/test/DebugInfo/X86/debug-info-block-captured-self.ll +++ b/llvm/test/DebugInfo/X86/debug-info-block-captured-self.ll @@ -1,9 +1,6 @@ ; RUN: llc -mtriple x86_64-apple-darwin -filetype=obj -o %t.o < %s ; RUN: llvm-dwarfdump %t.o | FileCheck %s ; -; RUN: llc --try-experimental-debuginfo-iterators -mtriple x86_64-apple-darwin -filetype=obj -o %t.o < %s -; RUN: llvm-dwarfdump %t.o | FileCheck %s -; ; Test that DW_AT_location is generated for a captured "self" inside a ; block. ; diff --git a/llvm/test/DebugInfo/X86/debug-info-blocks.ll b/llvm/test/DebugInfo/X86/debug-info-blocks.ll index c7c3a682e86ee..759e70386384c 100644 --- a/llvm/test/DebugInfo/X86/debug-info-blocks.ll +++ b/llvm/test/DebugInfo/X86/debug-info-blocks.ll @@ -1,9 +1,6 @@ ; RUN: llc -mtriple x86_64-apple-darwin -filetype=obj -o %t.o < %s ; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple x86_64-apple-darwin -filetype=obj -o %t.o < %s -; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s - ; Generated from llvm/tools/clang/test/CodeGenObjC/debug-info-blocks.m ; rdar://problem/9279956 ; test that the DW_AT_location of self is at ( fbreg +{{[0-9]+}}, deref, +{{[0-9]+}} ) diff --git a/llvm/test/DebugInfo/X86/debug-info-template-parameter.ll b/llvm/test/DebugInfo/X86/debug-info-template-parameter.ll index e2a92155d718d..2c568be9ac22e 100644 --- a/llvm/test/DebugInfo/X86/debug-info-template-parameter.ll +++ b/llvm/test/DebugInfo/X86/debug-info-template-parameter.ll @@ -1,5 +1,4 @@ ; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump -v - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators %s -filetype=obj -o - | llvm-dwarfdump -v - | FileCheck %s ; C++ source to regenerate: diff --git a/llvm/test/DebugInfo/X86/debug_value_list_selectiondag.ll b/llvm/test/DebugInfo/X86/debug_value_list_selectiondag.ll index 5731f9836ca14..c4b7b497fb7fb 100644 --- a/llvm/test/DebugInfo/X86/debug_value_list_selectiondag.ll +++ b/llvm/test/DebugInfo/X86/debug_value_list_selectiondag.ll @@ -2,11 +2,6 @@ ; RUN: llc %s -fast-isel=true -start-after=codegenprepare -stop-before=finalize-isel -experimental-debug-variable-locations=false -o - | FileCheck --check-prefixes=CHECK,FAST %s ; RUN: llc %s -global-isel=true -start-after=codegenprepare -stop-before=finalize-isel -experimental-debug-variable-locations=false -o - | FileCheck --check-prefixes=CHECK,GLOBAL %s -;; Run with experimental debuginfo iterators. -; RUN: llc --try-experimental-debuginfo-iterators %s -start-after=codegenprepare -stop-before=finalize-isel -experimental-debug-variable-locations=false -o - | FileCheck --check-prefixes=CHECK,DAG %s -; RUN: llc --try-experimental-debuginfo-iterators %s -fast-isel=true -start-after=codegenprepare -stop-before=finalize-isel -experimental-debug-variable-locations=false -o - | FileCheck --check-prefixes=CHECK,FAST %s -; RUN: llc --try-experimental-debuginfo-iterators %s -global-isel=true -start-after=codegenprepare -stop-before=finalize-isel -experimental-debug-variable-locations=false -o - | FileCheck --check-prefixes=CHECK,GLOBAL %s - ;; Run with assignment tracking enabled (use sed to add the module flag). ; RUN: sed 's/;Uncomment-with-sed//g' < %s \ ; RUN: | llc -global-isel=false -start-after=codegenprepare -stop-before=finalize-isel -experimental-debug-variable-locations=false -o - \ diff --git a/llvm/test/DebugInfo/X86/dont-drop-dbg-assigns-in-isels.ll b/llvm/test/DebugInfo/X86/dont-drop-dbg-assigns-in-isels.ll index 77c9aa5764fb8..22607afe1247b 100644 --- a/llvm/test/DebugInfo/X86/dont-drop-dbg-assigns-in-isels.ll +++ b/llvm/test/DebugInfo/X86/dont-drop-dbg-assigns-in-isels.ll @@ -1,7 +1,5 @@ ; RUN: llc %s -fast-isel -start-after=codegenprepare -stop-before=finalize-isel -o - | FileCheck %s -; RUN: llc %s -fast-isel -start-after=codegenprepare -stop-before=finalize-isel -o - --try-experimental-debuginfo-iterators | FileCheck %s ; RUN: llc %s -global-isel -start-after=codegenprepare -stop-before=finalize-isel -o - | FileCheck %s -; RUN: llc %s -global-isel -start-after=codegenprepare -stop-before=finalize-isel -o - --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-unknown" diff --git a/llvm/test/DebugInfo/X86/double-declare.ll b/llvm/test/DebugInfo/X86/double-declare.ll index 5e422e171ae35..6f273b142f998 100644 --- a/llvm/test/DebugInfo/X86/double-declare.ll +++ b/llvm/test/DebugInfo/X86/double-declare.ll @@ -1,5 +1,4 @@ ; RUN: llc -mtriple=x86_64-apple-darwin -O0 -filetype=obj -o - < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-apple-darwin -O0 -filetype=obj -o - < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; PR33157. Don't crash on duplicate dbg.declare. ; CHECK: DW_TAG_formal_parameter ; CHECK: DW_AT_location [DW_FORM_exprloc] diff --git a/llvm/test/DebugInfo/X86/empty-metadata-dbg-declare.ll b/llvm/test/DebugInfo/X86/empty-metadata-dbg-declare.ll index 241a39f3d899a..8ae4e7b183e9a 100644 --- a/llvm/test/DebugInfo/X86/empty-metadata-dbg-declare.ll +++ b/llvm/test/DebugInfo/X86/empty-metadata-dbg-declare.ll @@ -1,5 +1,4 @@ ; RUN: llc %s -stop-after=finalize-isel -o - | FileCheck %s --implicit-check-not=DBG -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - | FileCheck %s --implicit-check-not=DBG ;; Check that a single "empty metadata" dbg.declare doesn't accidentally cause ;; other dbg.declares in the function to go missing. diff --git a/llvm/test/DebugInfo/X86/fi-piece.ll b/llvm/test/DebugInfo/X86/fi-piece.ll index e7b8afea90593..30144d7875550 100644 --- a/llvm/test/DebugInfo/X86/fi-piece.ll +++ b/llvm/test/DebugInfo/X86/fi-piece.ll @@ -1,5 +1,4 @@ ; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump -v - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators %s -filetype=obj -o - | llvm-dwarfdump -v - | FileCheck %s ; Test that multi-DW_OP_piece expressions are emitted for FI variables. ; ; CHECK: .debug_info contents: diff --git a/llvm/test/DebugInfo/X86/formal_parameter.ll b/llvm/test/DebugInfo/X86/formal_parameter.ll index 9ebcb8540bd31..954e761d9090b 100644 --- a/llvm/test/DebugInfo/X86/formal_parameter.ll +++ b/llvm/test/DebugInfo/X86/formal_parameter.ll @@ -15,7 +15,6 @@ target triple = "x86_64-apple-macosx10.9.0" ; RUN: opt %s -O2 -S -o %t ; RUN: cat %t | FileCheck --check-prefix=LOWERING %s ; RUN: llc -filetype=obj %t -o - | llvm-dwarfdump -debug-info - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -filetype=obj %t -o - | llvm-dwarfdump -debug-info - | FileCheck %s ; Test that we only emit only one DW_AT_formal_parameter "map" for this function. ; rdar://problem/14874886 ; diff --git a/llvm/test/DebugInfo/X86/implicit_value-double.ll b/llvm/test/DebugInfo/X86/implicit_value-double.ll index e0d8e791839c0..6ce26cf59d748 100644 --- a/llvm/test/DebugInfo/X86/implicit_value-double.ll +++ b/llvm/test/DebugInfo/X86/implicit_value-double.ll @@ -2,10 +2,8 @@ ;; for double type. ; RUN: llc -O0 -debugger-tune=gdb -filetype=obj %s -o - | llvm-dwarfdump - | FileCheck %s --check-prefixes=CHECK,BOTH -; RUN: llc --try-experimental-debuginfo-iterators -O0 -debugger-tune=gdb -filetype=obj %s -o - | llvm-dwarfdump - | FileCheck %s --check-prefixes=CHECK,BOTH ; RUN: llc -O0 -debugger-tune=lldb -filetype=obj %s -o - | llvm-dwarfdump - | FileCheck %s --check-prefixes=CHECK,BOTH -; RUN: llc --try-experimental-debuginfo-iterators -O0 -debugger-tune=lldb -filetype=obj %s -o - | llvm-dwarfdump - | FileCheck %s --check-prefixes=CHECK,BOTH ; CHECK: .debug_info contents: ; CHECK: DW_TAG_variable @@ -14,7 +12,6 @@ ; CHECK-NEXT: DW_AT_name ("d") ; RUN: llc -O0 -debugger-tune=sce -filetype=obj %s -o - | llvm-dwarfdump - | FileCheck %s -check-prefixes=SCE-CHECK,BOTH -; RUN: llc --try-experimental-debuginfo-iterators -O0 -debugger-tune=sce -filetype=obj %s -o - | llvm-dwarfdump - | FileCheck %s -check-prefixes=SCE-CHECK,BOTH ; SCE-CHECK: .debug_info contents: ; SCE-CHECK: DW_TAG_variable diff --git a/llvm/test/DebugInfo/X86/instcombine-instrinsics.ll b/llvm/test/DebugInfo/X86/instcombine-instrinsics.ll index db14b58b2584a..12cb2d0652405 100644 --- a/llvm/test/DebugInfo/X86/instcombine-instrinsics.ll +++ b/llvm/test/DebugInfo/X86/instcombine-instrinsics.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -O2 -S -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -O2 -S -o - | FileCheck %s ; Verify that we emit the same intrinsic at most once. ; rdar://problem/13056109 ; diff --git a/llvm/test/DebugInfo/X86/instr-ref-opt-levels.ll b/llvm/test/DebugInfo/X86/instr-ref-opt-levels.ll index 9313751a5c135..23eaacac6a743 100644 --- a/llvm/test/DebugInfo/X86/instr-ref-opt-levels.ll +++ b/llvm/test/DebugInfo/X86/instr-ref-opt-levels.ll @@ -8,17 +8,6 @@ ; RUN: -fast-isel -experimental-debug-variable-locations \ ; RUN: | FileCheck %s --check-prefix=FASTISEL --implicit-check-not=DBG_VALUE -;; Repeat the tests using experimental debuginfo iterators. -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-- %s -o - -O0 -stop-before=finalize-isel \ -; RUN: -experimental-debug-variable-locations \ -; RUN: | FileCheck %s --check-prefix=O0 --implicit-check-not=DBG_INSTR_REF -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-- %s -o - -O2 -stop-before=finalize-isel \ -; RUN: -experimental-debug-variable-locations \ -; RUN: | FileCheck %s --check-prefix=O2 --implicit-check-not=DBG_VALUE -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-- %s -o - -stop-before=finalize-isel \ -; RUN: -fast-isel -experimental-debug-variable-locations \ -; RUN: | FileCheck %s --check-prefix=FASTISEL --implicit-check-not=DBG_VALUE - ; Test that instruction-referencing variable locations are issued at -O2, but ; normal DBG_VALUEs are issued at -O0. This behaviour is desired as the former ; is slow when applied to unoptimized code. diff --git a/llvm/test/DebugInfo/X86/instr-ref-selectiondag.ll b/llvm/test/DebugInfo/X86/instr-ref-selectiondag.ll index 29f7d9353e0a3..dbbef2b39587d 100644 --- a/llvm/test/DebugInfo/X86/instr-ref-selectiondag.ll +++ b/llvm/test/DebugInfo/X86/instr-ref-selectiondag.ll @@ -12,21 +12,6 @@ ; RUN: | FileCheck %s --check-prefix=FASTISEL-INSTRREF \ ; RUN: --implicit-check-not=DBG_VALUE -;; Repeat tests using experimental debuginfo iterators. -; RUN: llc --try-experimental-debuginfo-iterators %s -mtriple=x86_64-unknown-unknown -o - -stop-before=finalize-isel -experimental-debug-variable-locations=false \ -; RUN: | FileCheck %s --check-prefix=NORMAL \ -; RUN: --implicit-check-not=debug-instr-number \ -; RUN: --implicit-check-not=DBG_INSTR_REF -; RUN: llc --try-experimental-debuginfo-iterators %s -mtriple=x86_64-unknown-unknown -o - -stop-before=finalize-isel \ -; RUN: -experimental-debug-variable-locations -verify-machineinstrs \ -; RUN: | FileCheck %s --check-prefix=INSTRREF \ -; RUN: --implicit-check-not=DBG_VALUE -; RUN: llc --try-experimental-debuginfo-iterators %s -mtriple=x86_64-unknown-unknown -o - -stop-before=finalize-isel \ -; RUN: -experimental-debug-variable-locations -verify-machineinstrs \ -; RUN: -fast-isel \ -; RUN: | FileCheck %s --check-prefix=FASTISEL-INSTRREF \ -; RUN: --implicit-check-not=DBG_VALUE - ; NORMAL: ![[SOCKS:[0-9]+]] = !DILocalVariable(name: "socks", ; NORMAL: ![[KNEES:[0-9]+]] = !DILocalVariable(name: "knees", ; INSTRREF: ![[SOCKS:[0-9]+]] = !DILocalVariable(name: "socks", diff --git a/llvm/test/DebugInfo/X86/licm-undef-dbg-value.ll b/llvm/test/DebugInfo/X86/licm-undef-dbg-value.ll index ce455f508457a..f17800e5d6c17 100644 --- a/llvm/test/DebugInfo/X86/licm-undef-dbg-value.ll +++ b/llvm/test/DebugInfo/X86/licm-undef-dbg-value.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=licm %s -S | FileCheck %s -; RUN: opt -passes=licm %s -S --try-experimental-debuginfo-iterators | FileCheck %s ; CHECK: for.body: ; CHECK-NEXT: #dbg_value(i8 poison diff --git a/llvm/test/DebugInfo/X86/mem2reg_fp80.ll b/llvm/test/DebugInfo/X86/mem2reg_fp80.ll index 72409f4ef34bb..97f5a14965a19 100644 --- a/llvm/test/DebugInfo/X86/mem2reg_fp80.ll +++ b/llvm/test/DebugInfo/X86/mem2reg_fp80.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=mem2reg -S | FileCheck %s -; RUN: opt < %s -passes=mem2reg -S --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/DebugInfo/X86/missing-abstract-variable.ll b/llvm/test/DebugInfo/X86/missing-abstract-variable.ll index 8d493e593b8b5..572dca2c2cb6c 100644 --- a/llvm/test/DebugInfo/X86/missing-abstract-variable.ll +++ b/llvm/test/DebugInfo/X86/missing-abstract-variable.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -mtriple x86_64-gnu-linux -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; RUN: %llc_dwarf --try-experimental-debuginfo-iterators -mtriple x86_64-gnu-linux -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; Build from the following source with clang -O2. ; The important details are that 'x's abstract definition is first built during diff --git a/llvm/test/DebugInfo/X86/parameters.ll b/llvm/test/DebugInfo/X86/parameters.ll index cacdd571c91df..5254fadecbd7e 100644 --- a/llvm/test/DebugInfo/X86/parameters.ll +++ b/llvm/test/DebugInfo/X86/parameters.ll @@ -1,6 +1,5 @@ ; ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-unknown-linux-gnu -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Test case derived from compiling the following source with clang -g: ; diff --git a/llvm/test/DebugInfo/X86/pieces-1.ll b/llvm/test/DebugInfo/X86/pieces-1.ll index e0fcd083c7e89..f614f78c65814 100644 --- a/llvm/test/DebugInfo/X86/pieces-1.ll +++ b/llvm/test/DebugInfo/X86/pieces-1.ll @@ -1,5 +1,4 @@ ; RUN: llc -O0 %s -filetype=obj -o - | llvm-dwarfdump -debug-loc - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 %s -filetype=obj -o - | llvm-dwarfdump -debug-loc - | FileCheck %s ; ; rdar://problem/15928306 ; diff --git a/llvm/test/DebugInfo/X86/pieces-3.ll b/llvm/test/DebugInfo/X86/pieces-3.ll index 60bf758b49856..dfd7b3c48ef93 100644 --- a/llvm/test/DebugInfo/X86/pieces-3.ll +++ b/llvm/test/DebugInfo/X86/pieces-3.ll @@ -1,5 +1,4 @@ ; RUN: llc %s -filetype=obj -o - -experimental-debug-variable-locations=true | llvm-dwarfdump -v - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators %s -filetype=obj -o - -experimental-debug-variable-locations=true | llvm-dwarfdump -v - | FileCheck %s ; ; // Compile with -O1 ; typedef struct { diff --git a/llvm/test/DebugInfo/X86/pieces-4.ll b/llvm/test/DebugInfo/X86/pieces-4.ll index d171931c0b4a4..7e27f101ac10d 100644 --- a/llvm/test/DebugInfo/X86/pieces-4.ll +++ b/llvm/test/DebugInfo/X86/pieces-4.ll @@ -1,7 +1,5 @@ ; RUN: llc < %s -experimental-debug-variable-locations=true | FileCheck %s ; RUN: llc -filetype=obj < %s -experimental-debug-variable-locations=true | llvm-dwarfdump -debug-loc - | FileCheck %s --check-prefix=DWARF -; RUN: llc --try-experimental-debuginfo-iterators < %s -experimental-debug-variable-locations=true | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -filetype=obj < %s -experimental-debug-variable-locations=true | llvm-dwarfdump -debug-loc - | FileCheck %s --check-prefix=DWARF ; Compile the following with -O1: diff --git a/llvm/test/DebugInfo/X86/reference-argument.ll b/llvm/test/DebugInfo/X86/reference-argument.ll index 803947ffeef6b..8747da5071a8b 100644 --- a/llvm/test/DebugInfo/X86/reference-argument.ll +++ b/llvm/test/DebugInfo/X86/reference-argument.ll @@ -1,7 +1,5 @@ ; RUN: llc -mtriple=x86_64-apple-macosx10.9.0 -filetype=obj -O0 < %s \ ; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-apple-macosx10.9.0 -filetype=obj -O0 < %s \ -; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck %s ; ModuleID = 'aggregate-indirect-arg.cpp' ; extracted from debuginfo-tests/aggregate-indirect-arg.cpp diff --git a/llvm/test/DebugInfo/X86/safestack-byval.ll b/llvm/test/DebugInfo/X86/safestack-byval.ll index 168cddd80633d..acaa8031537ca 100644 --- a/llvm/test/DebugInfo/X86/safestack-byval.ll +++ b/llvm/test/DebugInfo/X86/safestack-byval.ll @@ -3,8 +3,6 @@ ; SafeStack for unsafe byval arguments. ; RUN: llc -mtriple=x86_64-unknown-unknown --experimental-debug-variable-locations=false -stop-after finalize-isel %s -o - | FileCheck %s --check-prefixes=CHECK,NORMAL ; RUN: llc -mtriple=x86_64-unknown-unknown --experimental-debug-variable-locations -stop-after finalize-isel %s -o - | FileCheck %s --check-prefixes=CHECK,INSTRREF -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-unknown-unknown --experimental-debug-variable-locations=false -stop-after finalize-isel %s -o - | FileCheck %s --check-prefixes=CHECK,NORMAL -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-unknown-unknown --experimental-debug-variable-locations -stop-after finalize-isel %s -o - | FileCheck %s --check-prefixes=CHECK,INSTRREF ; This was built by compiling the following source with SafeStack and ; simplifying the result a little. diff --git a/llvm/test/DebugInfo/X86/salvage-add-node-indirect.ll b/llvm/test/DebugInfo/X86/salvage-add-node-indirect.ll index 967721bde8a34..cae8a479a5ad9 100644 --- a/llvm/test/DebugInfo/X86/salvage-add-node-indirect.ll +++ b/llvm/test/DebugInfo/X86/salvage-add-node-indirect.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 3 ; RUN: llc -mtriple=x86_64 %s -start-before=x86-isel -o - -stop-after=x86-isel | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64 %s -start-before=x86-isel -o - -stop-after=x86-isel | FileCheck %s ; Verify that we don't crash due to attempting to turn the indirect debug value ; in @test_non_constant variadic when salvaging the ADD node with non-constant diff --git a/llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll b/llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll index 2f9af6054039b..447546e0d210c 100644 --- a/llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll +++ b/llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll @@ -5,16 +5,6 @@ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF -; Repeat checks with experimental debginfo iterators. -; RUN: llc %s -stop-before finalize-isel -o - \ -; RUN: -try-experimental-debuginfo-iterators \ -; RUN: -experimental-debug-variable-locations=false \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE -; RUN: llc %s -stop-before finalize-isel -o - \ -; RUN: -try-experimental-debuginfo-iterators \ -; RUN: -experimental-debug-variable-locations=true \ -; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF - ;-------------------------------------------------------------------- ; This test case is basically generated from the following C code. ; Compiled with "--target=x86_64-apple-darwin -S -g -O3" to get debug diff --git a/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-1.ll b/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-1.ll index 3bece362d50a5..aa2cd18f0f0c6 100644 --- a/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-1.ll +++ b/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-1.ll @@ -5,10 +5,6 @@ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF -; RUN: llc -start-after=codegenprepare -stop-before finalize-isel -o - %s \ -; RUN: -experimental-debug-variable-locations=false --try-experimental-debuginfo-iterators \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE - ; This test case was generated from the following debug.c program, ; using: clang debug.c -g -O1 -S -o dbg_value_phi_isel1.ll -emit-llvm ; -------------------------------------- diff --git a/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-2.ll b/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-2.ll index d94c394cec5f5..a5043c82f9783 100644 --- a/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-2.ll +++ b/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-2.ll @@ -5,10 +5,6 @@ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF -; RUN: llc -start-after=codegenprepare -stop-before finalize-isel -o - %s \ -; RUN: -experimental-debug-variable-locations=false --try-experimental-debuginfo-iterators \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE - ; This test case is a modified version of dbg_value_phi_isel1.ll ; where the llvm.dbg.value nodes in for.body has been moved. diff --git a/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-3.ll b/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-3.ll index c2cdca3bb28ca..f40b4e479ca55 100644 --- a/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-3.ll +++ b/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-3.ll @@ -5,10 +5,6 @@ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF -; RUN: llc -start-after=codegenprepare -stop-before finalize-isel -o - %s \ -; RUN: -experimental-debug-variable-locations=false --try-experimental-debuginfo-iterators \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE - ; This test case was generated from the following phi-split.c program, ; using: clang phi-split.c -g -O1 -S -o - --target=i386 -emit-llvm ; -------------------------------------- diff --git a/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-4.ll b/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-4.ll index fa456abd51698..786c78d33337b 100644 --- a/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-4.ll +++ b/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-4.ll @@ -5,10 +5,6 @@ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF -; RUN: llc -start-after=codegenprepare -stop-before finalize-isel -o - %s \ -; RUN: -experimental-debug-variable-locations=false --try-experimental-debuginfo-iterators \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE - ; This is a reproducer based on the test case from PR37321. ; We verify that the fragment for the last DBG_VALUE is limited depending diff --git a/llvm/test/DebugInfo/X86/sdag-dbgvalue-ssareg.ll b/llvm/test/DebugInfo/X86/sdag-dbgvalue-ssareg.ll index ca23d10531cf5..f5bde713dd33b 100644 --- a/llvm/test/DebugInfo/X86/sdag-dbgvalue-ssareg.ll +++ b/llvm/test/DebugInfo/X86/sdag-dbgvalue-ssareg.ll @@ -5,10 +5,6 @@ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF -; RUN: llc -start-after=codegenprepare -stop-before finalize-isel -o - %s \ -; RUN: -experimental-debug-variable-locations=false --try-experimental-debuginfo-iterators \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE - ; Test that dbg.values of an SSA variable that's not used in a basic block, ; is converted to a DBG_VALUE in that same basic block. We know that %1 is ; live from the entry bb to the exit bb, is allocated a vreg because it's diff --git a/llvm/test/DebugInfo/X86/sdag-ir-salvage.ll b/llvm/test/DebugInfo/X86/sdag-ir-salvage.ll index c9a16e326491a..723bd26eac722 100644 --- a/llvm/test/DebugInfo/X86/sdag-ir-salvage.ll +++ b/llvm/test/DebugInfo/X86/sdag-ir-salvage.ll @@ -7,11 +7,6 @@ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF -; RUN: llc -mtriple=x86_64-unknown-unknown -start-after=codegenprepare \ -; RUN: -stop-before finalize-isel %s -o - \ -; RUN: -experimental-debug-variable-locations=false --try-experimental-debuginfo-iterators \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE - ; Test that the dbg.value for %baz, which doesn't exist in the 'next' bb, ; can be salvaged back to the underlying argument vreg. diff --git a/llvm/test/DebugInfo/X86/spill-indirect-nrvo.ll b/llvm/test/DebugInfo/X86/spill-indirect-nrvo.ll index 4bcb08d675a47..a3a096b92fddc 100644 --- a/llvm/test/DebugInfo/X86/spill-indirect-nrvo.ll +++ b/llvm/test/DebugInfo/X86/spill-indirect-nrvo.ll @@ -3,10 +3,6 @@ ; RUN: llc < %s -experimental-debug-variable-locations=true | FileCheck -check-prefixes=CHECK,OPT %s ; RUN: llc -O0 < %s -experimental-debug-variable-locations=true | FileCheck -check-prefixes=CHECK,OPTNONE %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -experimental-debug-variable-locations=false | FileCheck -check-prefixes=CHECK,OPT %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 < %s -experimental-debug-variable-locations=false | FileCheck -check-prefixes=CHECK,OPTNONE %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -experimental-debug-variable-locations=true | FileCheck -check-prefixes=CHECK,OPT %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 < %s -experimental-debug-variable-locations=true | FileCheck -check-prefixes=CHECK,OPTNONE %s ; Make sure we insert DW_OP_deref when spilling indirect DBG_VALUE instructions. diff --git a/llvm/test/DebugInfo/X86/spill-nontrivial-param.ll b/llvm/test/DebugInfo/X86/spill-nontrivial-param.ll index 9c05b050e7338..1e01f2cd97032 100644 --- a/llvm/test/DebugInfo/X86/spill-nontrivial-param.ll +++ b/llvm/test/DebugInfo/X86/spill-nontrivial-param.ll @@ -1,7 +1,5 @@ ; RUN: llc < %s -experimental-debug-variable-locations=false | FileCheck %s ; RUN: llc < %s -experimental-debug-variable-locations=true | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -experimental-debug-variable-locations=false | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators < %s -experimental-debug-variable-locations=true | FileCheck %s ; Make sure we insert DW_OP_deref when spilling indirect DBG_VALUE instructions. ; In this example, 'nt' is passed by address because it is not trivially diff --git a/llvm/test/DebugInfo/X86/sret.ll b/llvm/test/DebugInfo/X86/sret.ll index be7c36111d39a..567f500d31eb0 100644 --- a/llvm/test/DebugInfo/X86/sret.ll +++ b/llvm/test/DebugInfo/X86/sret.ll @@ -1,7 +1,5 @@ ; RUN: llc -split-dwarf-file=foo.dwo -O0 %s -mtriple=x86_64-unknown-linux-gnu -filetype=obj -o %t ; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s --check-prefix=CHECK-DWO -; RUN: llc --try-experimental-debuginfo-iterators -split-dwarf-file=foo.dwo -O0 %s -mtriple=x86_64-unknown-linux-gnu -filetype=obj -o %t -; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s --check-prefix=CHECK-DWO ; Based on the debuginfo-tests/sret.cpp code. @@ -11,8 +9,6 @@ ; RUN: llc -O0 -fast-isel=true -mtriple=x86_64-apple-darwin -filetype=obj -o - %s | llvm-dwarfdump -debug-info - | FileCheck -check-prefixes=CHECK,FASTISEL %s ; RUN: llc -O0 -fast-isel=false -mtriple=x86_64-apple-darwin -filetype=obj -o - %s | llvm-dwarfdump -debug-info - | FileCheck -check-prefixes=CHECK,SDAG %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 -fast-isel=true -mtriple=x86_64-apple-darwin -filetype=obj -o - %s | llvm-dwarfdump -debug-info - | FileCheck -check-prefixes=CHECK,FASTISEL %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 -fast-isel=false -mtriple=x86_64-apple-darwin -filetype=obj -o - %s | llvm-dwarfdump -debug-info - | FileCheck -check-prefixes=CHECK,SDAG %s ; CHECK: _ZN1B9AInstanceEv ; CHECK: DW_TAG_variable diff --git a/llvm/test/DebugInfo/X86/sroa-after-inlining.ll b/llvm/test/DebugInfo/X86/sroa-after-inlining.ll index cff4e0171b9d5..209f7d23621e1 100644 --- a/llvm/test/DebugInfo/X86/sroa-after-inlining.ll +++ b/llvm/test/DebugInfo/X86/sroa-after-inlining.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes='cgscc(function(sroa,instcombine),inline),function(instcombine,sroa),verify' -S -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes='cgscc(function(sroa,instcombine),inline),function(instcombine,sroa),verify' -S -o - | FileCheck %s ; ; This test checks that SROA pass processes debug info correctly if applied twice. ; Specifically, after SROA works first time, instcombine converts dbg.declare diff --git a/llvm/test/DebugInfo/X86/sroasplit-1.ll b/llvm/test/DebugInfo/X86/sroasplit-1.ll index 8f739b0ea8fa0..137117d1d1d12 100644 --- a/llvm/test/DebugInfo/X86/sroasplit-1.ll +++ b/llvm/test/DebugInfo/X86/sroasplit-1.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes='sroa,verify' -S -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes='sroa,verify' -S -o - | FileCheck %s ; ; Test that we can partial emit debug info for aggregates repeatedly ; split up by SROA. diff --git a/llvm/test/DebugInfo/X86/sroasplit-2.ll b/llvm/test/DebugInfo/X86/sroasplit-2.ll index 1b27650e26898..b9d02eef2ed4e 100644 --- a/llvm/test/DebugInfo/X86/sroasplit-2.ll +++ b/llvm/test/DebugInfo/X86/sroasplit-2.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes='sroa,verify' -S -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes='sroa,verify' -S -o - | FileCheck %s ; ; Test that we can partial emit debug info for aggregates repeatedly ; split up by SROA. diff --git a/llvm/test/DebugInfo/X86/sroasplit-3.ll b/llvm/test/DebugInfo/X86/sroasplit-3.ll index 11ccf7c9f681e..5b2b6cb513e12 100644 --- a/llvm/test/DebugInfo/X86/sroasplit-3.ll +++ b/llvm/test/DebugInfo/X86/sroasplit-3.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes='sroa,verify' -S -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes='sroa,verify' -S -o - | FileCheck %s ; ModuleID = 'test.c' ; Test that SROA updates the debug info correctly if an alloca was rewritten but diff --git a/llvm/test/DebugInfo/X86/sroasplit-4.ll b/llvm/test/DebugInfo/X86/sroasplit-4.ll index 554f80af6c4a9..d5ce348e9896e 100644 --- a/llvm/test/DebugInfo/X86/sroasplit-4.ll +++ b/llvm/test/DebugInfo/X86/sroasplit-4.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes='sroa' < %s -S -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes='sroa' < %s -S -o - | FileCheck %s ; ; Test that recursively splitting an alloca updates the debug info correctly. ; CHECK: %[[T:.*]] = load i64, ptr @t, align 8 diff --git a/llvm/test/DebugInfo/X86/sroasplit-5.ll b/llvm/test/DebugInfo/X86/sroasplit-5.ll index 67acb71363e36..34aa30f55728e 100644 --- a/llvm/test/DebugInfo/X86/sroasplit-5.ll +++ b/llvm/test/DebugInfo/X86/sroasplit-5.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes='sroa,verify' -S -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes='sroa,verify' -S -o - | FileCheck %s ; From: ; struct prog_src_register { diff --git a/llvm/test/DebugInfo/X86/sroasplit-dbg-declare.ll b/llvm/test/DebugInfo/X86/sroasplit-dbg-declare.ll index e1b5812be35e8..c7dbde42842e4 100644 --- a/llvm/test/DebugInfo/X86/sroasplit-dbg-declare.ll +++ b/llvm/test/DebugInfo/X86/sroasplit-dbg-declare.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -passes='sroa' -o - %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -passes='sroa' -o - %s | FileCheck %s ; SROA should split the alloca in two new ones, each with its own dbg.declare. ; The original alloca and dbg.declare should be removed. diff --git a/llvm/test/DebugInfo/X86/subreg.ll b/llvm/test/DebugInfo/X86/subreg.ll index f826cc5a9c93b..671af9e05fe24 100644 --- a/llvm/test/DebugInfo/X86/subreg.ll +++ b/llvm/test/DebugInfo/X86/subreg.ll @@ -1,5 +1,4 @@ ; RUN: llc %s -mtriple=x86_64-pc-linux-gnu -O0 -o - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators %s -mtriple=x86_64-pc-linux-gnu -O0 -o - | FileCheck %s ; We are testing that a value in a 16 bit register gets reported as ; being in its superregister. diff --git a/llvm/test/DebugInfo/X86/subregisters.ll b/llvm/test/DebugInfo/X86/subregisters.ll index 5dc5a8033f1e7..4e279aba3d8b3 100644 --- a/llvm/test/DebugInfo/X86/subregisters.ll +++ b/llvm/test/DebugInfo/X86/subregisters.ll @@ -1,8 +1,5 @@ ; RUN: llc -mtriple=x86_64-apple-darwin %s -o %t.o -filetype=obj -O0 ; RUN: llvm-dwarfdump -v %t.o | FileCheck %s - -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-apple-darwin %s -o %t.o -filetype=obj -O0 -; RUN: llvm-dwarfdump -v %t.o | FileCheck %s ; ; Test that on x86_64, the 32-bit subregister esi is emitted as ; subregister of the 64-bit rsi. diff --git a/llvm/test/DebugInfo/X86/union-const.ll b/llvm/test/DebugInfo/X86/union-const.ll index 1bb5cc26b1fe2..665af4fa3d00b 100644 --- a/llvm/test/DebugInfo/X86/union-const.ll +++ b/llvm/test/DebugInfo/X86/union-const.ll @@ -1,5 +1,4 @@ ; RUN: llc -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; CHECK: DW_TAG_variable ; CHECK-NEXT: DW_AT_const_value [DW_FORM_udata] (0) diff --git a/llvm/test/DebugInfo/X86/vla-global.ll b/llvm/test/DebugInfo/X86/vla-global.ll index ee43ea166b705..1eecb0d58f859 100644 --- a/llvm/test/DebugInfo/X86/vla-global.ll +++ b/llvm/test/DebugInfo/X86/vla-global.ll @@ -1,5 +1,4 @@ ; RUN: llc -mtriple=x86_64-apple-darwin %s -o - -filetype=obj | llvm-dwarfdump - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-apple-darwin %s -o - -filetype=obj | llvm-dwarfdump - | FileCheck %s ; CHECK: 0x00000[[G:.*]]: DW_TAG_variable ; CHECK-NEXT: DW_AT_name ("g") diff --git a/llvm/test/DebugInfo/X86/vla-multi.ll b/llvm/test/DebugInfo/X86/vla-multi.ll index 911918338c21d..5a558740769a5 100644 --- a/llvm/test/DebugInfo/X86/vla-multi.ll +++ b/llvm/test/DebugInfo/X86/vla-multi.ll @@ -1,5 +1,4 @@ ; RUN: llc -mtriple=x86_64-apple-darwin %s -o - -filetype=obj | llvm-dwarfdump - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-apple-darwin %s -o - -filetype=obj | llvm-dwarfdump - | FileCheck %s ; Test debug info for multidimensional arrays. ; diff --git a/llvm/test/DebugInfo/X86/vla.ll b/llvm/test/DebugInfo/X86/vla.ll index f90cf2aadc71c..26322ec0fdd7b 100644 --- a/llvm/test/DebugInfo/X86/vla.ll +++ b/llvm/test/DebugInfo/X86/vla.ll @@ -1,5 +1,4 @@ ; RUN: llc -O0 -mtriple=x86_64-apple-darwin -filetype=asm %s -o - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators -O0 -mtriple=x86_64-apple-darwin -filetype=asm %s -o - | FileCheck %s ; Ensure that we generate an indirect location for the variable length array a. ; CHECK: ##DEBUG_VALUE: vla:a <- [DW_OP_deref] [{{\$r[a-z]+}}+0] ; CHECK: DW_OP_breg{{[0-9]}} diff --git a/llvm/test/DebugInfo/assignment-tracking/AArch64/scalable-vectors.ll b/llvm/test/DebugInfo/assignment-tracking/AArch64/scalable-vectors.ll index 81a1542221650..5637dc359ba71 100644 --- a/llvm/test/DebugInfo/assignment-tracking/AArch64/scalable-vectors.ll +++ b/llvm/test/DebugInfo/assignment-tracking/AArch64/scalable-vectors.ll @@ -1,7 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - | FileCheck %s ;; Hand written. Check AssignmentTrackingAnalysis doesn't try to get the size ;; of scalable vectors (which causes an assertion failure). diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/DSE.ll b/llvm/test/DebugInfo/assignment-tracking/X86/DSE.ll index 57bb53d8269c3..057c82b0872a6 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/DSE.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/DSE.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-before=finalize-isel -o - \ ; RUN: | FileCheck %s - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-before=finalize-isel -o - \ -; RUN: | FileCheck %s - ; Check basic lowering behaviour of dbg.assign intrinsics. The first ; assignment to `local`, which has been DSE'd, should be represented with a ; constant value DBG_VALUE. The second assignment should have a DBG_VALUE diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/assignment-tracking-not-enabled.ll b/llvm/test/DebugInfo/assignment-tracking/X86/assignment-tracking-not-enabled.ll index 2f0b4fd284b9a..73b4fd0b75dab 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/assignment-tracking-not-enabled.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/assignment-tracking-not-enabled.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; Check that SelectionDAG downgrades dbg.assigns to dbg.values if assignment ;; tracking isn't enabled (e.g. if the module flag ;; "debug-info-assignment-tracking" is missing / false). diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-cfg.ll b/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-cfg.ll index 5c0d24e1155c5..49fbcb95818ae 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-cfg.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-cfg.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -o - -stop-after=finalize-isel \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -o - -stop-after=finalize-isel \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; Test coalescing of contiguous fragments in adjacent location definitions. ;; Further details and check directives inline. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-options.ll b/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-options.ll index e872e492eb26c..39bfcdaa41716 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-options.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-options.ll @@ -14,30 +14,20 @@ ;; Coalescing default + instructino-referencing enabled = enable. ; RUN: llc %s -o - -stop-after=finalize-isel -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,ENABLE -; RUN: llc --try-experimental-debuginfo-iterators %s -o - -stop-after=finalize-isel -experimental-debug-variable-locations=true \ -; RUN: | FileCheck %s --check-prefixes=CHECK,ENABLE ;; Coalescing default + instructino-referencing disabled = disable. ; RUN: llc %s -o - -stop-after=finalize-isel -experimental-debug-variable-locations=false \ ; RUN: | FileCheck %s --check-prefixes=CHECK,DISABLE -; RUN: llc --try-experimental-debuginfo-iterators %s -o - -stop-after=finalize-isel -experimental-debug-variable-locations=false \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DISABLE ;; Coalescing enabled + instructino-referencing disabled = enable. ; RUN: llc %s -o - -stop-after=finalize-isel -experimental-debug-variable-locations=false \ ; RUN: -debug-ata-coalesce-frags=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,ENABLE -; RUN: llc --try-experimental-debuginfo-iterators %s -o - -stop-after=finalize-isel -experimental-debug-variable-locations=false \ -; RUN: -debug-ata-coalesce-frags=true \ -; RUN: | FileCheck %s --check-prefixes=CHECK,ENABLE ;; Coalescing disabled + instructino-referencing enabled = disable. ; RUN: llc %s -o - -stop-after=finalize-isel -experimental-debug-variable-locations=true \ ; RUN: -debug-ata-coalesce-frags=false \ ; RUN: | FileCheck %s --check-prefixes=CHECK,DISABLE -; RUN: llc --try-experimental-debuginfo-iterators %s -o - -stop-after=finalize-isel -experimental-debug-variable-locations=true \ -; RUN: -debug-ata-coalesce-frags=false \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DISABLE ; CHECK: MOV32mi %stack.0.a, 1, $noreg, 0, $noreg, 5 ; ENABLE-NEXT: DBG_VALUE %stack.0.a, $noreg, ![[#]], !DIExpression(DW_OP_deref) diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-simple.ll b/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-simple.ll index 274dc2f9bf2a4..ccbaca0e61dab 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-simple.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/coalesce-simple.ll @@ -1,7 +1,5 @@ ; RUN: llc %s -o - -stop-after=finalize-isel \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ -; RUN: llc --try-experimental-debuginfo-iterators %s -o - -stop-after=finalize-isel \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ ;; Test coalescing of contiguous fragments in adjacent location definitions. ;; Further details and check directives inline. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/dbg-phi-produces-undef.ll b/llvm/test/DebugInfo/assignment-tracking/X86/dbg-phi-produces-undef.ll index 2ab4e57f470af..37a2dbd452161 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/dbg-phi-produces-undef.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/dbg-phi-produces-undef.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s - ;; Hand written test because the scenario is unlikely. Check that the "value" ;; of a debug def PHIs is "undef" (because we don't actually track PHIs). ;; diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/diamond-1.ll b/llvm/test/DebugInfo/assignment-tracking/X86/diamond-1.ll index 07d0540107f47..b4e84a9978301 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/diamond-1.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/diamond-1.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s - ;; cat test.cpp ;; void d(); ;; void e(); diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/diamond-2.ll b/llvm/test/DebugInfo/assignment-tracking/X86/diamond-2.ll index 2dd82ff9e595a..1526b3471b2e0 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/diamond-2.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/diamond-2.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s - ;; Same as diamond-1.ll except that the DIAssignID attached to the store has ;; been deleted. In this case, we expect the same output as for diamond-1.ll ;; because we choose to interpret stores to stack slots that don't link to diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/diamond-3.ll b/llvm/test/DebugInfo/assignment-tracking/X86/diamond-3.ll index 69ae720276a70..b20b166cb9cd4 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/diamond-3.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/diamond-3.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; Hand written to test scenario we can definitely run into in the wild. This ;; file name includes "diamond" because the idea is that we lose (while ;; optimizing) one of the diamond branches which was empty except for a debug diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/frag-size-zero.ll b/llvm/test/DebugInfo/assignment-tracking/X86/frag-size-zero.ll index c6124df1b26e9..730f99a9329b9 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/frag-size-zero.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/frag-size-zero.ll @@ -1,7 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - | FileCheck %s ;; Check that a zero-sized fragment (the final dbg.assign) is ignored by ;; AssignmentTrackingAnalysis. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/global-storage.ll b/llvm/test/DebugInfo/assignment-tracking/X86/global-storage.ll index d7b8d76fdecaa..be3123c6e8303 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/global-storage.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/global-storage.ll @@ -1,7 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - | FileCheck %s -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - | FileCheck %s ;; Local variable has global storage. Check AssignmentTrackingAnalysis doesn't ;; crash/assert. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/large-type.ll b/llvm/test/DebugInfo/assignment-tracking/X86/large-type.ll index 9ab0f36597887..cebbc162fcb3a 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/large-type.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/large-type.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; Based on optimized IR from C source: ;; int main () { ;; char a1[__INT_MAX__]; diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/loop-hoist.ll b/llvm/test/DebugInfo/assignment-tracking/X86/loop-hoist.ll index c83d530c28526..559cdc59dffd9 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/loop-hoist.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/loop-hoist.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; $ cat test.cpp ;; int d(); ;; void e(); diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/loop-sink.ll b/llvm/test/DebugInfo/assignment-tracking/X86/loop-sink.ll index 77d730ff1d359..fcd51960b67cc 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/loop-sink.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/loop-sink.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG - ;; Tiny loop with a store sunk out of it: ;; void e(); ;; void es(int*); diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/loop-unroll.ll b/llvm/test/DebugInfo/assignment-tracking/X86/loop-unroll.ll index 51661d4b030c8..5ef5cb4dde9e1 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/loop-unroll.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/loop-unroll.ll @@ -1,8 +1,5 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s ;; ;; Backend counterpart to ../Generic/dbg-assign-loop-unroll. This IR was ;; generated by running `opt -loop-unroll -S` on the IR in that test. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/lower-offset-expression.ll b/llvm/test/DebugInfo/assignment-tracking/X86/lower-offset-expression.ll index 7d1c7941df4b0..7ba6322babfef 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/lower-offset-expression.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/lower-offset-expression.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s - ;; Handwritten test. ;; Here we have dbg.assign intrinsics with fragments (in the value-expression) diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/lower-to-value.ll b/llvm/test/DebugInfo/assignment-tracking/X86/lower-to-value.ll index d1983340cb864..d2ac09522bc2c 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/lower-to-value.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/lower-to-value.ll @@ -3,21 +3,11 @@ ; RUN: -debug-ata-coalesce-frags=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE --implicit-check-not=DBG_VALUE -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=false \ -; RUN: -debug-ata-coalesce-frags=true \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE --implicit-check-not=DBG_VALUE ; RUN: llc %s -stop-before finalize-isel -o - \ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF --implicit-check-not=DBG_VALUE \ ; RUN: --implicit-check-not=DBG_INSTR_REF - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=true \ -; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF --implicit-check-not=DBG_VALUE \ -; RUN: --implicit-check-not=DBG_INSTR_REF - ;; Check that dbg.assigns for an aggregate variable which lives on the stack ;; for some of its lifetime are lowered into an appropriate set of DBG_VALUEs. ;; diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill-cfg.ll b/llvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill-cfg.ll index 75b836664cda8..747ac04b29930 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill-cfg.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill-cfg.ll @@ -3,19 +3,10 @@ ; RUN: -debug-ata-coalesce-frags=true \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=false \ -; RUN: -debug-ata-coalesce-frags=true \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ ; RUN: llc %s -stop-before finalize-isel -o - \ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=true \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; Check that the mem-loc-frag-fill pseudo-pass works on a simple CFG. When ;; LLVM sees a dbg.value with an overlapping fragment it essentially considers ;; the previous location as valid for all bits in that fragment. The pass diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill.ll b/llvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill.ll index a91fe7f00aee0..3964ee51382f7 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill.ll @@ -3,19 +3,10 @@ ; RUN: -debug-ata-coalesce-frags=true \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=false \ -; RUN: -debug-ata-coalesce-frags=true \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ ; RUN: llc %s -stop-before finalize-isel -o - \ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=true \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; Check that the mem-loc-frag-fill analysis works on a simple case; ensure ;; that location definitions are added to preserve memory locations of ;; fragments of variables at subsequent location definitions for other diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/negative-offset.ll b/llvm/test/DebugInfo/assignment-tracking/X86/negative-offset.ll index 20ea85bd27375..df85e3e50f77b 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/negative-offset.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/negative-offset.ll @@ -1,7 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - | FileCheck %s --implicit-check-not=DBG_VALUE -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - | FileCheck %s --implicit-check-not=DBG_VALUE ;; Check stores to an address computed as a negative offset from an alloca are ;; ignored by the assignment tracking analysis. For this example that should diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop-frags.ll b/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop-frags.ll index 39132dd5471b1..6e066fa90f4cb 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop-frags.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop-frags.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG - ;; Test a variety of block inputs and lattice configurations for the assignment ;; tracking analysis (debug-ata). This is similar to nested-loop.ll and ;; nested-loop-sroa.ll except that the allocas are 64 bits and the stores are a diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop-sroa.ll b/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop-sroa.ll index 39c91724946f4..1f4351e6d3516 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop-sroa.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop-sroa.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG - ;; Test a variety of block inputs and lattice configurations for the assignment ;; tracking analysis (debug-ata). This is the same as nested-loop.ll except each ;; alloca holds a fragment of a variable instead of a whole variable. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop.ll b/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop.ll index b88a58566e4f6..3f4350fd15af7 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/nested-loop.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG - ;; Test a variety of block inputs and lattice configurations for the assignment ;; tracking analysis (debug-ata). diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/no-redundant-def-after-alloca.ll b/llvm/test/DebugInfo/assignment-tracking/X86/no-redundant-def-after-alloca.ll index 9ef3ea59247e7..626757e964dcd 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/no-redundant-def-after-alloca.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/no-redundant-def-after-alloca.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -o - -stop-after=finalize-isel \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -o - -stop-after=finalize-isel \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; Hand written. Check that no unnecessary undef is inserted after an alloca ;; that has a linked dbg.assign that doesn't immediately follow it. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/order-of-defs.ll b/llvm/test/DebugInfo/assignment-tracking/X86/order-of-defs.ll index 9b8f3b9b67a3f..191d61360feb4 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/order-of-defs.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/order-of-defs.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; Ensure that the order of several debug intrinsics between non-debug ;; instructions is maintained. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/remove-redundant-defs-bwd-scan.ll b/llvm/test/DebugInfo/assignment-tracking/X86/remove-redundant-defs-bwd-scan.ll index 211098b4a8d55..dc2638c69969d 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/remove-redundant-defs-bwd-scan.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/remove-redundant-defs-bwd-scan.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; Hand-written to test assignment tracking analysis' removal of redundant ;; debug loc definitions. Checks written inline. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/remove-redundant-defs-to-prevent-reordering.ll b/llvm/test/DebugInfo/assignment-tracking/X86/remove-redundant-defs-to-prevent-reordering.ll index 5d52cc342cf28..6209f810f718d 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/remove-redundant-defs-to-prevent-reordering.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/remove-redundant-defs-to-prevent-reordering.ll @@ -2,18 +2,10 @@ ; RUN: -experimental-debug-variable-locations=false \ ; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE --implicit-check-not="DBG_VALUE \$noreg" -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=false \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE --implicit-check-not="DBG_VALUE \$noreg" ; RUN: llc %s -stop-before finalize-isel -o - \ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF --implicit-check-not="DBG_VALUE \$noreg" - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=true \ -; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF --implicit-check-not="DBG_VALUE \$noreg" - ;; Found in the wild, but this test involves modifications from: ;; int b; ;; void ext(); diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/remove-undef-fragment.ll b/llvm/test/DebugInfo/assignment-tracking/X86/remove-undef-fragment.ll index c65a6e4aadc7f..b006fb0514626 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/remove-undef-fragment.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/remove-undef-fragment.ll @@ -1,7 +1,5 @@ ; RUN: llc %s -o - -stop-after=finalize-isel \ ; RUN: | FileCheck %s --implicit-check-not=DBG -; RUN: llc --try-experimental-debuginfo-iterators %s -o - -stop-after=finalize-isel \ -; RUN: | FileCheck %s --implicit-check-not=DBG ;; In the IR below, for variable n, we get dbg intrinsics that describe this: ;; diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/sdag-dangling-dbgassign.ll b/llvm/test/DebugInfo/assignment-tracking/X86/sdag-dangling-dbgassign.ll index ba7d3f6a67e27..347f001be1ca6 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/sdag-dangling-dbgassign.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/sdag-dangling-dbgassign.ll @@ -2,18 +2,10 @@ ; RUN: -experimental-debug-variable-locations=false \ ; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=false \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE ; RUN: llc %s -stop-before finalize-isel -o - \ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=true \ -; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF - ;-------------------------------------------------------------------- ; Adapted from sdag-dangling-dbgvalue.ll to test dbg.assign intrinsics. This ; ensures that dbg.assigns with no linked store are treated as dbg.values. For diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/sdag-ir-salvage-assign.ll b/llvm/test/DebugInfo/assignment-tracking/X86/sdag-ir-salvage-assign.ll index 38a0a8675bef2..f55982f5b5f00 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/sdag-ir-salvage-assign.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/sdag-ir-salvage-assign.ll @@ -3,21 +3,11 @@ ; RUN: -experimental-debug-variable-locations=false \ ; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-unknown-unknown -start-after=codegenprepare \ -; RUN: -stop-before finalize-isel %s -o - \ -; RUN: -experimental-debug-variable-locations=false \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE ; RUN: llc -mtriple=x86_64-unknown-unknown -start-after=codegenprepare \ ; RUN: -stop-before finalize-isel %s -o - \ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF - -; RUN: llc --try-experimental-debuginfo-iterators -mtriple=x86_64-unknown-unknown -start-after=codegenprepare \ -; RUN: -stop-before finalize-isel %s -o - \ -; RUN: -experimental-debug-variable-locations=true \ -; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF - ; Adapted from sdag-ir-salvage.ll to test dbg.assign intrinsics. This ensures ; that dbg.assigns with no linked store are treated as dbg.values. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/sdag-transfer-dbgassign.ll b/llvm/test/DebugInfo/assignment-tracking/X86/sdag-transfer-dbgassign.ll index fba127b5f5266..ae5f770732d50 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/sdag-transfer-dbgassign.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/sdag-transfer-dbgassign.ll @@ -2,18 +2,10 @@ ; RUN: -experimental-debug-variable-locations=false \ ; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE -; RUN: llc --try-experimental-debuginfo-iterators %s -start-after=codegenprepare -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=false \ -; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE ; RUN: llc %s -start-after=codegenprepare -stop-before finalize-isel -o - \ ; RUN: -experimental-debug-variable-locations=true \ ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF - -; RUN: llc --try-experimental-debuginfo-iterators %s -start-after=codegenprepare -stop-before finalize-isel -o - \ -; RUN: -experimental-debug-variable-locations=true \ -; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF - ; Adapted from sdag-transfer-dbgvalue.ll to test dbg.assign intrinsics. This ; ensures that dbg.assigns with no linked store are treated as dbg.values. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/single-memory-location-2.ll b/llvm/test/DebugInfo/assignment-tracking/X86/single-memory-location-2.ll index d68fb16a4f963..5ede673374e6e 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/single-memory-location-2.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/single-memory-location-2.ll @@ -1,10 +1,6 @@ ; RUN: llc -stop-after=finalize-isel %s -o - \ ; RUN: | FileCheck %s - -; RUN: llc --try-experimental-debuginfo-iterators -stop-after=finalize-isel %s -o - \ -; RUN: | FileCheck %s - ;; Check that a dbg.assign for a fully stack-homed variable causes the variable ;; location to appear in the Machine Function side table. Similar to ;; single-memory-location.ll except this has slightly more complicated input diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/single-memory-location.ll b/llvm/test/DebugInfo/assignment-tracking/X86/single-memory-location.ll index 5258ba4124450..3ace371231df1 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/single-memory-location.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/single-memory-location.ll @@ -1,10 +1,6 @@ ; RUN: llc -stop-after=finalize-isel %s -o - \ ; RUN: | FileCheck %s - -; RUN: llc --try-experimental-debuginfo-iterators -stop-after=finalize-isel %s -o - \ -; RUN: | FileCheck %s - ;; Check that a dbg.assign for a fully stack-homed variable causes the variable ;; location to appear in the Machine Function side table (variable 'local'). ;; diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/split-alloca.ll b/llvm/test/DebugInfo/assignment-tracking/X86/split-alloca.ll index 045c9fd31af4c..15f5374568bc3 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/split-alloca.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/split-alloca.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -o - -stop-after=finalize-isel \ ; RUN: | FileCheck %s --implicit-check-not=DBG - -; RUN: llc --try-experimental-debuginfo-iterators %s -o - -stop-after=finalize-isel \ -; RUN: | FileCheck %s --implicit-check-not=DBG - ;; Hand written. Check that we fall back to emitting a list of defs for ;; variables with split allocas (i.e. we want to see DBG_VALUEs and no ;; debug-info-variable entry in the stack slot table). diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-assignment-extra-checks.ll b/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-assignment-extra-checks.ll index 3dd9098df8382..c407a7da7fa2c 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-assignment-extra-checks.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-assignment-extra-checks.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; Similarly to untagged-store-assignment-outside-variable.ll this test checks ;; that out of bounds stores that have no DIAssignID are interpreted correctly ;; (see inline comments and checks). Hand-written IR. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-assignment-outside-variable.ll b/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-assignment-outside-variable.ll index fe1af199d5e7e..3a7c528d320a7 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-assignment-outside-variable.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-assignment-outside-variable.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ - ;; Generated from following C source that contains UB (read and write to ;; out of bounds static array element. ;; int a; diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-frag.ll b/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-frag.ll index e3ec9b40c1683..b7e713c7224f4 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-frag.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/untagged-store-frag.ll @@ -1,7 +1,5 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG_ -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG_ ;; Hand-written to test untagged store handling on a simple case. Here's what ;; we're looking at in the IR: diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/use-known-value-at-early-mem-def-2.ll b/llvm/test/DebugInfo/assignment-tracking/X86/use-known-value-at-early-mem-def-2.ll index cbe9af2f7d818..ebab33f73c86b 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/use-known-value-at-early-mem-def-2.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/use-known-value-at-early-mem-def-2.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG_VALUE - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG_VALUE - ;; Check that sandwiching instructions between a linked store and dbg.assign ;; results in a dbg.value(prev_value) being inserted at the store, and a ;; dbg.value(deref) at the dbg.assign. diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/use-known-value-at-early-mem-def.ll b/llvm/test/DebugInfo/assignment-tracking/X86/use-known-value-at-early-mem-def.ll index 135123ef86066..d85784f1b56c9 100644 --- a/llvm/test/DebugInfo/assignment-tracking/X86/use-known-value-at-early-mem-def.ll +++ b/llvm/test/DebugInfo/assignment-tracking/X86/use-known-value-at-early-mem-def.ll @@ -1,10 +1,6 @@ ; RUN: llc %s -stop-after=finalize-isel -o - \ ; RUN: | FileCheck %s --implicit-check-not=DBG_VALUE - -; RUN: llc --try-experimental-debuginfo-iterators %s -stop-after=finalize-isel -o - \ -; RUN: | FileCheck %s --implicit-check-not=DBG_VALUE - ;; Check that sandwiching instructions between a linked store and dbg.assign ;; results in a dbg.value(prev_value) being inserted at the store, and a ;; dbg.value(deref) at the dbg.assign. diff --git a/llvm/test/DebugInfo/duplicate_dbgvalue.ll b/llvm/test/DebugInfo/duplicate_dbgvalue.ll index 6f5e3db710562..8fb3eeb74e012 100644 --- a/llvm/test/DebugInfo/duplicate_dbgvalue.ll +++ b/llvm/test/DebugInfo/duplicate_dbgvalue.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=instcombine -S -o - < %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=instcombine -S -o - < %s | FileCheck %s ; CHECK-LABEL: %3 = load i32, ptr %i1_311 ; CHECK: #dbg_value(i32 %3 diff --git a/llvm/test/DebugInfo/instcombine-sink-latest-assignment.ll b/llvm/test/DebugInfo/instcombine-sink-latest-assignment.ll index 4b304496f2eff..ebac270d9eb3f 100644 --- a/llvm/test/DebugInfo/instcombine-sink-latest-assignment.ll +++ b/llvm/test/DebugInfo/instcombine-sink-latest-assignment.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -o - -S --passes=instcombine | FileCheck %s -; RUN: opt %s -o - -S --passes=instcombine --try-experimental-debuginfo-iterators | FileCheck %s ; ; CHECK-LABEL: for.body: ; CHECK-NEXT: %sub.ptr.rhs.cast.i.i = ptrtoint ptr %call2.i.i to i64, diff --git a/llvm/test/DebugInfo/roundtrip-non-instruction-debug-info.ll b/llvm/test/DebugInfo/roundtrip-non-instruction-debug-info.ll index b154a4ff162d5..32b37fa98f2f1 100644 --- a/llvm/test/DebugInfo/roundtrip-non-instruction-debug-info.ll +++ b/llvm/test/DebugInfo/roundtrip-non-instruction-debug-info.ll @@ -13,9 +13,9 @@ ;; Test also that the new flag is independent of the flag that enables use of ;; these non-instruction debug info during LLVM passes. -; RUN: opt --passes=verify -S --try-experimental-debuginfo-iterators --write-experimental-debuginfo=false < %s \ +; RUN: opt --passes=verify -S --experimental-debuginfo-iterators --write-experimental-debuginfo=false < %s \ ; RUN: | FileCheck %s --check-prefixes=CHECK,OLDDBG --implicit-check-not=llvm.dbg --implicit-check-not=#dbg -; RUN: opt --passes=verify -S --try-experimental-debuginfo-iterators --write-experimental-debuginfo=true < %s \ +; RUN: opt --passes=verify -S --experimental-debuginfo-iterators --write-experimental-debuginfo=true < %s \ ; RUN: | FileCheck %s --check-prefixes=CHECK,NEWDBG --implicit-check-not=llvm.dbg --implicit-check-not=#dbg ;; Test that the preserving flag overrides the write flag. @@ -99,4 +99,4 @@ declare void @llvm.dbg.label(metadata) !32 = !DILocation(line: 3, column: 25, scope: !7) !33 = !DILocation(line: 3, column: 30, scope: !7) !40 = distinct !DIAssignID() -!50 = !DILabel(scope: !7, name: "label", file: !1, line: 3) \ No newline at end of file +!50 = !DILabel(scope: !7, name: "label", file: !1, line: 3) diff --git a/llvm/test/DebugInfo/salvage-gep.ll b/llvm/test/DebugInfo/salvage-gep.ll index 5973fc4f6c093..17a6b71ad7551 100644 --- a/llvm/test/DebugInfo/salvage-gep.ll +++ b/llvm/test/DebugInfo/salvage-gep.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes=dce -S | FileCheck %s -; RUN: opt %s -passes=dce -S --try-experimental-debuginfo-iterators | FileCheck %s ; Tests the salvaging of GEP instructions, specifically struct indexing, ; non-constant array indexing, and non-constant array indexing into an array of diff --git a/llvm/test/DebugInfo/salvage-limit-expr-size.ll b/llvm/test/DebugInfo/salvage-limit-expr-size.ll index 0ca7fc9175d6c..6e1240aa3f99f 100644 --- a/llvm/test/DebugInfo/salvage-limit-expr-size.ll +++ b/llvm/test/DebugInfo/salvage-limit-expr-size.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes=dce -S | FileCheck %s -; RUN: opt %s -passes=dce -S --try-experimental-debuginfo-iterators | FileCheck %s ;; Tests that a DIExpression will only be salvaged up to a certain length, and ;; will produce an undef value if an expression would need to exceed that length. diff --git a/llvm/test/DebugInfo/salvage-overflow.ll b/llvm/test/DebugInfo/salvage-overflow.ll index 1c14d4b1d2059..eff7514f82f60 100644 --- a/llvm/test/DebugInfo/salvage-overflow.ll +++ b/llvm/test/DebugInfo/salvage-overflow.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes='sroa,early-cse' -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators %s -passes='sroa,early-cse' -S | FileCheck %s ; CHECK: DIExpression(DW_OP_constu, 9223372036854775808, DW_OP_minus, DW_OP_stack_value) ; Created from the following C input (and then delta-reduced the IR): ; diff --git a/llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll b/llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll index 451ab9ee184a3..f4f5e66549fe1 100644 --- a/llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll +++ b/llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll @@ -5,8 +5,6 @@ ; RUN: opt < %s -passes=hwasan -hwasan-mapping-offset-dynamic=ifunc -hwasan-with-frame-record=0 -S | FileCheck %s --check-prefixes=DYNAMIC-SHADOW ; RUN: opt < %s -passes=hwasan -hwasan-mapping-offset=0 -hwasan-with-frame-record=0 -S | FileCheck %s --check-prefixes=ZERO-BASED-SHADOW -; RUN: opt < %s -passes=hwasan -hwasan-mapping-offset-dynamic=ifunc -hwasan-with-frame-record=0 -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=DYNAMIC-SHADOW -; RUN: opt < %s -passes=hwasan -hwasan-mapping-offset=0 -hwasan-with-frame-record=0 -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=ZERO-BASED-SHADOW target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" target triple = "aarch64--linux-android10000" diff --git a/llvm/test/Instrumentation/HWAddressSanitizer/dbg-assign-tag-offset.ll b/llvm/test/Instrumentation/HWAddressSanitizer/dbg-assign-tag-offset.ll index f2eae934cbb50..d07532f88c00a 100644 --- a/llvm/test/Instrumentation/HWAddressSanitizer/dbg-assign-tag-offset.ll +++ b/llvm/test/Instrumentation/HWAddressSanitizer/dbg-assign-tag-offset.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=hwasan -S -o - %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=hwasan -S -o - %s | FileCheck %s source_filename = "test.ll" target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" diff --git a/llvm/test/Instrumentation/HWAddressSanitizer/dbg-declare-tag-offset.ll b/llvm/test/Instrumentation/HWAddressSanitizer/dbg-declare-tag-offset.ll index 817673dd928b0..626de0b5c7a08 100644 --- a/llvm/test/Instrumentation/HWAddressSanitizer/dbg-declare-tag-offset.ll +++ b/llvm/test/Instrumentation/HWAddressSanitizer/dbg-declare-tag-offset.ll @@ -1,10 +1,5 @@ ; RUN: opt -passes=hwasan -S -o - %s | FileCheck %s -;; Also test with RemoveDIs to verify that debug intrinsics immediately -;; preceding an alloca (or other instruction of interest to stack tagging) will -;; be correctly processed. -; RUN: opt --try-experimental-debuginfo-iterators -passes=hwasan -S -o - %s | FileCheck %s - target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" target triple = "aarch64--linux-android" diff --git a/llvm/test/LTO/X86/pr38046.ll b/llvm/test/LTO/X86/pr38046.ll index ddcc0f42cf231..8f04190f0c83f 100644 --- a/llvm/test/LTO/X86/pr38046.ll +++ b/llvm/test/LTO/X86/pr38046.ll @@ -5,14 +5,6 @@ ; RUN: llvm-dis %t.lto.o.0.2.internalize.bc >/dev/null 2>%t.dis.stderr || true ; RUN: FileCheck -allow-empty %s < %t.dis.stderr -;; Re-run with "new" debug-info mode to ensure the variable location information -;; is handled gracefully. -; RUN: llvm-lto2 run -save-temps -o %t.lto.o %t.o \ -; RUN: -r=%t.o,foo,plx \ -; RUN: -r=%t.o,get,pl --try-experimental-debuginfo-iterators -; RUN: llvm-dis %t.lto.o.0.2.internalize.bc >/dev/null 2>%t.dis.stderr || true -; RUN: FileCheck -allow-empty %s < %t.dis.stderr - ; CHECK-NOT: Global is external, but doesn't have external or weak linkage target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Linker/debug-info-use-before-def.ll b/llvm/test/Linker/debug-info-use-before-def.ll index c288589459107..9f1ad7afc7266 100644 --- a/llvm/test/Linker/debug-info-use-before-def.ll +++ b/llvm/test/Linker/debug-info-use-before-def.ll @@ -1,5 +1,4 @@ ; RUN: llvm-link -S %s | FileCheck %s -; RUN: llvm-link -S %s --try-experimental-debuginfo-iterators | FileCheck %s ; Test that when a debug metadata use-before-def is run through llvm-link, the ; value reference is preserved. Tests both singular uses and DIArgList uses of diff --git a/llvm/test/Linker/thinlto_funcimport_debug.ll b/llvm/test/Linker/thinlto_funcimport_debug.ll index 5a69fc6492b24..294b3a773ef51 100644 --- a/llvm/test/Linker/thinlto_funcimport_debug.ll +++ b/llvm/test/Linker/thinlto_funcimport_debug.ll @@ -6,10 +6,6 @@ ; If we import func1 and not func2 we should only link DISubprogram for func1 ; RUN: llvm-link %t2.bc -summary-index=%t3.thinlto.bc -import=func1:%t.bc -S | FileCheck %s -;; Repeat runlines using "new" debuginfo iterators mode. -; RUN: llvm-lto -thinlto -o %t3 %t.bc %t2.bc --try-experimental-debuginfo-iterators -; RUN: llvm-link %t2.bc -summary-index=%t3.thinlto.bc -import=func1:%t.bc -S --try-experimental-debuginfo-iterators | FileCheck %s - ; CHECK: declare i32 @func2 ; CHECK: define available_externally i32 @func1 diff --git a/llvm/test/ThinLTO/X86/crash_debuginfo.ll b/llvm/test/ThinLTO/X86/crash_debuginfo.ll index 1377942e566df..9e6f9aa2292f2 100644 --- a/llvm/test/ThinLTO/X86/crash_debuginfo.ll +++ b/llvm/test/ThinLTO/X86/crash_debuginfo.ll @@ -4,9 +4,6 @@ ; RUN: opt -passes=function-import,inline -summary-file %t-index.thinlto.bc %t-dst.bc -o %t.out ; RUN: llvm-nm -U %t.out | FileCheck %s --implicit-check-not=_bar -; Ensure we can do the same thing in RemoveDIs mode. -; RUN: opt -passes=function-import,inline -summary-file %t-index.thinlto.bc %t-dst.bc -o %t.out --try-experimental-debuginfo-iterators - ; Verify that we import bar and inline it. It use to crash importing due to ODR type uniquing ; CHECK: _foo diff --git a/llvm/test/ThinLTO/X86/debuginfo-cu-import.ll b/llvm/test/ThinLTO/X86/debuginfo-cu-import.ll index 56269f8f84854..850ef09b1c2f0 100644 --- a/llvm/test/ThinLTO/X86/debuginfo-cu-import.ll +++ b/llvm/test/ThinLTO/X86/debuginfo-cu-import.ll @@ -13,10 +13,6 @@ ; CHECK-NOT: DICompileUnit{{.*}} globals: ; CHECK-NOT: DICompileUnit{{.*}} imports: -;; Repeat test in RemoveDIs debug-info mode to check that bitcode is loaded and -;; converted correctly. -; RUN: llvm-lto -thinlto-action=import %t2.bc -thinlto-index=%t.index.bc -o - --try-experimental-debuginfo-iterators | llvm-dis -o - | FileCheck %s - ; ModuleID = 'debuginfo-cu-import.c' source_filename = "debuginfo-cu-import.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/ThinLTO/X86/pr35472.ll b/llvm/test/ThinLTO/X86/pr35472.ll index f214c607f3d28..f7b19e8ba7969 100644 --- a/llvm/test/ThinLTO/X86/pr35472.ll +++ b/llvm/test/ThinLTO/X86/pr35472.ll @@ -9,12 +9,6 @@ ; RUN: llvm-nm %t1.bc.thinlto.o | FileCheck %s -check-prefix=ThinLTOa ; RUN: llvm-nm %t2.bc.thinlto.o | FileCheck %s -check-prefix=ThinLTOb -;; Re-run with "new" debug-info mode, checking that we load / convert / emit -;; the dbg.declares below correctly. -; RUN: llvm-lto -thinlto-action=run %t1.bc %t2.bc -exported-symbol=_Z5Alphav --try-experimental-debuginfo-iterators -; RUN: llvm-nm %t1.bc.thinlto.o | FileCheck %s -check-prefix=ThinLTOa -; RUN: llvm-nm %t2.bc.thinlto.o | FileCheck %s -check-prefix=ThinLTOb - ; ThinLTOa-DAG: T _Z5Bravov ; ThinLTOa-DAG: W _ZN4EchoD2Ev ; ThinLTOb-DAG: T _Z5Alphav diff --git a/llvm/test/Transforms/ADCE/adce-salvage-dbg-value.ll b/llvm/test/Transforms/ADCE/adce-salvage-dbg-value.ll index 97156e957d7fd..5872d8c06851c 100644 --- a/llvm/test/Transforms/ADCE/adce-salvage-dbg-value.ll +++ b/llvm/test/Transforms/ADCE/adce-salvage-dbg-value.ll @@ -1,6 +1,5 @@ ;; Check that adce salvages debug info properly. ; RUN: opt -passes=adce -S < %s | FileCheck %s -; RUN: opt -passes=adce -S < %s --try-experimental-debuginfo-iterators| FileCheck %s ; ModuleID = 'test.ll' source_filename = "test.ll" diff --git a/llvm/test/Transforms/ADCE/debug-info-intrinsic.ll b/llvm/test/Transforms/ADCE/debug-info-intrinsic.ll index 8ad76148820a3..0ac7debb8fe4e 100644 --- a/llvm/test/Transforms/ADCE/debug-info-intrinsic.ll +++ b/llvm/test/Transforms/ADCE/debug-info-intrinsic.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=adce -S < %s | FileCheck %s -; RUN: opt -passes=adce -S < %s --try-experimental-debuginfo-iterators | FileCheck %s ; Test that debug info intrinsics in dead scopes get eliminated by -adce. ; Generated with 'clang -g -S -emit-llvm | opt -passes=mem2reg -inline' at r262899 diff --git a/llvm/test/Transforms/ArgumentPromotion/pr27568.ll b/llvm/test/Transforms/ArgumentPromotion/pr27568.ll index cc25088edf52f..0e54c0099499e 100644 --- a/llvm/test/Transforms/ArgumentPromotion/pr27568.ll +++ b/llvm/test/Transforms/ArgumentPromotion/pr27568.ll @@ -1,7 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --scrub-attributes ; RUN: opt -S -passes=argpromotion < %s | FileCheck %s ; RUN: opt -S -passes=debugify -o /dev/null < %s -; RUN: opt -S -passes=debugify -o /dev/null < %s --try-experimental-debuginfo-iterators target triple = "x86_64-pc-windows-msvc" define internal void @callee(ptr) { diff --git a/llvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll b/llvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll index 590ff6bebf9b0..36ee0c7f7c578 100644 --- a/llvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll +++ b/llvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll @@ -2,10 +2,6 @@ ; RUN: opt -aa-pipeline=basic-aa -passes=attributor -attributor-manifest-internal -attributor-annotate-decl-cs -S < %s | FileCheck %s --check-prefixes=CHECK,TUNIT ; RUN: opt -aa-pipeline=basic-aa -passes=attributor-cgscc -attributor-manifest-internal -attributor-annotate-decl-cs -S < %s | FileCheck %s --check-prefixes=CHECK,CGSCC -;; Test with RemoveDIs debug-info mode to exercise a potential crash path. -; RUN: opt -aa-pipeline=basic-aa -passes=attributor -attributor-manifest-internal -attributor-annotate-decl-cs -S < %s --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=CHECK,TUNIT -; RUN: opt -aa-pipeline=basic-aa -passes=attributor-cgscc -attributor-manifest-internal -attributor-annotate-decl-cs -S < %s --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=CHECK,CGSCC - define void @f() { ; TUNIT-LABEL: define {{[^@]+}}@f() { ; TUNIT-NEXT: entry: diff --git a/llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll b/llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll index d6fcc6eaf458a..f095fbde578a6 100644 --- a/llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll +++ b/llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll @@ -2,8 +2,6 @@ ; RUN: opt -aa-pipeline=basic-aa -passes=attributor -attributor-manifest-internal -attributor-annotate-decl-cs -S < %s | FileCheck %s --check-prefixes=CHECK,TUNIT ; RUN: opt -aa-pipeline=basic-aa -passes=attributor-cgscc -attributor-manifest-internal -attributor-annotate-decl-cs -S < %s | FileCheck %s --check-prefixes=CHECK,CGSCC -; RUN: opt -aa-pipeline=basic-aa -passes=attributor -attributor-manifest-internal -attributor-annotate-decl-cs -S < %s --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=CHECK,TUNIT -; RUN: opt -aa-pipeline=basic-aa -passes=attributor-cgscc -attributor-manifest-internal -attributor-annotate-decl-cs -S < %s --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=CHECK,CGSCC ; Fix for PR33641. ArgumentPromotion removed the argument to bar but left the call to ; dbg.value which still used the removed argument. diff --git a/llvm/test/Transforms/BDCE/basic.ll b/llvm/test/Transforms/BDCE/basic.ll index 6127f1fdf688b..1948499d72e57 100644 --- a/llvm/test/Transforms/BDCE/basic.ll +++ b/llvm/test/Transforms/BDCE/basic.ll @@ -1,7 +1,6 @@ ; RUN: opt -S -passes='bdce,instsimplify' < %s | FileCheck %s ; RUN: opt -S -passes=instsimplify < %s | FileCheck %s -check-prefix=CHECK-IO ; RUN: opt -S -passes='debugify,bdce' < %s | FileCheck %s -check-prefix=DEBUGIFY -; RUN: opt -S -passes='debugify,bdce' < %s --try-experimental-debuginfo-iterators | FileCheck %s -check-prefix=DEBUGIFY target datalayout = "E-m:e-i64:64-n32:64" target triple = "powerpc64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/CallSiteSplitting/callsite-split-preserve-debug.ll b/llvm/test/Transforms/CallSiteSplitting/callsite-split-preserve-debug.ll index 74e3a513bc2f9..fcdc2d7c1c712 100644 --- a/llvm/test/Transforms/CallSiteSplitting/callsite-split-preserve-debug.ll +++ b/llvm/test/Transforms/CallSiteSplitting/callsite-split-preserve-debug.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=callsite-splitting -S < %s | FileCheck %s --implicit-check-not=dbg.value -; RUN: opt -passes=callsite-splitting -S < %s --try-experimental-debuginfo-iterators | FileCheck %s --implicit-check-not=dbg.value ;; Test that DebugLocs are preserved, and that dbg.values are duplicated. diff --git a/llvm/test/Transforms/CodeExtractor/LoopExtractor_alloca.ll b/llvm/test/Transforms/CodeExtractor/LoopExtractor_alloca.ll index 1026e393c9d26..ff1ed786cefc4 100644 --- a/llvm/test/Transforms/CodeExtractor/LoopExtractor_alloca.ll +++ b/llvm/test/Transforms/CodeExtractor/LoopExtractor_alloca.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=debugify,loop-simplify,loop-extract -S < %s | FileCheck %s -; RUN: opt -passes=debugify,loop-simplify,loop-extract -S < %s --try-experimental-debuginfo-iterators | FileCheck %s ; This tests 2 cases: ; 1. loop1 should be extracted into a function, without extracting %v1 alloca. diff --git a/llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll b/llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll index 6d19937e68c86..158182c835332 100644 --- a/llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll +++ b/llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes='require,function(codegenprepare)' -S < %s | FileCheck %s -; RUN: opt -passes='require,function(codegenprepare)' -S < %s --try-experimental-debuginfo-iterators | FileCheck %s ; The following target lines are needed for the test to exercise what it should. ; Without these lines, CodeGenPrepare does not try to sink the bitcasts. diff --git a/llvm/test/Transforms/CodeGenPrepare/X86/cttz-ctlz.ll b/llvm/test/Transforms/CodeGenPrepare/X86/cttz-ctlz.ll index 2c2923440bf7c..7c0225ffd5280 100644 --- a/llvm/test/Transforms/CodeGenPrepare/X86/cttz-ctlz.ll +++ b/llvm/test/Transforms/CodeGenPrepare/X86/cttz-ctlz.ll @@ -4,7 +4,6 @@ ; RUN: opt -S -passes="require,function(codegenprepare)" -mattr=+lzcnt < %s | FileCheck %s --check-prefix=FAST_LZ ; RUN: opt -S -enable-debugify -passes="require,function(codegenprepare)" < %s | FileCheck %s --check-prefix=DEBUGINFO -; RUN: opt -S -enable-debugify -passes="require,function(codegenprepare)" --try-experimental-debuginfo-iterators < %s | FileCheck %s --check-prefix=DEBUGINFO target triple = "x86_64-unknown-unknown" target datalayout = "e-n32:64" diff --git a/llvm/test/Transforms/CodeGenPrepare/X86/select.ll b/llvm/test/Transforms/CodeGenPrepare/X86/select.ll index 66fe2e9c65758..1dafde445a3e2 100644 --- a/llvm/test/Transforms/CodeGenPrepare/X86/select.ll +++ b/llvm/test/Transforms/CodeGenPrepare/X86/select.ll @@ -1,7 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt -passes='require,function(codegenprepare)' -S < %s | FileCheck %s ; RUN: opt -enable-debugify -passes='require,function(codegenprepare)' -S < %s | FileCheck %s -check-prefix=DEBUG -; RUN: opt -enable-debugify -passes='require,function(codegenprepare)' -S < %s --try-experimental-debuginfo-iterators | FileCheck %s -check-prefix=DEBUG target triple = "x86_64-unknown-unknown" diff --git a/llvm/test/Transforms/CodeGenPrepare/debug-info-on-skipped-selects.ll b/llvm/test/Transforms/CodeGenPrepare/debug-info-on-skipped-selects.ll index 538719c58b9e0..db3c4b9d79f91 100644 --- a/llvm/test/Transforms/CodeGenPrepare/debug-info-on-skipped-selects.ll +++ b/llvm/test/Transforms/CodeGenPrepare/debug-info-on-skipped-selects.ll @@ -1,5 +1,4 @@ ; RUN: llc %s -stop-after=codegenprepare -o - | FileCheck %s -; RUN: llc %s -stop-after=codegenprepare -o - --try-experimental-debuginfo-iterators | FileCheck %s ; REQUIRES: x86-registered-target ; ; Test that when we skip over multiple selects in CGP, that the debug-info diff --git a/llvm/test/Transforms/CodeGenPrepare/sink-shift-and-trunc.ll b/llvm/test/Transforms/CodeGenPrepare/sink-shift-and-trunc.ll index 2e820165e17a0..bd69d878c5869 100644 --- a/llvm/test/Transforms/CodeGenPrepare/sink-shift-and-trunc.ll +++ b/llvm/test/Transforms/CodeGenPrepare/sink-shift-and-trunc.ll @@ -1,6 +1,5 @@ ; REQUIRES: aarch64-registered-target ; RUN: opt < %s -codegenprepare -mtriple=arm64-apple-ios -S | FileCheck %s -; RUN: opt < %s -codegenprepare -mtriple=arm64-apple-ios -S --try-experimental-debuginfo-iterators | FileCheck %s @first_ones = external global [65536 x i8] diff --git a/llvm/test/Transforms/Coroutines/coro-debug-O2.ll b/llvm/test/Transforms/Coroutines/coro-debug-O2.ll index 588f47959cc5d..cc1dbcd1c80fd 100644 --- a/llvm/test/Transforms/Coroutines/coro-debug-O2.ll +++ b/llvm/test/Transforms/Coroutines/coro-debug-O2.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes='module(coro-early),cgscc(coro-split),function(sroa)' -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes='module(coro-early),cgscc(coro-split),function(sroa)' -S | FileCheck %s ; Checks the dbg informations about promise and coroutine frames under O2. diff --git a/llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll b/llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll index 1d668fd0222f7..df4f356fb6954 100644 --- a/llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll +++ b/llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes='module(coro-early),cgscc(coro-split,coro-split)' -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes='module(coro-early),cgscc(coro-split,coro-split)' -S | FileCheck %s ; Checks whether the dbg.declare for `__coro_frame` are created. diff --git a/llvm/test/Transforms/Coroutines/coro-debug-dbg.values-not_used_in_frame.ll b/llvm/test/Transforms/Coroutines/coro-debug-dbg.values-not_used_in_frame.ll index 8375193548e66..4da07c91eb486 100644 --- a/llvm/test/Transforms/Coroutines/coro-debug-dbg.values-not_used_in_frame.ll +++ b/llvm/test/Transforms/Coroutines/coro-debug-dbg.values-not_used_in_frame.ll @@ -1,6 +1,5 @@ ; Tests whether resume function would remain dbg.value infomation if corresponding values are not used in the frame. ; RUN: opt < %s -passes='module(coro-early),cgscc(coro-split,coro-split)' -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes='module(coro-early),cgscc(coro-split,coro-split)' -S | FileCheck %s ; ; This file is based on coro-debug-frame-variable.ll. ; CHECK: define internal fastcc void @f.resume(ptr noundef nonnull align 16 dereferenceable(80) %begin) !dbg ![[RESUME_FN_DBG_NUM:[0-9]+]] diff --git a/llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll b/llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll index 28f5841bb20af..28592cc671062 100644 --- a/llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll +++ b/llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll @@ -1,6 +1,5 @@ ; Tests whether resume function would remain dbg.value infomation. ; RUN: opt < %s -passes='module(coro-early),cgscc(coro-split,coro-split)' -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes='module(coro-early),cgscc(coro-split,coro-split)' -S | FileCheck %s ; ; This file is based on coro-debug-frame-variable.ll. ; CHECK-LABEL: define void @f( diff --git a/llvm/test/Transforms/Coroutines/coro-debug-frame-variable-inlined.ll b/llvm/test/Transforms/Coroutines/coro-debug-frame-variable-inlined.ll index ff070d9b02acc..fd8c51b88cdae 100644 --- a/llvm/test/Transforms/Coroutines/coro-debug-frame-variable-inlined.ll +++ b/llvm/test/Transforms/Coroutines/coro-debug-frame-variable-inlined.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes='module(coro-early),cgscc(inline,coro-split)' -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes='module(coro-early),cgscc(inline,coro-split)' -S | FileCheck %s ; Simplified version from pr#75104. ; Make sure we do not update debug location for hosited dbg.declare intrinsics when optimizing coro frame. diff --git a/llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll b/llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll index 93b22081cf12f..a3c62b2dd12e1 100644 --- a/llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll +++ b/llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes='default' -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes='default' -S | FileCheck %s ; Define a function 'f' that resembles the Clang frontend's output for the ; following C++ coroutine: diff --git a/llvm/test/Transforms/Coroutines/coro-debug-spill-dbg.declare.ll b/llvm/test/Transforms/Coroutines/coro-debug-spill-dbg.declare.ll index 53dfb487fd1d8..59a4b5b2dfbc8 100644 --- a/llvm/test/Transforms/Coroutines/coro-debug-spill-dbg.declare.ll +++ b/llvm/test/Transforms/Coroutines/coro-debug-spill-dbg.declare.ll @@ -1,7 +1,6 @@ ; Test spilling a temp generates dbg.declare in resume/destroy/cleanup functions. ; ; RUN: opt < %s -passes='cgscc(coro-split)' -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes='cgscc(coro-split)' -S | FileCheck %s ; ; The test case simulates a coroutine method in a class. ; diff --git a/llvm/test/Transforms/Coroutines/coro-debug.ll b/llvm/test/Transforms/Coroutines/coro-debug.ll index 1d8f245d8b7eb..3a4eeddbe6198 100644 --- a/llvm/test/Transforms/Coroutines/coro-debug.ll +++ b/llvm/test/Transforms/Coroutines/coro-debug.ll @@ -1,6 +1,5 @@ ; Tests that debug information is sane after coro-split ; RUN: opt < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -S | FileCheck %s source_filename = "simple-repro.c" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/Coroutines/coro-split-dbg.ll b/llvm/test/Transforms/Coroutines/coro-split-dbg.ll index 7d95be308a5f4..184d4a564ab72 100644 --- a/llvm/test/Transforms/Coroutines/coro-split-dbg.ll +++ b/llvm/test/Transforms/Coroutines/coro-split-dbg.ll @@ -1,7 +1,6 @@ ; Make sure that coro-split correctly deals with debug information. ; The test here is simply that it does not result in bad IR that will crash opt. ; RUN: opt < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -disable-output -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -disable-output source_filename = "coro.c" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/Coroutines/swift-async-dbg.ll b/llvm/test/Transforms/Coroutines/swift-async-dbg.ll index c0b7247ff49ad..5090274ea3ad4 100644 --- a/llvm/test/Transforms/Coroutines/swift-async-dbg.ll +++ b/llvm/test/Transforms/Coroutines/swift-async-dbg.ll @@ -3,12 +3,6 @@ ; RUN: opt -mtriple='i386-' %s -S -passes='module(coro-early),cgscc(coro-split,simplifycfg)' -o - | FileCheck %s --check-prefix=NOENTRY ; RUN: opt -mtriple='armv7-' %s -S -passes='module(coro-early),cgscc(coro-split,simplifycfg)' -o - | FileCheck %s --check-prefix=NOENTRY -;; Replicate those tests with non-instruction debug markers. -; RUN: opt --try-experimental-debuginfo-iterators -mtriple='arm64-' %s -S -passes='module(coro-early),cgscc(coro-split,simplifycfg)' -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -mtriple='x86_64' %s -S -passes='module(coro-early),cgscc(coro-split,simplifycfg)' -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -mtriple='i386-' %s -S -passes='module(coro-early),cgscc(coro-split,simplifycfg)' -o - | FileCheck %s --check-prefix=NOENTRY -; RUN: opt --try-experimental-debuginfo-iterators -mtriple='armv7-' %s -S -passes='module(coro-early),cgscc(coro-split,simplifycfg)' -o - | FileCheck %s --check-prefix=NOENTRY - ; NOENTRY-NOT: OP_llvm_entry_value target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" diff --git a/llvm/test/Transforms/DCE/basic.ll b/llvm/test/Transforms/DCE/basic.ll index af34a1d473559..134994aff390e 100644 --- a/llvm/test/Transforms/DCE/basic.ll +++ b/llvm/test/Transforms/DCE/basic.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes='module(debugify),function(dce)' -S < %s | FileCheck %s -; RUN: opt -passes='module(debugify),function(dce)' -S < %s --try-experimental-debuginfo-iterators | FileCheck %s ; CHECK-LABEL: @test define void @test() { diff --git a/llvm/test/Transforms/DCE/dbg-value-removal.ll b/llvm/test/Transforms/DCE/dbg-value-removal.ll index 556a25a23f5cb..724ad7ba3a092 100644 --- a/llvm/test/Transforms/DCE/dbg-value-removal.ll +++ b/llvm/test/Transforms/DCE/dbg-value-removal.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -S -passes=redundant-dbg-inst-elim | FileCheck %s -; RUN: opt < %s -S -passes=redundant-dbg-inst-elim --try-experimental-debuginfo-iterators | FileCheck %s ; All dbg.value with location "!dbg !19" are redundant in the input. ; FIXME: We do not handle non-overlapping/overlapping fragments perfectly yet. diff --git a/llvm/test/Transforms/DeadStoreElimination/debuginfo.ll b/llvm/test/Transforms/DeadStoreElimination/debuginfo.ll index f316277bb927c..bac14ba483cd1 100644 --- a/llvm/test/Transforms/DeadStoreElimination/debuginfo.ll +++ b/llvm/test/Transforms/DeadStoreElimination/debuginfo.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=debugify,dse -S | FileCheck %s -; RUN: opt < %s -passes=debugify,dse -S --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" diff --git a/llvm/test/Transforms/GlobalOpt/shrink-global-to-bool-check-debug.ll b/llvm/test/Transforms/GlobalOpt/shrink-global-to-bool-check-debug.ll index 00fe58800e9b4..46f5be72fd0ca 100644 --- a/llvm/test/Transforms/GlobalOpt/shrink-global-to-bool-check-debug.ll +++ b/llvm/test/Transforms/GlobalOpt/shrink-global-to-bool-check-debug.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -passes=debugify,globalopt -f %s | FileCheck %s -; RUN: opt -S -passes=debugify,globalopt -f %s --try-experimental-debuginfo-iterators | FileCheck %s @foo = internal global i32 0, align 4 diff --git a/llvm/test/Transforms/HotColdSplit/invalid-dbg-assign.ll b/llvm/test/Transforms/HotColdSplit/invalid-dbg-assign.ll index 74a096019c664..3163fc7071e97 100644 --- a/llvm/test/Transforms/HotColdSplit/invalid-dbg-assign.ll +++ b/llvm/test/Transforms/HotColdSplit/invalid-dbg-assign.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=hotcoldsplit -hotcoldsplit-threshold=-1 -S %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=hotcoldsplit -hotcoldsplit-threshold=-1 -S %s | FileCheck %s declare void @llvm.dbg.assign(metadata, metadata, metadata, metadata, metadata, metadata) ; CHECK: define void @foo diff --git a/llvm/test/Transforms/IROutliner/gvn-phi-debug.ll b/llvm/test/Transforms/IROutliner/gvn-phi-debug.ll index 217a8498ffbb3..951466c359403 100644 --- a/llvm/test/Transforms/IROutliner/gvn-phi-debug.ll +++ b/llvm/test/Transforms/IROutliner/gvn-phi-debug.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4 ; RUN: opt -S -passes=verify,iroutliner -ir-outlining-no-cost < %s | FileCheck %s -; RUN: opt -S -passes=verify,iroutliner -ir-outlining-no-cost < %s --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64" target triple = "thumbv7-none-linux-android19" diff --git a/llvm/test/Transforms/IROutliner/legal-debug.ll b/llvm/test/Transforms/IROutliner/legal-debug.ll index 39bb3f509bac7..2e5f25bf756cf 100644 --- a/llvm/test/Transforms/IROutliner/legal-debug.ll +++ b/llvm/test/Transforms/IROutliner/legal-debug.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --include-generated-funcs ; RUN: opt -S -passes=verify,iroutliner -ir-outlining-no-cost < %s | FileCheck %s -; RUN: opt -S -passes=verify,iroutliner -ir-outlining-no-cost < %s --try-experimental-debuginfo-iterators | FileCheck %s ; This test checks that debug info is recognized as able to be extracted along ; with the other instructions, but is not included in the consolidated function. diff --git a/llvm/test/Transforms/Inline/alloca-dbgdeclare.ll b/llvm/test/Transforms/Inline/alloca-dbgdeclare.ll index e923d3df52e7c..e34cb1a9dc5ea 100644 --- a/llvm/test/Transforms/Inline/alloca-dbgdeclare.ll +++ b/llvm/test/Transforms/Inline/alloca-dbgdeclare.ll @@ -1,8 +1,6 @@ ; RUN: opt -passes=inline -S < %s | FileCheck %s ; RUN: opt -passes='cgscc(inline)' -S < %s | FileCheck %s -; RUN: opt -passes=inline -S < %s --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: opt -passes='cgscc(inline)' -S < %s --try-experimental-debuginfo-iterators | FileCheck %s ; struct A { ; int arg0; ; double arg1[2]; diff --git a/llvm/test/Transforms/Inline/delete-function-with-metadata-use.ll b/llvm/test/Transforms/Inline/delete-function-with-metadata-use.ll index 8399cd63847ed..8176135a5b538 100644 --- a/llvm/test/Transforms/Inline/delete-function-with-metadata-use.ll +++ b/llvm/test/Transforms/Inline/delete-function-with-metadata-use.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=inline < %s -S | FileCheck %s -; RUN: opt -passes=inline < %s -S --try-experimental-debuginfo-iterators | FileCheck %s ; CHECK: define {{.*}}@f1 ; CHECK-NOT: define diff --git a/llvm/test/Transforms/Inline/ignore-debug-info.ll b/llvm/test/Transforms/Inline/ignore-debug-info.ll index ff697b5c8ab32..7ccf7e86bac2a 100644 --- a/llvm/test/Transforms/Inline/ignore-debug-info.ll +++ b/llvm/test/Transforms/Inline/ignore-debug-info.ll @@ -3,9 +3,6 @@ ; RUN: opt < %s -S -passes='cgscc(inline)' -inline-threshold=2 | FileCheck %s ; RUN: opt < %s -S -strip-debug -passes='cgscc(inline)' -inline-threshold=2 | FileCheck %s ; -; RUN: opt < %s -S -passes=inline -inline-threshold=2 --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: opt < %s -S -passes='cgscc(inline)' -inline-threshold=2 --try-experimental-debuginfo-iterators | FileCheck %s -; ; The purpose of this test is to check that debug info doesn't influence ; inlining decisions. diff --git a/llvm/test/Transforms/Inline/inline-skip-use-empty-alloca.ll b/llvm/test/Transforms/Inline/inline-skip-use-empty-alloca.ll index ea298a4556f43..ba161040aac74 100644 --- a/llvm/test/Transforms/Inline/inline-skip-use-empty-alloca.ll +++ b/llvm/test/Transforms/Inline/inline-skip-use-empty-alloca.ll @@ -1,7 +1,6 @@ ; RUN: opt < %s -S -passes=inline | FileCheck %s ; RUN: opt < %s -S -strip-debug -passes=inline | FileCheck %s ; -; RUN: opt < %s -S -passes=inline --try-experimental-debuginfo-iterators | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=43291 ; The purpose of this test is to check if there is use_empty in the inner loop when scanning diff --git a/llvm/test/Transforms/Inline/local-as-metadata-undominated-use.ll b/llvm/test/Transforms/Inline/local-as-metadata-undominated-use.ll index 640e74cdcefbb..d08c2430d5ce2 100644 --- a/llvm/test/Transforms/Inline/local-as-metadata-undominated-use.ll +++ b/llvm/test/Transforms/Inline/local-as-metadata-undominated-use.ll @@ -1,7 +1,6 @@ ; RUN: opt -passes=inline -S < %s | FileCheck %s ; RUN: opt -passes='cgscc(inline)' -S < %s | FileCheck %s ; -; RUN: opt -passes=inline -S < %s --try-experimental-debuginfo-iterators | FileCheck %s ; Make sure the inliner doesn't crash when a metadata-bridged SSA operand is an ; undominated use. diff --git a/llvm/test/Transforms/Inline/no-inline-line-tables.ll b/llvm/test/Transforms/Inline/no-inline-line-tables.ll index 4aeb94da776e9..e298088d1fce5 100644 --- a/llvm/test/Transforms/Inline/no-inline-line-tables.ll +++ b/llvm/test/Transforms/Inline/no-inline-line-tables.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=inline -S | FileCheck %s -; RUN: opt < %s -passes=inline -S --try-experimental-debuginfo-iterators | FileCheck %s ; This tests that functions with the attribute `no-inline-line-tables` have the ; correct debug information when they are inlined. diff --git a/llvm/test/Transforms/InstCombine/assume.ll b/llvm/test/Transforms/InstCombine/assume.ll index 90fa9e680bb1e..17473a225ff95 100644 --- a/llvm/test/Transforms/InstCombine/assume.ll +++ b/llvm/test/Transforms/InstCombine/assume.ll @@ -2,8 +2,6 @@ ; RUN: opt < %s -passes=instcombine -S | FileCheck --check-prefixes=CHECK,DEFAULT %s ; RUN: opt < %s -passes=instcombine --enable-knowledge-retention -S | FileCheck --check-prefixes=CHECK,BUNDLES %s -; RUN: opt < %s -passes=instcombine -S --try-experimental-debuginfo-iterators | FileCheck --check-prefixes=CHECK,DEFAULT %s -; RUN: opt < %s -passes=instcombine --enable-knowledge-retention -S --try-experimental-debuginfo-iterators | FileCheck --check-prefixes=CHECK,BUNDLES %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/call-guard.ll b/llvm/test/Transforms/InstCombine/call-guard.ll index bc5f319e64f7f..4c2f80b2c729a 100644 --- a/llvm/test/Transforms/InstCombine/call-guard.ll +++ b/llvm/test/Transforms/InstCombine/call-guard.ll @@ -1,7 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; RUN: opt < %s -passes=instcombine -S -debugify-each | FileCheck %s -; RUN: opt < %s -passes=instcombine -S -debugify-each --try-experimental-debuginfo-iterators | FileCheck %s declare void @llvm.experimental.guard(i1, ...) diff --git a/llvm/test/Transforms/InstCombine/cast-mul-select.ll b/llvm/test/Transforms/InstCombine/cast-mul-select.ll index 7999aa5e8ae07..8aa768cbaede5 100644 --- a/llvm/test/Transforms/InstCombine/cast-mul-select.ll +++ b/llvm/test/Transforms/InstCombine/cast-mul-select.ll @@ -2,7 +2,6 @@ ; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; RUN: opt -passes=debugify,instcombine -S < %s | FileCheck %s -check-prefix DBGINFO -; RUN: opt -passes=debugify,instcombine -S < %s --try-experimental-debuginfo-iterators | FileCheck %s -check-prefix DBGINFO target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32" diff --git a/llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll b/llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll index 4462193ec421a..7cc4446f1038b 100644 --- a/llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll +++ b/llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=instcombine -S < %s | FileCheck %s -; RUN: opt -passes=instcombine -S < %s --try-experimental-debuginfo-iterators | FileCheck %s ; CHECK-LABEL: define {{.*}} @test5 define i16 @test5(i16 %A) !dbg !34 { diff --git a/llvm/test/Transforms/InstCombine/consecutive-fences.ll b/llvm/test/Transforms/InstCombine/consecutive-fences.ll index 2ba8ac46a43c7..b79a50b3ef2c7 100644 --- a/llvm/test/Transforms/InstCombine/consecutive-fences.ll +++ b/llvm/test/Transforms/InstCombine/consecutive-fences.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=instcombine -S %s | FileCheck %s -; RUN: opt -passes=instcombine -S %s --try-experimental-debuginfo-iterators | FileCheck %s ; Make sure we collapse the fences in this case diff --git a/llvm/test/Transforms/InstCombine/dbg-scalable-store-fixed-frag.ll b/llvm/test/Transforms/InstCombine/dbg-scalable-store-fixed-frag.ll index 6fa5beb680e7b..679a224b1a03e 100644 --- a/llvm/test/Transforms/InstCombine/dbg-scalable-store-fixed-frag.ll +++ b/llvm/test/Transforms/InstCombine/dbg-scalable-store-fixed-frag.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -passes='instcombine' -S | FileCheck %s -; RUN: opt < %s -passes='instcombine' -S --try-experimental-debuginfo-iterators | FileCheck %s define i32 @foo( %x) { diff --git a/llvm/test/Transforms/InstCombine/dbg-simplify-alloca-size.ll b/llvm/test/Transforms/InstCombine/dbg-simplify-alloca-size.ll index 343a679950e66..e9099f6635c53 100644 --- a/llvm/test/Transforms/InstCombine/dbg-simplify-alloca-size.ll +++ b/llvm/test/Transforms/InstCombine/dbg-simplify-alloca-size.ll @@ -1,5 +1,4 @@ ; RUN: opt -S --passes=instcombine %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S --passes=instcombine %s | FileCheck %s ; https://github.com/llvm/llvm-project/issues/56807 declare void @foo(ptr %pixels) diff --git a/llvm/test/Transforms/InstCombine/debuginfo-dce.ll b/llvm/test/Transforms/InstCombine/debuginfo-dce.ll index 5fcf26362a341..c1d7c30e936f2 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo-dce.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo-dce.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=instcombine %s -S -o - | FileCheck %s -; RUN: opt -passes=instcombine %s -S -o - --try-experimental-debuginfo-iterators | FileCheck %s ; Verify that the eliminated instructions (bitcast, gep, load) are salvaged into ; a DIExpression. ; diff --git a/llvm/test/Transforms/InstCombine/debuginfo-dce2.ll b/llvm/test/Transforms/InstCombine/debuginfo-dce2.ll index 87981ee5694d4..b56fbbed55147 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo-dce2.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo-dce2.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=instcombine -S %s -o - | FileCheck %s -; RUN: opt -passes=instcombine -S %s -o - --try-experimental-debuginfo-iterators | FileCheck %s ; In this example, the cast from ptr to ptr becomes trivially dead. We should ; salvage its debug info. diff --git a/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll b/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll index feea036519b85..b2e78f1eff002 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=instcombine -S < %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=instcombine -S < %s | FileCheck %s ; This test is defending against a TypeSize message raised in the method ; `valueCoversEntireFragment` in Local.cpp because of an implicit cast from diff --git a/llvm/test/Transforms/InstCombine/debuginfo-skip.ll b/llvm/test/Transforms/InstCombine/debuginfo-skip.ll index 9aebbabf4eb1a..a93e05ed15885 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo-skip.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo-skip.ll @@ -1,8 +1,6 @@ ; RUN: opt -instcombine-lower-dbg-declare=0 < %s -passes=instcombine -S | FileCheck %s ; RUN: opt -instcombine-lower-dbg-declare=1 < %s -passes=instcombine -S | FileCheck %s -; RUN: opt -instcombine-lower-dbg-declare=0 < %s -passes=instcombine -S --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: opt -instcombine-lower-dbg-declare=1 < %s -passes=instcombine -S --try-experimental-debuginfo-iterators | FileCheck %s define i32 @foo(i32 %j) #0 !dbg !7 { entry: diff --git a/llvm/test/Transforms/InstCombine/debuginfo-variables.ll b/llvm/test/Transforms/InstCombine/debuginfo-variables.ll index f25cf2782e095..61c385250064c 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo-variables.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo-variables.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=debugify,instcombine -S | FileCheck %s -; RUN: opt < %s -passes=debugify,instcombine -S --try-experimental-debuginfo-iterators | FileCheck %s declare void @escape32(i32) diff --git a/llvm/test/Transforms/InstCombine/debuginfo.ll b/llvm/test/Transforms/InstCombine/debuginfo.ll index ee2e2c24ea158..b7c794095db56 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo.ll @@ -2,10 +2,6 @@ ; RUN: | FileCheck %s --check-prefix=CHECK --check-prefix=NOLOWER ; RUN: opt < %s -passes=instcombine -instcombine-lower-dbg-declare=1 -S | FileCheck %s -; RUN: opt < %s -passes=instcombine -instcombine-lower-dbg-declare=0 -S --try-experimental-debuginfo-iterators \ -; RUN: | FileCheck %s --check-prefix=CHECK --check-prefix=NOLOWER -; RUN: opt < %s -passes=instcombine -instcombine-lower-dbg-declare=1 -S --try-experimental-debuginfo-iterators | FileCheck %s - target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64--linux" diff --git a/llvm/test/Transforms/InstCombine/debuginfo_add.ll b/llvm/test/Transforms/InstCombine/debuginfo_add.ll index 98ac6662547b9..7e7261d1e8662 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo_add.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo_add.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=instcombine %s -o - -S | FileCheck %s -; RUN: opt -passes=instcombine %s -o - -S --try-experimental-debuginfo-iterators | FileCheck %s ; typedef struct v *v_t; ; struct v { ; unsigned long long p; diff --git a/llvm/test/Transforms/InstCombine/double-float-shrink-2.ll b/llvm/test/Transforms/InstCombine/double-float-shrink-2.ll index 482f6978003e3..f2049e2813ebc 100644 --- a/llvm/test/Transforms/InstCombine/double-float-shrink-2.ll +++ b/llvm/test/Transforms/InstCombine/double-float-shrink-2.ll @@ -7,7 +7,6 @@ ; RUN: opt < %s -passes=instcombine -S -mtriple "x86_64-pc-mingw32" | FileCheck %s --check-prefixes=CHECK,DOUBLE-8BYTE-ALIGN ; RUN: opt < %s -passes=instcombine -S -mtriple "sparc-sun-solaris" | FileCheck %s --check-prefixes=CHECK,DOUBLE-8BYTE-ALIGN ; RUN: opt < %s -passes=instcombine -S -mtriple "x86_64-pc-win32" -enable-debugify 2>&1 | FileCheck --check-prefix=DBG-VALID %s -; RUN: opt < %s -passes=instcombine -S -mtriple "x86_64-pc-win32" -enable-debugify 2>&1 --try-experimental-debuginfo-iterators | FileCheck --check-prefix=DBG-VALID %s declare double @floor(double) declare double @ceil(double) diff --git a/llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll b/llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll index 27c6c5c305f94..7593fbcff1992 100644 --- a/llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll +++ b/llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -passes=instcombine %s | FileCheck %s -check-prefix=RUN-ONCE -; RUN: opt -S -passes=instcombine %s --try-experimental-debuginfo-iterators | FileCheck %s -check-prefix=RUN-ONCE ; This example was reduced from a test case in which InstCombine ran at least ; twice: diff --git a/llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll b/llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll index b729ec321876f..422e1796b2bed 100644 --- a/llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll +++ b/llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -passes=instcombine -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes=instcombine -S | FileCheck %s declare void @llvm.dbg.declare(metadata, metadata, metadata) declare void @llvm.lifetime.start.p0(i64, ptr nocapture) diff --git a/llvm/test/Transforms/InstCombine/lifetime.ll b/llvm/test/Transforms/InstCombine/lifetime.ll index 74b96d2c1005d..b94c9694d8f07 100644 --- a/llvm/test/Transforms/InstCombine/lifetime.ll +++ b/llvm/test/Transforms/InstCombine/lifetime.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -passes=instcombine -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes=instcombine -S | FileCheck %s declare void @llvm.dbg.declare(metadata, metadata, metadata) declare void @llvm.lifetime.start.p0(i64, ptr nocapture) diff --git a/llvm/test/Transforms/InstCombine/lower-dbg-declare.ll b/llvm/test/Transforms/InstCombine/lower-dbg-declare.ll index 4f7e44bd154f3..0072153f7ca4c 100644 --- a/llvm/test/Transforms/InstCombine/lower-dbg-declare.ll +++ b/llvm/test/Transforms/InstCombine/lower-dbg-declare.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=instcombine < %s -S | FileCheck %s -; RUN: opt -passes=instcombine < %s -S --try-experimental-debuginfo-iterators | FileCheck %s ; This tests dbg.declare lowering for CallInst users of an alloca. The ; resulting dbg.value expressions should add a deref to the declare's expression. diff --git a/llvm/test/Transforms/InstCombine/pr43893.ll b/llvm/test/Transforms/InstCombine/pr43893.ll index 32e742f5197d9..6c98c7760dc1b 100644 --- a/llvm/test/Transforms/InstCombine/pr43893.ll +++ b/llvm/test/Transforms/InstCombine/pr43893.ll @@ -1,6 +1,5 @@ ; Check for setting dbg.value as undef which depends on trivially dead instructions. ; RUN: opt -passes=instcombine -S -o - %s | FileCheck %s -; RUN: opt -passes=instcombine -S -o - %s --try-experimental-debuginfo-iterators | FileCheck %s @a = common dso_local global i8 0, align 1, !dbg !0 @b = common dso_local global i8 0, align 1, !dbg !6 diff --git a/llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll b/llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll index 6538810639842..e504fb1144b52 100644 --- a/llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll +++ b/llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=instcombine -S -o - %s | FileCheck %s -; RUN: opt -passes=instcombine -S -o - %s --try-experimental-debuginfo-iterators | FileCheck %s declare dso_local i32 @bar(ptr) diff --git a/llvm/test/Transforms/InstCombine/sink-instruction-introduces-unnecessary-poison-value.ll b/llvm/test/Transforms/InstCombine/sink-instruction-introduces-unnecessary-poison-value.ll index b48e5795b7181..1fb721213d971 100644 --- a/llvm/test/Transforms/InstCombine/sink-instruction-introduces-unnecessary-poison-value.ll +++ b/llvm/test/Transforms/InstCombine/sink-instruction-introduces-unnecessary-poison-value.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=instcombine -S -o - < %s | FileCheck %s -; RUN: opt -passes=instcombine -S -o - < %s --try-experimental-debuginfo-iterators | FileCheck %s ; When the 'int Four = Two;' is sunk into the 'case 0:' block, ; the debug value for 'Three' is set incorrectly to 'poison'. diff --git a/llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll b/llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll index 1f98cdbf97b46..db36baa6a2413 100644 --- a/llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll +++ b/llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll @@ -2,7 +2,6 @@ ; dbg.value intrinsics should not affect peephole combining of stacksave/stackrestore. ; PR37713 ; RUN: opt -passes=instcombine %s -S | FileCheck %s -; RUN: opt -passes=instcombine %s -S --try-experimental-debuginfo-iterators | FileCheck %s declare ptr @llvm.stacksave() #0 declare void @llvm.stackrestore(ptr) #0 diff --git a/llvm/test/Transforms/InstCombine/storemerge-dbg.ll b/llvm/test/Transforms/InstCombine/storemerge-dbg.ll index f2bdf4493fbaf..bb1d616c312a3 100644 --- a/llvm/test/Transforms/InstCombine/storemerge-dbg.ll +++ b/llvm/test/Transforms/InstCombine/storemerge-dbg.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=debugify,instcombine -S | FileCheck %s -; RUN: opt < %s -passes=debugify,instcombine -S --try-experimental-debuginfo-iterators | FileCheck %s declare i32 @escape(i32) diff --git a/llvm/test/Transforms/InstCombine/unavailable-debug.ll b/llvm/test/Transforms/InstCombine/unavailable-debug.ll index bf17f1b7f40f1..ff12509c81153 100644 --- a/llvm/test/Transforms/InstCombine/unavailable-debug.ll +++ b/llvm/test/Transforms/InstCombine/unavailable-debug.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=instcombine -S | FileCheck %s -; RUN: opt < %s -passes=instcombine -S --try-experimental-debuginfo-iterators | FileCheck %s ; Make sure to update the debug value after dead code elimination. ; CHECK: %call = call signext i8 @b(i32 6), !dbg !39 diff --git a/llvm/test/Transforms/InstCombine/unreachable-dbg-info-modified.ll b/llvm/test/Transforms/InstCombine/unreachable-dbg-info-modified.ll index 7b88b46e22af2..c0fedc624eaef 100644 --- a/llvm/test/Transforms/InstCombine/unreachable-dbg-info-modified.ll +++ b/llvm/test/Transforms/InstCombine/unreachable-dbg-info-modified.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=instcombine -S | FileCheck %s -; RUN: opt < %s -passes=instcombine -S --try-experimental-debuginfo-iterators | FileCheck %s ; When removing the llvm.dbg.value intrinsic in the unreachable block ; InstCombine would incorrectly return a false Modified status. diff --git a/llvm/test/Transforms/JumpThreading/branch-debug-info.ll b/llvm/test/Transforms/JumpThreading/branch-debug-info.ll index 8eead1324cb69..ac2bf337fd860 100644 --- a/llvm/test/Transforms/JumpThreading/branch-debug-info.ll +++ b/llvm/test/Transforms/JumpThreading/branch-debug-info.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -passes=debugify,jump-threading < %s | FileCheck %s -; RUN: opt -S -passes=debugify,jump-threading < %s --try-experimental-debuginfo-iterators | FileCheck %s ; Tests Bug 37966 define void @test0(i32 %i) { diff --git a/llvm/test/Transforms/JumpThreading/guard-split-debuginfo.ll b/llvm/test/Transforms/JumpThreading/guard-split-debuginfo.ll index 8b06e37d9581a..cdc8b54b71aaa 100644 --- a/llvm/test/Transforms/JumpThreading/guard-split-debuginfo.ll +++ b/llvm/test/Transforms/JumpThreading/guard-split-debuginfo.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals ; RUN: opt -S -passes=jump-threading %s -o - -S | FileCheck %s -; RUN: opt -S -passes=jump-threading %s -o - -S --try-experimental-debuginfo-iterators | FileCheck %s ; Test that debug-info records in the Merge block, to be copied by ; DuplicateInstructionsInSplitBetween, get duplicated into the relevant diff --git a/llvm/test/Transforms/JumpThreading/redundant-dbg-info.ll b/llvm/test/Transforms/JumpThreading/redundant-dbg-info.ll index e392cdcd15fcd..48658125a6ba7 100644 --- a/llvm/test/Transforms/JumpThreading/redundant-dbg-info.ll +++ b/llvm/test/Transforms/JumpThreading/redundant-dbg-info.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=jump-threading -S < %s | FileCheck %s -; RUN: opt -passes=jump-threading -S < %s --try-experimental-debuginfo-iterators | FileCheck %s define dso_local i32 @_Z3fooi(i32 %a) !dbg !7 { entry: diff --git a/llvm/test/Transforms/JumpThreading/thread-debug-info.ll b/llvm/test/Transforms/JumpThreading/thread-debug-info.ll index 5a338593e5691..e665931aa9454 100644 --- a/llvm/test/Transforms/JumpThreading/thread-debug-info.ll +++ b/llvm/test/Transforms/JumpThreading/thread-debug-info.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -passes=jump-threading < %s | FileCheck %s -; RUN: opt -S -passes=jump-threading < %s --try-experimental-debuginfo-iterators | FileCheck %s @a = global i32 0, align 4 ; Test that the llvm.dbg.value calls in a threaded block are correctly updated to diff --git a/llvm/test/Transforms/LCSSA/avoid-intrinsics-in-catchswitch.ll b/llvm/test/Transforms/LCSSA/avoid-intrinsics-in-catchswitch.ll index 2dd9ceb26cbd5..fc0b59d182a0c 100644 --- a/llvm/test/Transforms/LCSSA/avoid-intrinsics-in-catchswitch.ll +++ b/llvm/test/Transforms/LCSSA/avoid-intrinsics-in-catchswitch.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes='debugify,function(loop-mssa(licm))' -S -o /dev/null -; RUN: opt < %s -passes='debugify,function(loop-mssa(licm))' -S -o /dev/null --try-experimental-debuginfo-iterators ; ; The following test is from https://bugs.llvm.org/show_bug.cgi?id=36238 ; This test should pass (not assert or fault). The error that originally diff --git a/llvm/test/Transforms/LCSSA/basictest.ll b/llvm/test/Transforms/LCSSA/basictest.ll index fd9f086cd1ca5..750a32e17186b 100644 --- a/llvm/test/Transforms/LCSSA/basictest.ll +++ b/llvm/test/Transforms/LCSSA/basictest.ll @@ -1,6 +1,5 @@ ; RUN: opt < %s -passes=lcssa -S | FileCheck %s ; RUN: opt < %s -passes=debugify,lcssa -S | FileCheck -check-prefix=DEBUGIFY %s -; RUN: opt < %s -passes=debugify,lcssa -S --try-experimental-debuginfo-iterators | FileCheck -check-prefix=DEBUGIFY %s define void @lcssa(i1 %S2) { ; CHECK-LABEL: @lcssa diff --git a/llvm/test/Transforms/LCSSA/rewrite-existing-dbg-values.ll b/llvm/test/Transforms/LCSSA/rewrite-existing-dbg-values.ll index 134cfb7322552..437e56665d53b 100644 --- a/llvm/test/Transforms/LCSSA/rewrite-existing-dbg-values.ll +++ b/llvm/test/Transforms/LCSSA/rewrite-existing-dbg-values.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -passes=lcssa < %s | FileCheck %s -; RUN: opt -S -passes=lcssa < %s --try-experimental-debuginfo-iterators | FileCheck %s ; Reproducer for PR39019. ; diff --git a/llvm/test/Transforms/LICM/dbg-value-sink.ll b/llvm/test/Transforms/LICM/dbg-value-sink.ll index 7865774b781b3..e402152ccea1f 100644 --- a/llvm/test/Transforms/LICM/dbg-value-sink.ll +++ b/llvm/test/Transforms/LICM/dbg-value-sink.ll @@ -1,8 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-attributes ; RUN: opt < %s -passes='loop-mssa(licm)' -S | FileCheck %s -; RUN: opt < %s -passes='loop-mssa(licm)' -S --try-experimental-debuginfo-iterators | FileCheck %s ; RUN: opt -aa-pipeline=tbaa,basic-aa -passes='require,require,require,require,loop-mssa(licm)' -S %s | FileCheck %s -; RUN: opt -aa-pipeline=tbaa,basic-aa -passes='require,require,require,require,loop-mssa(licm)' -S %s --try-experimental-debuginfo-iterators| FileCheck %s ; ; Test that when we sink the store into the "Out" block, it lands in front of ; the dbg.value that we've left there. diff --git a/llvm/test/Transforms/LICM/debug-value.ll b/llvm/test/Transforms/LICM/debug-value.ll index cbbfbe6c3beb8..c93cd852ab4b3 100644 --- a/llvm/test/Transforms/LICM/debug-value.ll +++ b/llvm/test/Transforms/LICM/debug-value.ll @@ -1,7 +1,6 @@ ; RUN: opt -passes=licm < %s -S | FileCheck %s ; RUN: opt -aa-pipeline=basic-aa -passes='require,require,require,require,loop-mssa(licm)' < %s -S | FileCheck %s -; RUN: opt -passes=licm < %s -S --try-experimental-debuginfo-iterators | FileCheck %s define void @dgefa(i1 %arg) nounwind ssp { entry: diff --git a/llvm/test/Transforms/LICM/hoist-debuginvariant.ll b/llvm/test/Transforms/LICM/hoist-debuginvariant.ll index 2a919d7a0c26d..e560ac4c55378 100644 --- a/llvm/test/Transforms/LICM/hoist-debuginvariant.ll +++ b/llvm/test/Transforms/LICM/hoist-debuginvariant.ll @@ -1,6 +1,5 @@ ; RUN: opt < %s -strip-debug -passes=licm -S | FileCheck %s ; RUN: opt < %s -passes=licm -verify-memoryssa -S | FileCheck %s -; RUN: opt < %s -passes=licm -verify-memoryssa -S --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/LICM/sinking-debugify.ll b/llvm/test/Transforms/LICM/sinking-debugify.ll index fdd24e597e74e..52537921db2a6 100644 --- a/llvm/test/Transforms/LICM/sinking-debugify.ll +++ b/llvm/test/Transforms/LICM/sinking-debugify.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -passes='debugify,function(loop-mssa(licm))' -S | FileCheck %s -; RUN: opt < %s -passes='debugify,function(loop-mssa(licm))' -S --try-experimental-debuginfo-iterators | FileCheck %s %Ty = type { i32, i32 } @X2 = external global %Ty diff --git a/llvm/test/Transforms/LoopDeletion/crashbc.ll b/llvm/test/Transforms/LoopDeletion/crashbc.ll index c230dcf62d2ba..6b4bb1417343c 100644 --- a/llvm/test/Transforms/LoopDeletion/crashbc.ll +++ b/llvm/test/Transforms/LoopDeletion/crashbc.ll @@ -1,6 +1,5 @@ ; Make sure we don't crash when writing bitcode. ; RUN: opt < %s -passes=loop-deletion -o /dev/null -; RUN: opt < %s -passes=loop-deletion -o /dev/null --try-experimental-debuginfo-iterators define void @f(i1 %arg) { br label %bb1 diff --git a/llvm/test/Transforms/LoopDeletion/diundef.ll b/llvm/test/Transforms/LoopDeletion/diundef.ll index d3dbf2aa77091..d4fb3275007f7 100644 --- a/llvm/test/Transforms/LoopDeletion/diundef.ll +++ b/llvm/test/Transforms/LoopDeletion/diundef.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes=loop-deletion -S | FileCheck %s --implicit-check-not=dbg.value -; RUN: opt %s -passes=loop-deletion -S --try-experimental-debuginfo-iterators | FileCheck %s --implicit-check-not=dbg.value target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.14.0" diff --git a/llvm/test/Transforms/LoopDeletion/over-defensive-undefing-dbg-values.ll b/llvm/test/Transforms/LoopDeletion/over-defensive-undefing-dbg-values.ll index 6b060a5b84064..4db3519c401a2 100644 --- a/llvm/test/Transforms/LoopDeletion/over-defensive-undefing-dbg-values.ll +++ b/llvm/test/Transforms/LoopDeletion/over-defensive-undefing-dbg-values.ll @@ -1,5 +1,4 @@ ; RUN: opt -S %s -passes=loop-deletion | FileCheck %s -; RUN: opt -S %s -passes=loop-deletion --try-experimental-debuginfo-iterators | FileCheck %s ;; static int foo(int Param) __attribute__((always_inline)); ;; static int foo(int Param) { return Param * Param * 2; } diff --git a/llvm/test/Transforms/LoopIdiom/X86/arithmetic-right-shift-until-zero.ll b/llvm/test/Transforms/LoopIdiom/X86/arithmetic-right-shift-until-zero.ll index 9de9f1568147a..079aa11c5b221 100644 --- a/llvm/test/Transforms/LoopIdiom/X86/arithmetic-right-shift-until-zero.ll +++ b/llvm/test/Transforms/LoopIdiom/X86/arithmetic-right-shift-until-zero.ll @@ -1,7 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt -passes=debugify,loop-idiom -mtriple=x86_64 -mcpu=corei7 < %s -S | FileCheck --check-prefixes=CHECK,NOLZCNT %s ; RUN: opt -passes=debugify,loop-idiom -mtriple=x86_64 -mcpu=core-avx2 < %s -S | FileCheck --check-prefixes=CHECK,LZCNT %s -; RUN: opt -passes=debugify,loop-idiom -mtriple=x86_64 -mcpu=corei7 < %s -S --try-experimental-debuginfo-iterators | FileCheck --check-prefixes=CHECK,NOLZCNT %s declare void @escape_inner(i8, i8, i8, i1, i8) declare void @escape_outer(i8, i8, i8, i1, i8) diff --git a/llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll b/llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll index cb144e740ea93..6216766f29b9f 100644 --- a/llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll +++ b/llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll @@ -1,7 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt -passes=debugify,loop-idiom -mtriple=x86_64 -mcpu=core-avx2 < %s -S | FileCheck --check-prefixes=ALL,LZCNT %s ; RUN: opt -passes=debugify,loop-idiom -mtriple=x86_64 -mcpu=corei7 < %s -S | FileCheck --check-prefixes=ALL,NOLZCNT %s -; RUN: opt -passes=debugify,loop-idiom -mtriple=x86_64 -mcpu=core-avx2 < %s -S --try-experimental-debuginfo-iterators | FileCheck --check-prefixes=ALL,LZCNT %s declare i32 @gen32() declare void @use32(i32) diff --git a/llvm/test/Transforms/LoopIdiom/X86/logical-right-shift-until-zero-debuginfo.ll b/llvm/test/Transforms/LoopIdiom/X86/logical-right-shift-until-zero-debuginfo.ll index 04946ce9b4f80..a25db1cb950d2 100644 --- a/llvm/test/Transforms/LoopIdiom/X86/logical-right-shift-until-zero-debuginfo.ll +++ b/llvm/test/Transforms/LoopIdiom/X86/logical-right-shift-until-zero-debuginfo.ll @@ -1,7 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt -passes=debugify,loop-idiom -mtriple=x86_64 -mcpu=corei7 < %s -S | FileCheck %s --check-prefixes=NOLZCNT ; RUN: opt -passes=debugify,loop-idiom -mtriple=x86_64 -mcpu=core-avx2 < %s -S | FileCheck %s --check-prefixes=LZCNT -; RUN: opt -passes=debugify,loop-idiom -mtriple=x86_64 -mcpu=corei7 < %s -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=NOLZCNT declare void @escape_inner(i8, i8, i8, i1, i8) declare void @escape_outer(i8, i8, i8, i1, i8) diff --git a/llvm/test/Transforms/LoopIdiom/memcpy-debugify-remarks.ll b/llvm/test/Transforms/LoopIdiom/memcpy-debugify-remarks.ll index a9f8af22bbc39..bc037e40d1dd4 100644 --- a/llvm/test/Transforms/LoopIdiom/memcpy-debugify-remarks.ll +++ b/llvm/test/Transforms/LoopIdiom/memcpy-debugify-remarks.ll @@ -2,9 +2,6 @@ ; RUN: opt -passes=debugify,loop-idiom,verify -pass-remarks=loop-idiom -pass-remarks-analysis=loop-idiom -pass-remarks-output=%t.yaml -verify-each -verify-dom-info -verify-loop-info < %s -S 2>&1 | FileCheck %s ; RUN: FileCheck --input-file=%t.yaml %s --check-prefixes=YAML -; RUN: opt -passes=debugify,loop-idiom,verify -pass-remarks=loop-idiom -pass-remarks-analysis=loop-idiom -pass-remarks-output=%t.yaml -verify-each -verify-dom-info -verify-loop-info < %s -S 2>&1 --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: FileCheck --input-file=%t.yaml %s --check-prefixes=YAML - target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/LoopIdiom/memset-debugify-remarks.ll b/llvm/test/Transforms/LoopIdiom/memset-debugify-remarks.ll index 95859c0b49f46..c116b473e74ee 100644 --- a/llvm/test/Transforms/LoopIdiom/memset-debugify-remarks.ll +++ b/llvm/test/Transforms/LoopIdiom/memset-debugify-remarks.ll @@ -2,9 +2,6 @@ ; RUN: opt -passes=debugify,loop-idiom,verify -pass-remarks=loop-idiom -pass-remarks-analysis=loop-idiom -pass-remarks-output=%t.yaml -verify-each -verify-dom-info -verify-loop-info < %s -S 2>&1 | FileCheck %s ; RUN: FileCheck --input-file=%t.yaml %s --check-prefixes=YAML -; RUN: opt -passes=debugify,loop-idiom,verify -pass-remarks=loop-idiom -pass-remarks-analysis=loop-idiom -pass-remarks-output=%t.yaml -verify-each -verify-dom-info -verify-loop-info < %s -S 2>&1 --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: FileCheck --input-file=%t.yaml %s --check-prefixes=YAML - target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/LoopRotate/dbgvalue.ll b/llvm/test/Transforms/LoopRotate/dbgvalue.ll index 026306a4637f0..9651aeb43057f 100644 --- a/llvm/test/Transforms/LoopRotate/dbgvalue.ll +++ b/llvm/test/Transforms/LoopRotate/dbgvalue.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -passes=loop-rotate -verify-memoryssa < %s | FileCheck %s --implicit-check-not=dbg.value -; RUN: opt -S -passes=loop-rotate -verify-memoryssa < %s --try-experimental-debuginfo-iterators | FileCheck %s --implicit-check-not=dbg.value declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone declare void @llvm.dbg.value(metadata, metadata, metadata) nounwind readnone diff --git a/llvm/test/Transforms/LoopRotate/delete-dbg-values.ll b/llvm/test/Transforms/LoopRotate/delete-dbg-values.ll index 909f9d8b182b7..ed6012b8a0795 100644 --- a/llvm/test/Transforms/LoopRotate/delete-dbg-values.ll +++ b/llvm/test/Transforms/LoopRotate/delete-dbg-values.ll @@ -1,5 +1,4 @@ ; RUN: opt --passes=loop-rotate -o - -S %s | FileCheck %s --implicit-check-not=dbg.value -; RUN: opt --passes=loop-rotate -o - -S %s --try-experimental-debuginfo-iterators | FileCheck %s --implicit-check-not=dbg.value ; ;; Test some fine-grained behaviour of loop-rotate's de-duplication of ;; dbg.values. The intrinsic on the first branch should be seen and diff --git a/llvm/test/Transforms/LoopStrengthReduce/X86/lsr-cond-dbg.ll b/llvm/test/Transforms/LoopStrengthReduce/X86/lsr-cond-dbg.ll index fb753c9536b1f..f784c10a0bd88 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/X86/lsr-cond-dbg.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/X86/lsr-cond-dbg.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -loop-reduce < %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -loop-reduce < %s | FileCheck %s ; During Loop Strength Reduce, if the terminating condition for the loop is not ; immediately adjacent to the terminating branch and it has more than one use, diff --git a/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll b/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll index 8ebee5e270e6d..83d12e4ea460b 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll @@ -1,5 +1,4 @@ ; RUN: opt -loop-reduce -S %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -loop-reduce -S %s | FileCheck %s ;; Test that LSR preserves debug-info for induction variables and scev-based ;; salvaging produces short DIExpressions that use a constant offset from the diff --git a/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-1.ll b/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-1.ll index c087a85a352f1..3a179dba7d61d 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-1.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-1.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -loop-reduce -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -loop-reduce -S | FileCheck %s ; ; Test that LSR avoids crashing on very large integer inputs. It should ; discard the variable location by creating an undef dbg.value. diff --git a/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll b/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll index 81cbe0cd7b949..e59da9fa774df 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -loop-reduce -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -loop-reduce -S | FileCheck %s ; Test that LSR does not produce invalid debug info when a debug value is ; salvaged during LSR by adding additional location operands, then becomes diff --git a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll index 30d8c33e29ec5..82f8b180953e4 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -loop-reduce %s -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -loop-reduce %s -o - | FileCheck %s ; REQUIRES: x86-registered-target ;; Ensure that we retain debuginfo for the induction variable and dependant diff --git a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll index d2e32d0b23aa2..4c690bc33a04d 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -loop-reduce %s -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -loop-reduce %s -o - | FileCheck %s ; REQUIRES: x86-registered-target ;; Ensure that we retain debuginfo for the induction variable and dependant diff --git a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll index 3ddb3851cd04e..966abddb12f18 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -loop-reduce %s -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -loop-reduce %s -o - | FileCheck %s ; REQUIRES: x86-registered-target ;; Ensure that we retain debuginfo for the induction variable and dependant diff --git a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll index b402d92ac1421..72938ddb57af5 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -loop-reduce %s -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -loop-reduce %s -o - | FileCheck %s ; REQUIRES: x86-registered-target ;; Ensure that we retain debuginfo for the induction variable and dependant diff --git a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll index d718270813620..7289a79b6f8f4 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -loop-reduce %s -o - | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -loop-reduce %s -o - | FileCheck %s ; REQUIRES: x86-registered-target ;; Ensure that we retain debuginfo for the induction variable and dependant diff --git a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll index a6a8d07006165..804e3752dc95e 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -loop-reduce %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -loop-reduce %s | FileCheck %s ; REQUIRES: x86-registered-target ;; Ensure that SCEV-based salvaging in Loop Strength Reduction can salvage diff --git a/llvm/test/Transforms/LoopStrengthReduce/optimizemax_debugloc.ll b/llvm/test/Transforms/LoopStrengthReduce/optimizemax_debugloc.ll index 60ea02c1d2a7b..d2d5550c3d68f 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/optimizemax_debugloc.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/optimizemax_debugloc.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -loop-reduce -S 2>&1 | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -loop-reduce -S 2>&1 | FileCheck %s ;; This test case checks that whether the new icmp instruction preserves ;; the debug location of the original instruction for %exitcond ; CHECK: icmp uge i32 %indvar.next, %n, !dbg ![[DBGLOC:[0-9]+]] diff --git a/llvm/test/Transforms/LoopStrengthReduce/pr12018.ll b/llvm/test/Transforms/LoopStrengthReduce/pr12018.ll index 62b2fb7fca8d9..78fef12d28750 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/pr12018.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/pr12018.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -loop-reduce -; RUN: opt --try-experimental-debuginfo-iterators < %s -loop-reduce target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32-S128" diff --git a/llvm/test/Transforms/LoopStrengthReduce/pr51329.ll b/llvm/test/Transforms/LoopStrengthReduce/pr51329.ll index 0135d380108ce..6e2067b88a2b7 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/pr51329.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/pr51329.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -loop-reduce %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -loop-reduce %s | FileCheck %s ; ; Test that LSR SCEV-based salvaging does not crash when translating SCEVs ; that contain integers with binary representations greater than 64-bits. diff --git a/llvm/test/Transforms/LoopStrengthReduce/pr51656.ll b/llvm/test/Transforms/LoopStrengthReduce/pr51656.ll index 0e8155332742a..424bcad02bdaa 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/pr51656.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/pr51656.ll @@ -1,5 +1,4 @@ ; RUN: opt -loop-reduce -S %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -loop-reduce -S %s | FileCheck %s ;; This test ensures that no attempt is made to translate long SCEVs into ;; DIExpressions. Attempting the translation can use excessive resources and diff --git a/llvm/test/Transforms/LoopStrengthReduce/pr52161.ll b/llvm/test/Transforms/LoopStrengthReduce/pr52161.ll index 449dfc1126c29..7c49bf887b4e2 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/pr52161.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/pr52161.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -loop-reduce %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -loop-reduce %s | FileCheck %s ;; Ensure that scev-based salvaging in LSR does not select an IV containing ;; an 'undef' element. diff --git a/llvm/test/Transforms/LoopUnroll/X86/call-remark.ll b/llvm/test/Transforms/LoopUnroll/X86/call-remark.ll index b05994ddfa35e..b0f4385b7913d 100644 --- a/llvm/test/Transforms/LoopUnroll/X86/call-remark.ll +++ b/llvm/test/Transforms/LoopUnroll/X86/call-remark.ll @@ -3,7 +3,6 @@ ; RUN: opt -passes=debugify,loop-unroll -mcpu=znver4 -pass-remarks=loop-unroll -pass-remarks-analysis=loop-unroll < %s -S 2>&1 | FileCheck --check-prefixes=ALL,UNROLL %s ; RUN: opt -passes=debugify,loop-unroll -mcpu=znver5 -pass-remarks=loop-unroll -pass-remarks-analysis=loop-unroll < %s -S 2>&1 | FileCheck --check-prefixes=ALL,UNROLL %s -; RUN: opt -passes=debugify,loop-unroll -mcpu=znver3 -pass-remarks=loop-unroll -pass-remarks-analysis=loop-unroll < %s -S 2>&1 --try-experimental-debuginfo-iterators | FileCheck --check-prefixes=ALL,UNROLL %s target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/LoopUnroll/debug-info.ll b/llvm/test/Transforms/LoopUnroll/debug-info.ll index 2a1f679fd4b62..354ec16ffee6e 100644 --- a/llvm/test/Transforms/LoopUnroll/debug-info.ll +++ b/llvm/test/Transforms/LoopUnroll/debug-info.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -S -o - -passes=loop-unroll | FileCheck %s -; RUN: opt %s -S -o - -passes=loop-unroll --try-experimental-debuginfo-iterators | FileCheck %s ; generated at -O3 from: ; void f() { ; for (int i = 1; i <=32; i <<=2 ) diff --git a/llvm/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll b/llvm/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll index 606bc9e574a52..835fc2feb2f41 100644 --- a/llvm/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll +++ b/llvm/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=loop-unroll -unroll-runtime -unroll-runtime-epilog -S %s | FileCheck %s -; RUN: opt -passes=loop-unroll -unroll-runtime -unroll-runtime-epilog -S %s --try-experimental-debuginfo-iterators | FileCheck %s ; Test that epilogue is tagged with the same debug information as original loop body rather than original loop exit. diff --git a/llvm/test/Transforms/LoopVectorize/i8-induction.ll b/llvm/test/Transforms/LoopVectorize/i8-induction.ll index 74b630ca150fe..220fd64e6a829 100644 --- a/llvm/test/Transforms/LoopVectorize/i8-induction.ll +++ b/llvm/test/Transforms/LoopVectorize/i8-induction.ll @@ -1,6 +1,5 @@ ; RUN: opt < %s -passes=loop-vectorize,dce,instcombine -force-vector-interleave=1 -force-vector-width=4 -S ; RUN: opt < %s -passes=debugify,loop-vectorize -S | FileCheck %s --check-prefix=DEBUGLOC -; RUN: opt < %s -passes=debugify,loop-vectorize -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefix=DEBUGLOC target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/LoopVectorize/preserve-dbg-loc-and-loop-metadata.ll b/llvm/test/Transforms/LoopVectorize/preserve-dbg-loc-and-loop-metadata.ll index 7b57624e05e74..330d29b442b1c 100644 --- a/llvm/test/Transforms/LoopVectorize/preserve-dbg-loc-and-loop-metadata.ll +++ b/llvm/test/Transforms/LoopVectorize/preserve-dbg-loc-and-loop-metadata.ll @@ -1,6 +1,5 @@ ; RUN: opt < %s -passes=loop-vectorize -force-vector-width=4 -force-widen-divrem-via-safe-divisor=0 -S 2>&1 | FileCheck %s ; RUN: opt < %s -passes=debugify,loop-vectorize -force-vector-width=4 -force-widen-divrem-via-safe-divisor=0 -S | FileCheck %s -check-prefix DEBUGLOC -; RUN: opt < %s -passes=debugify,loop-vectorize -force-vector-width=4 -force-widen-divrem-via-safe-divisor=0 -S --try-experimental-debuginfo-iterators | FileCheck %s -check-prefix DEBUGLOC target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; This test makes sure we don't duplicate the loop vectorizer's metadata diff --git a/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo.ll b/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo.ll index 0b3c5a02f0bb2..a604d900616c1 100644 --- a/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo.ll +++ b/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=mem2reg -S | FileCheck %s -; RUN: opt < %s -passes=mem2reg -S --try-experimental-debuginfo-iterators | FileCheck %s define double @testfunc(i32 %i, double %j) nounwind ssp !dbg !1 { entry: diff --git a/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll b/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll index b9dbb74b5b713..db3b11c5f3c74 100644 --- a/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll +++ b/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -passes=mem2reg <%s | FileCheck %s -; RUN: opt -S -passes=mem2reg <%s --try-experimental-debuginfo-iterators | FileCheck %s declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone diff --git a/llvm/test/Transforms/Mem2Reg/PromoteMemToRegister.ll b/llvm/test/Transforms/Mem2Reg/PromoteMemToRegister.ll index d81cfd3e18837..f8c838c9d4393 100644 --- a/llvm/test/Transforms/Mem2Reg/PromoteMemToRegister.ll +++ b/llvm/test/Transforms/Mem2Reg/PromoteMemToRegister.ll @@ -1,6 +1,5 @@ ; Simple basic correctness check testcase. Both alloca's should be eliminated. ; RUN: opt < %s -passes='debugify,mem2reg,check-debugify' -S 2>&1 | FileCheck %s -; RUN: opt < %s -passes='debugify,mem2reg,check-debugify' -S 2>&1 --try-experimental-debuginfo-iterators | FileCheck %s ; CHECK-NOT: alloca ; CHECK: CheckModuleDebugify: PASS diff --git a/llvm/test/Transforms/Mem2Reg/dbg-inline-scope-for-phi.ll b/llvm/test/Transforms/Mem2Reg/dbg-inline-scope-for-phi.ll index 53a33c8ad8d4e..2b3905b9a7bd8 100644 --- a/llvm/test/Transforms/Mem2Reg/dbg-inline-scope-for-phi.ll +++ b/llvm/test/Transforms/Mem2Reg/dbg-inline-scope-for-phi.ll @@ -1,5 +1,4 @@ ; RUN: opt -S < %s -passes='function(mem2reg),require' | FileCheck %s -; RUN: opt -S < %s -passes='function(mem2reg),require' --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.13.0" diff --git a/llvm/test/Transforms/Mem2Reg/dbg_declare_to_value_conversions.ll b/llvm/test/Transforms/Mem2Reg/dbg_declare_to_value_conversions.ll index 132d2906197f1..6b58a2860ac31 100644 --- a/llvm/test/Transforms/Mem2Reg/dbg_declare_to_value_conversions.ll +++ b/llvm/test/Transforms/Mem2Reg/dbg_declare_to_value_conversions.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes='mem2reg' -S | FileCheck %s -; RUN: opt < %s -passes='mem2reg' -S --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-p:64:64" ; An intrinsic without any expressions should always be converted. diff --git a/llvm/test/Transforms/Mem2Reg/debug-alloca-phi-2.ll b/llvm/test/Transforms/Mem2Reg/debug-alloca-phi-2.ll index 2925c96ae1818..a17a4e0d85480 100644 --- a/llvm/test/Transforms/Mem2Reg/debug-alloca-phi-2.ll +++ b/llvm/test/Transforms/Mem2Reg/debug-alloca-phi-2.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=mem2reg -S | FileCheck %s -; RUN: opt < %s -passes=mem2reg -S --try-experimental-debuginfo-iterators | FileCheck %s source_filename = "bugpoint-output.bc" target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.12.0" diff --git a/llvm/test/Transforms/Mem2Reg/debug-alloca-phi.ll b/llvm/test/Transforms/Mem2Reg/debug-alloca-phi.ll index 32008dd33a85e..958318adc1f83 100644 --- a/llvm/test/Transforms/Mem2Reg/debug-alloca-phi.ll +++ b/llvm/test/Transforms/Mem2Reg/debug-alloca-phi.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=mem2reg -S | FileCheck %s -; RUN: opt < %s -passes=mem2reg -S --try-experimental-debuginfo-iterators | FileCheck %s source_filename = "bugpoint-output.bc" target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.12.0" diff --git a/llvm/test/Transforms/Mem2Reg/debug-alloca-vla-1.ll b/llvm/test/Transforms/Mem2Reg/debug-alloca-vla-1.ll index 5cccb439ff42b..23f4084b09e8d 100644 --- a/llvm/test/Transforms/Mem2Reg/debug-alloca-vla-1.ll +++ b/llvm/test/Transforms/Mem2Reg/debug-alloca-vla-1.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -passes=mem2reg -S | FileCheck %s -; RUN: opt < %s -passes=mem2reg -S --try-experimental-debuginfo-iterators | FileCheck %s ; Testing conversion from dbg.declare to dbg.value when the variable is a VLA. ; diff --git a/llvm/test/Transforms/Mem2Reg/debug-alloca-vla-2.ll b/llvm/test/Transforms/Mem2Reg/debug-alloca-vla-2.ll index 0d94e9a5a1454..870e0710ba4b8 100644 --- a/llvm/test/Transforms/Mem2Reg/debug-alloca-vla-2.ll +++ b/llvm/test/Transforms/Mem2Reg/debug-alloca-vla-2.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -passes=mem2reg -S | FileCheck %s -; RUN: opt < %s -passes=mem2reg -S --try-experimental-debuginfo-iterators | FileCheck %s ; Testing conversion from dbg.declare to dbg.value when the variable is a VLA. ; diff --git a/llvm/test/Transforms/MemCpyOpt/pr37967.ll b/llvm/test/Transforms/MemCpyOpt/pr37967.ll index b6af060afb9ab..fb9d2e4c0095b 100644 --- a/llvm/test/Transforms/MemCpyOpt/pr37967.ll +++ b/llvm/test/Transforms/MemCpyOpt/pr37967.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt -passes='debugify,memcpyopt,check-debugify' -S < %s 2>&1 -verify-memoryssa | FileCheck %s -; RUN: opt -passes='debugify,memcpyopt,check-debugify' -S < %s 2>&1 -verify-memoryssa --try-experimental-debuginfo-iterators | FileCheck %s ; CHECK: CheckModuleDebugify: PASS diff --git a/llvm/test/Transforms/MergeFunc/debuginfo-iterators.ll b/llvm/test/Transforms/MergeFunc/debuginfo-iterators.ll index 7f259159ce9d3..67b51031bed62 100644 --- a/llvm/test/Transforms/MergeFunc/debuginfo-iterators.ll +++ b/llvm/test/Transforms/MergeFunc/debuginfo-iterators.ll @@ -1,6 +1,6 @@ +; RUN: opt -S -passes=mergefunc,inline --experimental-debuginfo-iterators < %s | FileCheck %s ;; Ensure that the MergeFunctions pass creates thunks with the appropriate debug ;; info format set (which would otherwise assert when inlining those thunks). -; RUN: opt -S -passes=mergefunc,inline --try-experimental-debuginfo-iterators < %s | FileCheck %s declare void @f1() declare void @f2() diff --git a/llvm/test/Transforms/MergeFunc/mergefunc-preserve-debug-info.ll b/llvm/test/Transforms/MergeFunc/mergefunc-preserve-debug-info.ll index 68d0e8079858e..141006e3afae8 100644 --- a/llvm/test/Transforms/MergeFunc/mergefunc-preserve-debug-info.ll +++ b/llvm/test/Transforms/MergeFunc/mergefunc-preserve-debug-info.ll @@ -2,10 +2,6 @@ ; RUN: opt -passes='default,mergefunc' -S -mergefunc-preserve-debug-info < %s | FileCheck %s --check-prefix=OPTIMIZATION_LEVEL_0 ; RUN: opt -passes='default,mergefunc' -S -mergefunc-preserve-debug-info < %s | FileCheck %s --check-prefix=OPTIMIZATION_LEVEL_2 -;; Does this continue to work under non-intrinsic debug-info? -; RUN: opt -passes='default,mergefunc' -S -mergefunc-preserve-debug-info < %s --try-experimental-debuginfo-iterators | FileCheck %s --check-prefix=OPTIMIZATION_LEVEL_0 -; RUN: opt -passes='default,mergefunc' -S -mergefunc-preserve-debug-info < %s --try-experimental-debuginfo-iterators | FileCheck %s --check-prefix=OPTIMIZATION_LEVEL_2 - ; Preserve debug info in thunks under -passes=mergefunc -mergefunc-preserve-debug-info ; ; We test that: diff --git a/llvm/test/Transforms/MergedLoadStoreMotion/st_sink_check_debug.ll b/llvm/test/Transforms/MergedLoadStoreMotion/st_sink_check_debug.ll index 915e3a84e8c7a..80696b6c4241d 100644 --- a/llvm/test/Transforms/MergedLoadStoreMotion/st_sink_check_debug.ll +++ b/llvm/test/Transforms/MergedLoadStoreMotion/st_sink_check_debug.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -S -passes=debugify,mldst-motion -o - | FileCheck %s -; RUN: opt < %s -S -passes=debugify,mldst-motion -o - --try-experimental-debuginfo-iterators | FileCheck %s %struct.S = type { i32 } diff --git a/llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll b/llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll index 3843f4143547b..2926733ceb7f7 100644 --- a/llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll +++ b/llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=reassociate -S | FileCheck %s -; RUN: opt < %s -passes=reassociate -S --try-experimental-debuginfo-iterators | FileCheck %s ; Check that reassociate pass now undefs debug intrinsics that reference a value ; that gets dropped and cannot be salvaged. diff --git a/llvm/test/Transforms/SCCP/ipsccp-basic.ll b/llvm/test/Transforms/SCCP/ipsccp-basic.ll index 9ab686aa701f4..d4ccd6a97ffab 100644 --- a/llvm/test/Transforms/SCCP/ipsccp-basic.ll +++ b/llvm/test/Transforms/SCCP/ipsccp-basic.ll @@ -1,7 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 2 ; RUN: opt < %s -passes=ipsccp -S | FileCheck %s ; RUN: opt < %s -enable-debugify -passes=ipsccp -debugify-quiet -disable-output -; RUN: opt < %s -enable-debugify -passes=ipsccp -debugify-quiet -disable-output --try-experimental-debuginfo-iterators ;;======================== test1 diff --git a/llvm/test/Transforms/SCCP/ipsccp-branch-unresolved-undef.ll b/llvm/test/Transforms/SCCP/ipsccp-branch-unresolved-undef.ll index feb6d127df961..7ace54b2061e8 100644 --- a/llvm/test/Transforms/SCCP/ipsccp-branch-unresolved-undef.ll +++ b/llvm/test/Transforms/SCCP/ipsccp-branch-unresolved-undef.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature ; RUN: opt < %s -S -passes=ipsccp | FileCheck %s -; RUN: opt < %s -S -passes=ipsccp --try-experimental-debuginfo-iterators | FileCheck %s ;; Check that @patatino is optimised to "unreachable" given that it branches on ;; undef. Check too that debug intrinsics have no effect on this. diff --git a/llvm/test/Transforms/SCCP/loadtest.ll b/llvm/test/Transforms/SCCP/loadtest.ll index 7ad68228e7728..3cb11e96ee95b 100644 --- a/llvm/test/Transforms/SCCP/loadtest.ll +++ b/llvm/test/Transforms/SCCP/loadtest.ll @@ -4,7 +4,6 @@ ; RUN: opt < %s -data-layout="E-p:32:32" -passes=debugify,sccp -S | FileCheck %s ; RUN: opt < %s -data-layout="E-p:32:32" -passes=debugify,ipsccp -S | FileCheck %s -; RUN: opt < %s -data-layout="E-p:32:32" -passes=debugify,ipsccp -S --try-experimental-debuginfo-iterators | FileCheck %s @X = constant i32 42 ; [#uses=1] @Y = constant [2 x { i32, float }] [ { i32, float } { i32 12, float 1.000000e+00 }, { i32, float } { i32 37, float 0x3FF3B2FEC0000000 } ] ; [#uses=2] diff --git a/llvm/test/Transforms/SROA/alignment.ll b/llvm/test/Transforms/SROA/alignment.ll index f83e736ba4baf..952be29095f17 100644 --- a/llvm/test/Transforms/SROA/alignment.ll +++ b/llvm/test/Transforms/SROA/alignment.ll @@ -2,7 +2,6 @@ ; RUN: opt < %s -passes='sroa' -S | FileCheck %s --check-prefixes=CHECK,CHECK-PRESERVE-CFG ; RUN: opt < %s -passes='sroa' -S | FileCheck %s --check-prefixes=CHECK,CHECK-MODIFY-CFG ; RUN: opt -passes='debugify,function(sroa)' -S < %s | FileCheck %s -check-prefix CHECK-DEBUGLOC -; RUN: opt -passes='debugify,function(sroa)' -S < %s --try-experimental-debuginfo-iterators | FileCheck %s -check-prefix CHECK-DEBUGLOC target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-n8:16:32:64" diff --git a/llvm/test/Transforms/SROA/dbg-inline.ll b/llvm/test/Transforms/SROA/dbg-inline.ll index ace956d14e022..e9c4f77993b34 100644 --- a/llvm/test/Transforms/SROA/dbg-inline.ll +++ b/llvm/test/Transforms/SROA/dbg-inline.ll @@ -5,10 +5,6 @@ ; RUN: opt < %s -passes='sroa' -S | FileCheck %s --check-prefixes=CHECK,CHECK-PRESERVE-CFG ; RUN: opt < %s -passes='sroa' -S | FileCheck %s --check-prefixes=CHECK,CHECK-MODIFY-CFG -;; Duplicate copies for RemoveDIs, eliminating debug intrinsics. -; RUN: opt < %s -passes='sroa' -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=CHECK,CHECK-PRESERVE-CFG -; RUN: opt < %s -passes='sroa' -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=CHECK,CHECK-MODIFY-CFG - source_filename = "/tmp/inlinesplit.cpp" target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.15.0" diff --git a/llvm/test/Transforms/SROA/dbg-single-piece.ll b/llvm/test/Transforms/SROA/dbg-single-piece.ll index 6e9e8c060fd9f..4a4b809456201 100644 --- a/llvm/test/Transforms/SROA/dbg-single-piece.ll +++ b/llvm/test/Transforms/SROA/dbg-single-piece.ll @@ -2,10 +2,6 @@ ; RUN: opt -passes='sroa' %s -S | FileCheck %s --check-prefixes=CHECK,CHECK-PRESERVE-CFG ; RUN: opt -passes='sroa' %s -S | FileCheck %s --check-prefixes=CHECK,CHECK-MODIFY-CFG -;; Duplicate copies for RemoveDIs project, eliminating debug intrinsics -; RUN: opt -passes='sroa' %s -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=CHECK,CHECK-PRESERVE-CFG -; RUN: opt -passes='sroa' %s -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=CHECK,CHECK-MODIFY-CFG - target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" %foo = type { [8 x i8], [8 x i8] } diff --git a/llvm/test/Transforms/SROA/vector-promotion.ll b/llvm/test/Transforms/SROA/vector-promotion.ll index e6c5c7f806a0c..ffa758e1a85a3 100644 --- a/llvm/test/Transforms/SROA/vector-promotion.ll +++ b/llvm/test/Transforms/SROA/vector-promotion.ll @@ -2,10 +2,6 @@ ; RUN: opt < %s -passes='sroa' -S | FileCheck %s --check-prefixes=CHECK,CHECK-PRESERVE-CFG ; RUN: opt < %s -passes='sroa' -S | FileCheck %s --check-prefixes=CHECK,CHECK-MODIFY-CFG ; RUN: opt < %s -passes=debugify,sroa -S | FileCheck %s --check-prefix=DEBUG -;; Ensure that these work with non-intrinsic variable locations. -; RUN: opt < %s -passes='sroa' -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=CHECK,CHECK-PRESERVE-CFG -; RUN: opt < %s -passes='sroa' -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefixes=CHECK,CHECK-MODIFY-CFG -; RUN: opt < %s -passes=debugify,sroa -S --try-experimental-debuginfo-iterators | FileCheck %s --check-prefix=DEBUG target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-n8:16:32:64" %S1 = type { i64, [42 x float] } diff --git a/llvm/test/Transforms/SafeStack/ARM/debug.ll b/llvm/test/Transforms/SafeStack/ARM/debug.ll index fbdb6361c2f6a..a8c534c9b72a3 100644 --- a/llvm/test/Transforms/SafeStack/ARM/debug.ll +++ b/llvm/test/Transforms/SafeStack/ARM/debug.ll @@ -1,6 +1,5 @@ ; RUN: opt -safe-stack -safestack-use-pointer-address < %s -S | FileCheck %s ; RUN: opt -passes=safe-stack -safestack-use-pointer-address < %s -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=safe-stack -safestack-use-pointer-address < %s -S | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" target triple = "armv7-pc-linux-android" diff --git a/llvm/test/Transforms/SafeStack/X86/debug-loc-dynamic.ll b/llvm/test/Transforms/SafeStack/X86/debug-loc-dynamic.ll index 715224d6e1009..5f654f1991dd2 100644 --- a/llvm/test/Transforms/SafeStack/X86/debug-loc-dynamic.ll +++ b/llvm/test/Transforms/SafeStack/X86/debug-loc-dynamic.ll @@ -1,7 +1,5 @@ ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s -; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - --try-experimental-debuginfo-iterators | FileCheck %s ; RUN: opt -passes=safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s -; RUN: opt -passes=safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - --try-experimental-debuginfo-iterators | FileCheck %s ; Test llvm.dbg.value for dynamic allocas moved onto the unsafe stack. ; In the dynamic alloca case, the dbg.value does not change with the exception diff --git a/llvm/test/Transforms/SafeStack/X86/debug-loc.ll b/llvm/test/Transforms/SafeStack/X86/debug-loc.ll index d237890b25ff0..fcb49357e63fa 100644 --- a/llvm/test/Transforms/SafeStack/X86/debug-loc.ll +++ b/llvm/test/Transforms/SafeStack/X86/debug-loc.ll @@ -1,7 +1,5 @@ ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s -; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - --try-experimental-debuginfo-iterators | FileCheck %s ; RUN: opt -passes=safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s -; RUN: opt -passes=safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - --try-experimental-debuginfo-iterators | FileCheck %s ; Test debug location for the local variables moved onto the unsafe stack. diff --git a/llvm/test/Transforms/SafeStack/X86/debug-loc2.ll b/llvm/test/Transforms/SafeStack/X86/debug-loc2.ll index 0d9213d75b90c..7a1fdc016ac12 100644 --- a/llvm/test/Transforms/SafeStack/X86/debug-loc2.ll +++ b/llvm/test/Transforms/SafeStack/X86/debug-loc2.ll @@ -1,7 +1,5 @@ ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s -; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - --try-experimental-debuginfo-iterators | FileCheck %s ; RUN: opt -passes=safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s -; RUN: opt -passes=safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - --try-experimental-debuginfo-iterators | FileCheck %s ; Test llvm.dbg.value for the local variables moved onto the unsafe stack. ; SafeStack rewrites them relative to the unsafe stack pointer (base address of diff --git a/llvm/test/Transforms/SimpleLoopUnswitch/debuginfo.ll b/llvm/test/Transforms/SimpleLoopUnswitch/debuginfo.ll index bc53bfd643e5e..256bd638ce6b4 100644 --- a/llvm/test/Transforms/SimpleLoopUnswitch/debuginfo.ll +++ b/llvm/test/Transforms/SimpleLoopUnswitch/debuginfo.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt -passes='loop-mssa(simple-loop-unswitch),verify' -S < %s | FileCheck %s -; RUN: opt -passes='loop-mssa(simple-loop-unswitch),verify' -S < %s --try-experimental-debuginfo-iterators | FileCheck %s ; ;; Check that when we duplicate the load in the loop header, we also duplicate ;; the corresponding dbg.value. diff --git a/llvm/test/Transforms/SimplifyCFG/PR27615-simplify-cond-br.ll b/llvm/test/Transforms/SimplifyCFG/PR27615-simplify-cond-br.ll index e24e239323cda..bb1a4dd9a04ca 100644 --- a/llvm/test/Transforms/SimplifyCFG/PR27615-simplify-cond-br.ll +++ b/llvm/test/Transforms/SimplifyCFG/PR27615-simplify-cond-br.ll @@ -1,8 +1,6 @@ ; RUN: opt -S -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -strip-debug < %s | FileCheck %s ; RUN: opt -S -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 < %s | FileCheck %s -; RUN: opt -S -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -strip-debug < %s --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: opt -S -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 < %s --try-experimental-debuginfo-iterators | FileCheck %s ; Test case for BUG-27615 ; Test that simplify cond branch produce same result for debug and non-debug builds diff --git a/llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad-debuginfo.ll b/llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad-debuginfo.ll index 29cfebaed0507..2050debca4146 100644 --- a/llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad-debuginfo.ll +++ b/llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad-debuginfo.ll @@ -1,7 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-attributes --check-globals ; RUN: opt < %s -passes=debugify,simplifycfg -simplifycfg-require-and-preserve-domtree=1 -sink-common-insts -S | FileCheck %s ; RUN: opt < %s -passes='debugify,simplifycfg' -S | FileCheck %s -; RUN: opt < %s -passes='debugify,simplifycfg' -S --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/SimplifyCFG/X86/pr39187-g.ll b/llvm/test/Transforms/SimplifyCFG/X86/pr39187-g.ll index 84259398f2e8d..5696cffb911ce 100644 --- a/llvm/test/Transforms/SimplifyCFG/X86/pr39187-g.ll +++ b/llvm/test/Transforms/SimplifyCFG/X86/pr39187-g.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -S -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -hoist-common-insts=true | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -S -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -hoist-common-insts=true | FileCheck %s ; SimplifyCFG can hoist any common code in the 'then' and 'else' blocks to ; the 'if' basic block. diff --git a/llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll b/llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll index 170f8d1592c2f..62351d766e749 100644 --- a/llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll +++ b/llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll @@ -1,8 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -sink-common-insts -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -sink-common-insts -S | FileCheck %s ; RUN: opt < %s -passes='simplifycfg' -S | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -passes='simplifycfg' -S | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-pc-linux-gnu" diff --git a/llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll b/llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll index c8a2070131ba7..d6735eccc3246 100644 --- a/llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll +++ b/llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S < %s | FileCheck %s -; RUN: opt -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S < %s --try-experimental-debuginfo-iterators | FileCheck %s %0 = type { ptr, ptr } diff --git a/llvm/test/Transforms/SimplifyCFG/dbginfo.ll b/llvm/test/Transforms/SimplifyCFG/dbginfo.ll index d142eb2db8ae2..cce72977d6605 100644 --- a/llvm/test/Transforms/SimplifyCFG/dbginfo.ll +++ b/llvm/test/Transforms/SimplifyCFG/dbginfo.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s -; RUN: opt < %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S --try-experimental-debuginfo-iterators | FileCheck %s %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, ptr, ptr, ptr, i32, i64, i64, i64, i32, i32 } diff --git a/llvm/test/Transforms/SimplifyCFG/debug-info-thread-phi.ll b/llvm/test/Transforms/SimplifyCFG/debug-info-thread-phi.ll index 6b22f427f1fef..b32ca9bf6aef2 100644 --- a/llvm/test/Transforms/SimplifyCFG/debug-info-thread-phi.ll +++ b/llvm/test/Transforms/SimplifyCFG/debug-info-thread-phi.ll @@ -1,5 +1,4 @@ ; RUN: opt %s -passes=debugify,simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s -; RUN: opt %s -passes=debugify,simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S --try-experimental-debuginfo-iterators | FileCheck %s ; Tests Bug 37966 define void @bar(i32 %aa) { diff --git a/llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll b/llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll index a584e06cfa2c8..04da3ed818991 100644 --- a/llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll +++ b/llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -hoist-common-insts=true -S < %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -hoist-common-insts=true -S < %s | FileCheck %s ; Verify that we don't crash due an invalid !dbg location on the hoisted llvm.dbg.value define i64 @caller(ptr %ptr, i64 %flag) !dbg !10 { diff --git a/llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll b/llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll index c81f3280d81a3..5a69a0c002fb8 100644 --- a/llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll +++ b/llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S < %s | FileCheck %s -; RUN: opt -try-experimental-debuginfo-iterators -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S < %s | FileCheck %s define i32 @foo(i32 %i) nounwind ssp !dbg !0 { ; CHECK-LABEL: @foo( diff --git a/llvm/test/Transforms/SimplifyCFG/return-merge.ll b/llvm/test/Transforms/SimplifyCFG/return-merge.ll index f803a4aa811bb..c0e7a43ebe8cf 100644 --- a/llvm/test/Transforms/SimplifyCFG/return-merge.ll +++ b/llvm/test/Transforms/SimplifyCFG/return-merge.ll @@ -2,8 +2,6 @@ ; RUN: opt < %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck --check-prefixes=CHECK %s ; RUN: opt < %s -passes=debugify,simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck --check-prefixes=DBGINFO %s -; RUN: opt < %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S --try-experimental-debuginfo-iterators | FileCheck --check-prefixes=CHECK %s -; RUN: opt < %s -passes=debugify,simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S --try-experimental-debuginfo-iterators | FileCheck --check-prefixes=DBGINFO %s define i32 @test1(i1 %C) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/SimplifyCFG/speculate-dbgvalue.ll b/llvm/test/Transforms/SimplifyCFG/speculate-dbgvalue.ll index 0dbe9a8b72cdf..d34cd45fec7d6 100644 --- a/llvm/test/Transforms/SimplifyCFG/speculate-dbgvalue.ll +++ b/llvm/test/Transforms/SimplifyCFG/speculate-dbgvalue.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -S -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 | FileCheck %s -; RUN: opt < %s -S -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 --try-experimental-debuginfo-iterators | FileCheck %s ; This test case was generated from speculate-dbgvalue.c: ; diff --git a/llvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll b/llvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll index 562f6718142e5..10e4870d504e3 100644 --- a/llvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll +++ b/llvm/test/Transforms/SimplifyCFG/tail-merge-noreturn.ll @@ -1,6 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -sink-common-insts -S < %s | FileCheck %s -; RUN: opt -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -sink-common-insts -S < %s --try-experimental-debuginfo-iterators | FileCheck %s ; Test that we tail merge noreturn call blocks and phi constants properly. diff --git a/llvm/test/Transforms/SpeculativeExecution/PR46267.ll b/llvm/test/Transforms/SpeculativeExecution/PR46267.ll index 5ee9fda470d1e..92c0b5aa2cc02 100644 --- a/llvm/test/Transforms/SpeculativeExecution/PR46267.ll +++ b/llvm/test/Transforms/SpeculativeExecution/PR46267.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -S -passes='speculative-execution' | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators < %s -S -passes='speculative-execution' | FileCheck %s %class.B = type { ptr } diff --git a/llvm/test/Transforms/TailCallElim/debugloc.ll b/llvm/test/Transforms/TailCallElim/debugloc.ll index 49957695a421b..1670b832e9d97 100644 --- a/llvm/test/Transforms/TailCallElim/debugloc.ll +++ b/llvm/test/Transforms/TailCallElim/debugloc.ll @@ -1,5 +1,4 @@ ; RUN: opt < %s -passes=debugify,tailcallelim -S | FileCheck %s -; RUN: opt < %s -passes=debugify,tailcallelim -S --try-experimental-debuginfo-iterators | FileCheck %s define void @foo() { entry: diff --git a/llvm/test/Transforms/Util/Debugify/loc-only-original-mode.ll b/llvm/test/Transforms/Util/Debugify/loc-only-original-mode.ll index b1ba4e15d49f8..aab2de18bfc51 100644 --- a/llvm/test/Transforms/Util/Debugify/loc-only-original-mode.ll +++ b/llvm/test/Transforms/Util/Debugify/loc-only-original-mode.ll @@ -14,12 +14,6 @@ ; RUN: -verify-each-debuginfo-preserve \ ; RUN: -debugify-func-limit=2 -S 2>&1 | FileCheck %s --check-prefix=CHECK-DROP -;; Add some runlines that use RemoveDIs non-intrinsic debug-info, to check that -;; variable preservation checking works. -; RUN: opt < %s -passes=deadargelim --try-experimental-debuginfo-iterators \ -; RUN: -verify-each-debuginfo-preserve \ -; RUN: -debugify-level=location+variables -S 2>&1 | FileCheck %s --check-prefix=CHECK-DROP - ; CHECK-NOT: drops dbg.value()/dbg.declare() ; CHECK-DROP: drops dbg.value()/dbg.declare() diff --git a/llvm/test/Transforms/Util/Debugify/loc-only.ll b/llvm/test/Transforms/Util/Debugify/loc-only.ll index e90f206a95756..1a1c531622f1d 100644 --- a/llvm/test/Transforms/Util/Debugify/loc-only.ll +++ b/llvm/test/Transforms/Util/Debugify/loc-only.ll @@ -1,7 +1,6 @@ ; RUN: opt -passes=debugify -S < %s | FileCheck --check-prefixes=ALL,VALUE %s ; RUN: opt -passes=debugify -debugify-level=locations -S < %s | FileCheck --check-prefixes=ALL --implicit-check-not=dbg.value %s -; RUN: opt -passes=debugify -S < %s --try-experimental-debuginfo-iterators | FileCheck --check-prefixes=ALL,VALUE %s ; ALL-LABEL: @test define void @test() { diff --git a/llvm/test/Transforms/Util/dbg-user-of-aext.ll b/llvm/test/Transforms/Util/dbg-user-of-aext.ll index 16816a6908a82..9e7935e14c32e 100644 --- a/llvm/test/Transforms/Util/dbg-user-of-aext.ll +++ b/llvm/test/Transforms/Util/dbg-user-of-aext.ll @@ -2,7 +2,6 @@ ; (here exposed through the SROA) pass refers to [s|z]exts of values (as ; opposed to the operand of a [s|z]ext). ; RUN: opt -S -passes='sroa' %s | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -S -passes='sroa' %s | FileCheck %s ; Built from: ; struct foo { bool b; long i; }; diff --git a/llvm/test/Transforms/Util/salvage-debuginfo.ll b/llvm/test/Transforms/Util/salvage-debuginfo.ll index e8906dcbd9404..e9c83d0de27b0 100644 --- a/llvm/test/Transforms/Util/salvage-debuginfo.ll +++ b/llvm/test/Transforms/Util/salvage-debuginfo.ll @@ -1,7 +1,5 @@ ; RUN: opt -passes=adce %s -S -o - | FileCheck %s ; RUN: opt -passes=bdce %s -S -o - | FileCheck %s -; RUN: opt -passes=adce %s -S -o - --try-experimental-debuginfo-iterators | FileCheck %s -; RUN: opt -passes=bdce %s -S -o - --try-experimental-debuginfo-iterators | FileCheck %s target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx" define void @f(i32) !dbg !8 { diff --git a/llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-localvars.ll b/llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-localvars.ll index 19558a227b9f7..83887397459db 100644 --- a/llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-localvars.ll +++ b/llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-localvars.ll @@ -1,5 +1,4 @@ ; RUN: opt -S -passes=strip-nonlinetable-debuginfo %s -o - | FileCheck %s -; RUN: opt -S -passes=strip-nonlinetable-debuginfo %s -o - --try-experimental-debuginfo-iterators | FileCheck %s ; CHECK: define void @f() !dbg ![[F:[0-9]+]] define void @f() !dbg !4 { entry: diff --git a/llvm/test/Transforms/Util/trivial-auto-var-init-call.ll b/llvm/test/Transforms/Util/trivial-auto-var-init-call.ll index c12648a6b3d81..f34aa3e9f6799 100644 --- a/llvm/test/Transforms/Util/trivial-auto-var-init-call.ll +++ b/llvm/test/Transforms/Util/trivial-auto-var-init-call.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=annotation-remarks -o /dev/null -S -pass-remarks-output=%t.opt.yaml %s -pass-remarks-missed=annotation-remarks 2>&1 | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=annotation-remarks -o /dev/null -S -pass-remarks-output=%t.opt.yaml %s -pass-remarks-missed=annotation-remarks 2>&1 | FileCheck %s ; RUN: cat %t.opt.yaml | FileCheck -check-prefix=YAML %s ; Emit remarks for memcpy, memmove, memset, bzero. diff --git a/llvm/test/Transforms/Util/trivial-auto-var-init-store.ll b/llvm/test/Transforms/Util/trivial-auto-var-init-store.ll index 2a7eb638edf6b..d3355efe2efcd 100644 --- a/llvm/test/Transforms/Util/trivial-auto-var-init-store.ll +++ b/llvm/test/Transforms/Util/trivial-auto-var-init-store.ll @@ -1,5 +1,4 @@ ; RUN: opt -passes=annotation-remarks -o /dev/null -S -pass-remarks-output=%t.opt.yaml %s -pass-remarks-missed=annotation-remarks 2>&1 | FileCheck %s -; RUN: opt --try-experimental-debuginfo-iterators -passes=annotation-remarks -o /dev/null -S -pass-remarks-output=%t.opt.yaml %s -pass-remarks-missed=annotation-remarks 2>&1 | FileCheck %s ; RUN: cat %t.opt.yaml | FileCheck -check-prefix=YAML %s ; Emit a remark that reports a store. diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index 456d5f8f2a2f8..e44933ef483f2 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/tools/llc/llc.cpp @@ -206,13 +206,6 @@ static cl::opt PassPipeline( static cl::alias PassPipeline2("p", cl::aliasopt(PassPipeline), cl::desc("Alias for -passes")); -static cl::opt TryUseNewDbgInfoFormat( - "try-experimental-debuginfo-iterators", - cl::desc("Enable debuginfo iterator positions, if they're built in"), - cl::init(false), cl::Hidden); - -extern cl::opt UseNewDbgInfoFormat; - namespace { std::vector &getRunPassNames() { @@ -367,13 +360,6 @@ int main(int argc, char **argv) { return 1; } - // RemoveDIs debug-info transition: tests may request that we /try/ to use the - // new debug-info format. - if (TryUseNewDbgInfoFormat) { - // Turn the new debug-info format on. - UseNewDbgInfoFormat = true; - } - if (TimeTrace) timeTraceProfilerInitialize(TimeTraceGranularity, argv[0]); auto TimeTraceScopeExit = make_scope_exit([]() { diff --git a/llvm/tools/llvm-link/llvm-link.cpp b/llvm/tools/llvm-link/llvm-link.cpp index 0f4a4d57427a5..f0bf9d69bd0d3 100644 --- a/llvm/tools/llvm-link/llvm-link.cpp +++ b/llvm/tools/llvm-link/llvm-link.cpp @@ -129,11 +129,6 @@ static cl::opt IgnoreNonBitcode( cl::desc("Do not report an error for non-bitcode files in archives"), cl::Hidden); -static cl::opt TryUseNewDbgInfoFormat( - "try-experimental-debuginfo-iterators", - cl::desc("Enable debuginfo iterator positions, if they're built in"), - cl::init(false)); - extern cl::opt UseNewDbgInfoFormat; extern cl::opt PreserveInputDbgFormat; extern cl::opt WriteNewDbgInfoFormat; diff --git a/llvm/tools/llvm-lto/llvm-lto.cpp b/llvm/tools/llvm-lto/llvm-lto.cpp index 516c7b7c6c83e..0aa47e534855c 100644 --- a/llvm/tools/llvm-lto/llvm-lto.cpp +++ b/llvm/tools/llvm-lto/llvm-lto.cpp @@ -264,12 +264,6 @@ static cl::opt LTOSaveBeforeOpt("lto-save-before-opt", cl::init(false), cl::desc("Save the IR before running optimizations")); -static cl::opt TryUseNewDbgInfoFormat( - "try-experimental-debuginfo-iterators", - cl::desc("Enable debuginfo iterator positions, if they're built in"), - cl::init(false), cl::Hidden); - -extern cl::opt UseNewDbgInfoFormat; extern cl::opt LoadBitcodeIntoNewDbgInfoFormat; extern cl::opt PreserveInputDbgFormat; @@ -1011,12 +1005,6 @@ int main(int argc, char **argv) { if (LoadBitcodeIntoNewDbgInfoFormat == cl::boolOrDefault::BOU_UNSET) LoadBitcodeIntoNewDbgInfoFormat = cl::boolOrDefault::BOU_TRUE; - // RemoveDIs debug-info transition: tests may request that we /try/ to use the - // new debug-info format. - if (TryUseNewDbgInfoFormat) { - // Turn the new debug-info format on. - UseNewDbgInfoFormat = true; - } // Since llvm-lto collects multiple IR modules together, for simplicity's sake // we disable the "PreserveInputDbgFormat" flag to enforce a single debug info // format. diff --git a/llvm/tools/llvm-lto2/llvm-lto2.cpp b/llvm/tools/llvm-lto2/llvm-lto2.cpp index 3ad2a3ecb6752..dbb7f2f3028aa 100644 --- a/llvm/tools/llvm-lto2/llvm-lto2.cpp +++ b/llvm/tools/llvm-lto2/llvm-lto2.cpp @@ -187,12 +187,6 @@ static cl::opt EnableFreestanding( cl::desc("Enable Freestanding (disable builtins / TLI) during LTO"), cl::Hidden); -static cl::opt TryUseNewDbgInfoFormat( - "try-experimental-debuginfo-iterators", - cl::desc("Enable debuginfo iterator positions, if they're built in"), - cl::init(false), cl::Hidden); - -extern cl::opt UseNewDbgInfoFormat; extern cl::opt LoadBitcodeIntoNewDbgInfoFormat; extern cl::opt PreserveInputDbgFormat; @@ -234,12 +228,6 @@ static int run(int argc, char **argv) { if (LoadBitcodeIntoNewDbgInfoFormat == cl::boolOrDefault::BOU_UNSET) LoadBitcodeIntoNewDbgInfoFormat = cl::boolOrDefault::BOU_TRUE; - // RemoveDIs debug-info transition: tests may request that we /try/ to use the - // new debug-info format. - if (TryUseNewDbgInfoFormat) { - // Turn the new debug-info format on. - UseNewDbgInfoFormat = true; - } // Since llvm-lto2 collects multiple IR modules together, for simplicity's // sake we disable the "PreserveInputDbgFormat" flag to enforce a single debug // info format. diff --git a/llvm/tools/opt/optdriver.cpp b/llvm/tools/opt/optdriver.cpp index 4759d03ba80d7..176eec369188e 100644 --- a/llvm/tools/opt/optdriver.cpp +++ b/llvm/tools/opt/optdriver.cpp @@ -280,13 +280,6 @@ static cl::list PassPlugins("load-pass-plugin", cl::desc("Load passes from plugin library")); -static cl::opt TryUseNewDbgInfoFormat( - "try-experimental-debuginfo-iterators", - cl::desc("Enable debuginfo iterator positions, if they're built in"), - cl::init(false), cl::Hidden); - -extern cl::opt UseNewDbgInfoFormat; - //===----------------------------------------------------------------------===// // CodeGen-related helper functions. // @@ -463,13 +456,6 @@ extern "C" int optMain( cl::ParseCommandLineOptions( argc, argv, "llvm .bc -> .bc modular optimizer and analysis printer\n"); - // RemoveDIs debug-info transition: tests may request that we /try/ to use the - // new debug-info format. - if (TryUseNewDbgInfoFormat) { - // Turn the new debug-info format on. - UseNewDbgInfoFormat = true; - } - LLVMContext Context; // TODO: remove shouldForceLegacyPM().