[llvm-bugs] [Bug 27124] New: WebAssembly backend crashes with "cannot select" on AtomicLoad

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 29 18:16:40 PDT 2016


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

            Bug ID: 27124
           Summary: WebAssembly backend crashes with "cannot select" on
                    AtomicLoad
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: WebAssembly
          Assignee: unassignedbugs at nondot.org
          Reporter: alonzakai at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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

STR: 

llc cmpxchg_volatile.ll -march=wasm32 -filetype=asm

LLVM ERROR: Cannot select: 0xa778bf0: i32,ch = AtomicLoad<Volatile LD1[%12]>
0xa754a38, 0xa7788f0
  0xa7788f0: i32,ch = CopyFromReg 0xa754a38, Register:i32 %vreg0
    0xa778af0: i32 = Register %vreg0
In function: _Z7do_testIVNSt3__16atomicIcEEcEvv

This affects building "hello world" using iostream.

-- 
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/20160330/6d0d660c/attachment.html>


More information about the llvm-bugs mailing list