Mohan Reddy via llvm-dev
2021-Feb-11 10:26 UTC
[llvm-dev] LLVM ERROR: Broken module found, compilation aborted!
HI Team, One of our customer is facing the following error, could you please provide more information on this? Instruction does not dominate all uses! %53 = icmp ugt i32 %47, %27 %50 = select i1 %53, i32 128, i32 8, !dbg !268 LLVM ERROR: Broken module found, compilation aborted! clang-6.0: error: Xtensa-ld command failed with exit code 1 (use -v to see invocation) CTC++ error 8: Cannot execute C or C++ compiler or compilation failed: 0x100 (error from coverage tool) ninja: build stopped: subcommand failed. Compilation is failed due to compiler error, any inputs to understand this error will be helpful? Thanks, Mohan Reddy. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210211/324fd1e7/attachment.html>
Mehdi AMINI via llvm-dev
2021-Feb-12 20:35 UTC
[llvm-dev] LLVM ERROR: Broken module found, compilation aborted!
On Fri, Feb 12, 2021 at 11:18 AM Mohan Reddy via llvm-dev < llvm-dev at lists.llvm.org> wrote:> HI Team, > > > > One of our customer is facing the following error, could you please > provide more information on this? > > > > Instruction does not dominate all uses! > > %53 = icmp ugt i32 %47, %27 > > %50 = select i1 %53, i32 128, i32 8, !dbg !268 > > LLVM ERROR: Broken module found, compilation aborted! >This indicates that an instruction is using a value produced by an instruction later in the program, like if you write in C++: foo(a); int a = 0; This can be introduced by a bug in a transformation (most likely) or by the frontend directly. You have to ask the vendor of your compiler though (it looks like it isn't a vanilla LLVM). Best, -- Mehdi> clang-6.0: error: Xtensa-ld command failed with exit code 1 (use -v to see > invocation) > > CTC++ error 8: Cannot execute C or C++ compiler or compilation failed: > 0x100 (error from coverage tool) > > ninja: build stopped: subcommand failed. > > > > Compilation is failed due to compiler error, any inputs to understand this > error will be helpful? > > > > Thanks, > > Mohan Reddy. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210212/801ca37f/attachment.html>