[llvm-bugs] [Bug 38014] New: [debugify] sroa fail
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 2 05:17:23 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38014
Bug ID: 38014
Summary: [debugify] sroa fail
Product: new-bugs
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: greg.bedwell at sony.com
CC: anastasis.gramm2 at gmail.com, llvm-bugs at lists.llvm.org,
vsk at apple.com
Blocks: 37953
Created attachment 20506
--> https://bugs.llvm.org/attachment.cgi?id=20506&action=edit
ll reproducer
$ clang --version
clang version 7.0.0 (trunk 336047) (llvm/trunk 336095)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: e:\work\upstream-llvm\build-vs2015-native-ninja\bin
$ cat SROA.cpp
void foo() {
int bar;
for (;; bar++)
;
}
$ clang SROA.cpp -S -emit-llvm -O0 -Xclang -disable-O0-optnone -o SROA.ll
$ opt -disable-output -debugify-each -sroa SROA.ll
ERROR: Instruction with empty DebugLoc in function ?foo@@YAXXZ -- %bar.0 = phi
i32 [ undef, %entry ], [ %inc, %for.inc ]
WARNING: Missing line 1
WARNING: Missing line 4
WARNING: Missing line 6
CheckFunctionDebugify [SROA]: FAIL
CheckFunctionDebugify [Module Verifier]: PASS
$
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=37953
[Bug 37953] [meta] [debugify] fix -check-debugify failures
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180702/3ed0e6b7/attachment.html>
More information about the llvm-bugs
mailing list