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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to