Skip to content

Commit 1dbcca7

Browse files
wsmosesnikic
andauthored
Update llvm/test/Transforms/SimplifyCFG/no-drop-debug-loc-when-speculating-call.ll
Co-authored-by: Nikita Popov <[email protected]>
1 parent 0915691 commit 1dbcca7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/test/Transforms/SimplifyCFG/no-drop-debug-loc-when-speculating-call.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ define i1 @specfn() readnone nounwind speculatable {
1010
; CHECK-LABEL: @test1(
1111
; CHECK: call i1 @specfn(), !dbg
1212
; CHECK: select i1
13-
define void @test1() !dbg !6 {
13+
define void @test1(i1 %cond) !dbg !6 {
1414
start:
15-
%cond = call i1 @make_condition(), !dbg !8
1615
br i1 %cond, label %then, label %else, !dbg !9
1716

1817
then: ; preds = %start

0 commit comments

Comments
 (0)