1 ; RUN: opt -verify-debuginfo-preserve -passes=instcombine -S -o - < %s 2>&1 | FileCheck %s
2 ; RUN: opt --experimental-debuginfo-iterators=false -verify-debuginfo-preserve -passes=instcombine -S -o - < %s 2>&1 | FileCheck %s
4 ; CHECK: ModuleDebugify (original debuginfo): Skipping module without debug info
5 ; CHECK-NEXT: CheckModuleDebugify (original debuginfo): Skipping module without debug info
7 ; ModuleID = 'no-dbg-info.c'
8 source_filename = "no-dbg-info.c"
9 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
10 target triple = "x86_64-unknown-linux-gnu"
12 ; Function Attrs: nounwind uwtable
13 define dso_local i32 @fn() {
14 %1 = call i32 (...) @fn2()
18 declare dso_local i32 @fn2(...)
20 !llvm.module.flags = !{!0}
23 !0 = !{i32 1, !"wchar_size", i32 4}
24 !1 = !{!"clang version 11.0.0"}