<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - WebAssembly backend crashes with "cannot select" on AtomicLoad"
   href="https://llvm.org/bugs/show_bug.cgi?id=27124">27124</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>WebAssembly backend crashes with "cannot select" on AtomicLoad
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: WebAssembly
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alonzakai@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16124" name="attach_16124" title="llvm ir">attachment 16124</a> <a href="attachment.cgi?id=16124&action=edit" title="llvm ir">[details]</a></span>
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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>