https://bugs.llvm.org/show_bug.cgi?id=34267
Bug ID: 34267
Summary: [ICE][coroutines] Instruction does not dominate all
uses
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangb...@nondot.org
Reporter: enieb...@boost.org
CC: llvm-bugs@lists.llvm.org
Created attachment 19021
--> https://bugs.llvm.org/attachment.cgi?id=19021&action=edit
repro
clang++ corobug.cpp -Wall -Wextra -O2 -march=native -std=gnu++2a
"-fcoroutines-ts"
results in:
Instruction does not dominate all uses!
%23 = call noalias nonnull i8* @llvm.coro.begin(token %12, i8* %21), !noalias
!45
%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
fbdebfae845511dae1ff852aa303205a1dee5ebf)
(https://github.com/llvm-mirror/llvm.git
3ef5d9d5ddb0b40bea3f7bcb2163aeff0280acdb)
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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs