[llvm-dev] How to dump broken IR from LLVM backend?

Dipanjan Das via llvm-dev llvm-dev at lists.llvm.org
Sat Oct 21 21:33:25 PDT 2017


My pass complains and gives up after spitting out:

======================================
Instruction does not dominate all uses!
  %44 = icmp ne i8** %endptr, null
  br i1 %44, label %32, label %33
Instruction has bogus parent pointer!
======================================

Is there any way to dump the entire IR even in broken form from the backend
so that I can inspect what's going on?

-- 

Thanks & Regards,
Dipanjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171021/589f7a06/attachment.html>


More information about the llvm-dev mailing list