[llvm-bugs] [Bug 34267] New: [ICE][coroutines] Instruction does not dominate all uses

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 21 13:48:02 PDT 2017


            Bug ID: 34267
           Summary: [ICE][coroutines] Instruction does not dominate all
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: eniebler at boost.org
                CC: llvm-bugs at lists.llvm.org

Created attachment 19021
  --> https://bugs.llvm.org/attachment.cgi?id=19021&action=edit

clang++ corobug.cpp -Wall -Wextra -O2 -march=native -std=gnu++2a

results in:

Instruction does not dominate all uses!
  %23 = call noalias nonnull i8* @llvm.coro.begin(token %12, i8* %21), !noalias
  %63 = phi i8* [ %23, %61 ]
fatal error: error in backend: Broken function found, compilation aborted!
clang-6.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 6.0.0 (https://github.com/llvm-mirror/clang.git
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/wandbox/clang-head/bin

(See https://wandbox.org/permlink/Xb9KQ90mgHyovhXF)

Compiling without optimization results in no error.

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/20170821/20558e2e/attachment.html>

More information about the llvm-bugs mailing list