[llvm-bugs] [Bug 31310] New: SROA fails to propagate debug location annotation
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Dec 7 13:31:35 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=31310
Bug ID: 31310
Summary: SROA fails to propagate debug location annotation
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: anemet at apple.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17734
--> https://llvm.org/bugs/attachment.cgi?id=17734&action=edit
testcase
The testcase s.ll demonstrates the problem. The phis generated by SROA carry
no debug location MD:
/org/llvm/build$ grep phi s.ll
/org/llvm/build$ ./bin/opt -sroa s.ll -S | grep phi
%a.addr.0 = phi i32 [ %a, %entry ], [ %0, %for.inc ]
%i.0 = phi i32 [ 0, %entry ], [ %inc, %for.inc ]
--
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/20161207/bd9d5538/attachment.html>
More information about the llvm-bugs
mailing list