[llvm-commits] patch for Bug #10125

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Jun 13 08:40:33 PDT 2011


On Jun 13, 2011, at 12:18 AM, Shajrawi, Yousef wrote:
> Thanks for the helpful reply. The bug I encountered caused the DBG_VALUE instructions not to be written back with references to the correct registers/spills… (unless I kept the DBG_VALUE for the corner-case I described in the bug)
>  
> What happened in when reading the DWARF I couldn’t see that variable associated with its register, a dump of the output assembly/sections/..etc showed that the variable is not in the “.section                .debug_info”.
>  
> I found the problem on AMD’s OpenCL Compiler (http://llvm.org/devmtg/2010-11/Villmow-OpenCL.pdf ) on the AMDIL Codegen backend (slide 3), Unfortunately I wasn’t able to reproduce it with other backbends (x86) that have much less physical registers/more spills.

That makes it difficult to help you.

You can try using llc -debug -print-machineinstrs -debug-pass=Executions to find out what happened to your DBG_VALUE.

/jakob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110613/7d29f01c/attachment.html>


More information about the llvm-commits mailing list