<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 12, 2021 at 11:18 AM Mohan Reddy via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">





<div lang="EN-IN" style="word-wrap:break-word">
<div class="gmail-m_-7010281788245014337WordSection1">
<p class="MsoNormal"><span lang="EN-US">HI Team,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">One of our customer is facing the following error, could you please provide more information on this?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Instruction does not dominate all uses!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  %53 = icmp ugt i32 %47, %27<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">  %50 = select i1 %53, i32 128, i32 8, !dbg !268<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">LLVM ERROR: Broken module found, compilation aborted!</span></p></div></div></blockquote><div><br></div><div>This indicates that an instruction is using a value produced by an instruction later in the program, like if you write in C++:</div><div><br></div><div>foo(a);</div><div>int a = 0;</div><div><br></div><div>This can be introduced by a bug in a transformation (most likely) or by the frontend directly. </div><div><br></div><div>You have to ask the vendor of your compiler though (it looks like it isn't a vanilla LLVM).</div><div><br></div><div>Best,</div><div><br></div><div>-- </div><div>Mehdi</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div lang="EN-IN" style="word-wrap:break-word"><div class="gmail-m_-7010281788245014337WordSection1"><p class="MsoNormal"><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">clang-6.0: error: Xtensa-ld command failed with exit code 1 (use -v to see invocation)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background-color:yellow;background-position:initial initial;background-repeat:initial initial">CTC++ error 8: Cannot execute C or C++ compiler or compilation failed: 0x100</span><span lang="EN-US"> (error from coverage tool)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">ninja: build stopped: subcommand failed.<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Compilation is failed due to compiler error, any inputs to understand this error will be helpful?<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span>Mohan Reddy.<u></u><u></u></span></p>
</div>
</div>

_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>