Skip to content

Commit

Permalink
Update alloca DebugInfo test (#1844)
Browse files Browse the repository at this point in the history
Update a test after llvm-project commit c65b4d64d4b0 ("[SelectionDAG]
Do not second-guess alignment for alloca", 2023-02-09).
  • Loading branch information
svenvh authored Feb 10, 2023
1 parent 5eee59b commit 9633373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/DebugInfo/X86/dbg-declare-alloca.ll
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ target triple = "spir64-unknown-unknown"
; Function Attrs: noinline nounwind uwtable
define void @use_dbg_declare() #0 !dbg !7 {
entry:
%o = alloca %struct.Foo, align 4
%o = alloca %struct.Foo, align 8
call void @llvm.dbg.declare(metadata %struct.Foo* %o, metadata !10, metadata !15), !dbg !16
call void @escape_foo(%struct.Foo* %o), !dbg !17
ret void, !dbg !18
Expand Down

0 comments on commit 9633373

Please sign in to comment.