[llvm-bugs] [Bug 42867] New: fatal error: error in backend: Cannot select: intrinsic %llvm.coro.resume when enabling the new pass manager

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 1 16:52:09 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42867

            Bug ID: 42867
           Summary: fatal error: error in backend: Cannot select:
                    intrinsic %llvm.coro.resume when enabling the new pass
                    manager
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: leonardchan at google.com
                CC: llvm-bugs at lists.llvm.org

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

We run into this error when running libc++ tests on x86_64 after building with
the new pass manager. The test specifically is 

`libc++ ::
std/experimental/language.support/support.coroutines/end.to.end/await_result.pass.cpp`

but we also see this for a few other coroutine tests. Off the top of my head, I
suspect that this might be from a pass that runs only under the legacy PM that
wasn't yet ported to the new PM.

Reproducer attached.

-- 
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/20190801/5e14c8d4/attachment-0001.html>


More information about the llvm-bugs mailing list