[llvm-dev] [SROA][DebugInfo][GSoC] Testing SROA on amalgamated sqlite source

Anast Gramm via llvm-dev llvm-dev at lists.llvm.org
Thu May 31 05:11:48 PDT 2018


> That is good to hear / expected, since we went though great lengths to ensure that SROA preserves variable debug info. 
> 
> Have you looked at the location-less phi instructions?
> Does empty mean line 0 or do you mean they have no debug location whatsoever?

Most of them have line 0, only 12 are locationless.

> Are they empty for good reasons or does it look more like an oversight in the implementation?

How can I approach this? My guess is that all these phi's are with line 0 because they are made
of stores and allocas that aren't actual code, and are instead generated by clang. Like here
https://reviews.llvm.org/D47097 at test1


More information about the llvm-dev mailing list