<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - HIPCLANGCOMPILE : fatal error : error in backend: Cannot select: intrinsic %llvm.amdgcn.permlanex16"
   href="https://bugs.llvm.org/show_bug.cgi?id=51526">51526</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>HIPCLANGCOMPILE : fatal error : error in backend: Cannot select: intrinsic %llvm.amdgcn.permlanex16
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Windows NT
          </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>LLVM Codegen
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>evgeny.mankov@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Setting option '-femit-all-decls' leads to the error in backend while compiling
HIP source.

Command line to reproduce:
clang.exe -x hip -c -std=c++14 -fms-extensions -fms-compatibility
-fdiagnostics-format=msvc -v --cuda-gpu-arch=gfx906 -D__HIP_ARCH_GFX906__=1 
-D_DEBUG -D_MT -D_DLL -Xclang --dependent-lib=msvcrtd -Xclang
--dependent-lib=oldnames
--hip-device-lib-path="d:\HIP_VS\2343680_artifacts\hip\lib\bitcode" -D
__HIP_ROCclr__ -D __clang__ -D __HIP__ -D _DEBUG -D _CONSOLE -D _UNICODE -D
UNICODE -femit-all-decls MatrixTranspose.hip -o Debug\MatrixTranspose.hip.obj
<span class="quote">>> log.txt 2>&1</span ></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>