Skip to content

Commit 8b6aabe

Browse files
committed
add the check discription to the regression test
1 parent 9bc06df commit 8b6aabe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/test/Transforms/LoopDistribute/salvage-dbg-values-in-distributed-loops.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
; RUN: opt -passes=loop-distribute -enable-loop-distribute -S < %s | FileCheck %s
22

3+
; Check that removeUnusedInsts() salvages `dbg_value`s which use dead
4+
; instructions in the distributed loops.
5+
36
define void @f(ptr noalias %a, ptr noalias %b, ptr noalias %c, ptr noalias %d, ptr noalias %e) !dbg !5 {
47
; CHECK-LABEL: define void @f(
58
; CHECK-SAME: ptr noalias [[A:%.*]], ptr noalias [[B:%.*]], ptr noalias [[C:%.*]], ptr noalias [[D:%.*]], ptr noalias [[E:%.*]])

0 commit comments

Comments
 (0)