<div dir="ltr"><div>Dear Developers,</div><div><br></div><div>I would like get detailed info if verification of the intermediate representation fails.<br></div><div>Currently I am using IRBuilder to create a module, and I encountered an error, which I cannot trace back to the IRBuilder related call, which caused the error:</div><div>"Instruction does not dominate all uses!<br>
%14 = load i32, i32* <a class="gmail-user-mention" href="https://github.com/r6">@r6</a><br>
%11 = trunc i32 %14 to i8<br>
LLVM ERROR: Broken function found, compilation aborted!" <br></div><div><br></div><div>This description is too losely specified for me to know, where the causing code is located. Getting 20 lines instead of 2 would help. Getting additional info of the broken function could also help. How can this be solved?<br></div><div><br></div><div>Best regards,<br></div><div>Norbert Dajka<br></div></div>