[llvm-bugs] [Bug 39140] New: Improve 'collectDebugValues' algorithm.
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Oct 1 06:54:36 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=39140
Bug ID: 39140
Summary: Improve 'collectDebugValues' algorithm.
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: international.phantom at gmail.com
CC: aprantl at apple.com, dblaikie at gmail.com,
ftee at flametop.co.uk, greg.bedwell at sony.com,
jeremy.morse.llvm at gmail.com, llvm-bugs at lists.llvm.org,
paul.robinson at am.sony.com, vsk at apple.com,
Wolfgang_Pieb at playstation.sony.com
During the review of
https://reviews.llvm.org/D50887
there were some discussion on the algorithm used by 'collectDebugValues':
https://reviews.llvm.org/D50887?id=161183#inline-448054
The idea was to use the list of USEs instead of linearily scanning through all
instructions.
https://reviews.llvm.org/D50887?id=161183#inline-448099
It was mentioned to use `MachineInstrIterator::use_instructions(Reg)`, with a
MRI object being available in the contexts where collecting debug values.
--
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/20181001/77d56773/attachment-0001.html>
More information about the llvm-bugs
mailing list