[llvm-bugs] [Bug 38177] New: [debugify] mldst-motion fail
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 16 05:47:19 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38177
Bug ID: 38177
Summary: [debugify] mldst-motion 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: llvm-bugs at lists.llvm.org
Blocks: 37953
Created attachment 20557
--> https://bugs.llvm.org/attachment.cgi?id=20557&action=edit
ll reproducer
$ clang -v
clang version 7.0.0 (trunk 337152) (llvm/trunk 337156)
Target: x86_64-scei-ps4
Thread model: posix
InstalledDir: e:\work\upstream-llvm\build-vs2015-ps4-ninja\bin
$ cat Debugifind.1.FAIL.MergedLoadStoreMotion.cpp
struct S {
int foo;
void fn(int bar);
};
void S::fn(int bar) {
if (bar)
foo = 1;
else
foo = 0;
}
$ clang.exe Debugifind.1.FAIL.MergedLoadStoreMotion.cpp -S -o - -emit-llvm -O0
-Xclang -disable-O0-optnone -o Debugifind.1.FAIL.MergedLoadStoreMotion.ll
$ opt.exe -disable-output -debugify-each -mldst-motion
Debugifind.1.FAIL.MergedLoadStoreMotion.ll
ERROR: Instruction with empty DebugLoc in function _ZN1S2fnEi -- %.sink = phi
i32 [ 0, %if.else ], [ 1, %if.then ]
WARNING: Missing line 9
WARNING: Missing line 10
CheckFunctionDebugify [MergedLoadStoreMotion]: 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/20180716/dbda13b7/attachment.html>
More information about the llvm-bugs
mailing list