[llvm-bugs] [Bug 43060] New: wasm32-unknown-emscripten backend: PHINode should have one entry for each predecessor of its parent basic block!
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 20 07:05:26 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43060
Bug ID: 43060
Summary: wasm32-unknown-emscripten backend: PHINode should have
one entry for each predecessor of its parent basic
block!
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: pmpp.pub at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
Created attachment 22399
--> https://bugs.llvm.org/attachment.cgi?id=22399&action=edit
main-ceb4bc.c main-ceb4bc.sh + diff of macro line generating crash
using clang-10 from CI of emscripten tip of tree with clang version 10.0.0
(/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project
edfaee08115376467d1c95573de991aebfdaeb42)
adding one more jump table causes:
PHINode should have one entry for each predecessor of its parent basic block!
%setjmpTableSize998 = phi i32 [ %setjmpTableSize999, %indirectgoto ], [
%setjmpTableSize999, %indirectgoto ], [ %setjmpTableSize996, %while.end91 ]
in function main_loop_or_step
fatal error: error in backend: Broken function found, compilation aborted!
clang-10: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 10.0.0
(/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project
edfaee08115376467d1c95573de991aebfdaeb42)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /opt/sdk/emsdk-upstream/upstream/bin
clang-10: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ and include the crash backtrace, preprocessed source,
and associated run script.
clang-10: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-10: note: diagnostic msg: /tmp/main-39aafd.c
clang-10: note: diagnostic msg: /tmp/main-39aafd.sh
clang-10: note: diagnostic msg:
********************
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190820/f4d62c5d/attachment.html>
More information about the llvm-bugs
mailing list