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: unassignedb...@nondot.org
          Reporter: international.phan...@gmail.com
                CC: apra...@apple.com, dblai...@gmail.com,
                    f...@flametop.co.uk, greg.bedw...@sony.com,
                    jeremy.morse.l...@gmail.com, llvm-bugs@lists.llvm.org,
                    paul.robin...@am.sony.com, v...@apple.com,
                    wolfgang_p...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to