[llvm-bugs] [Bug 51525] New: HIPCLANGCOMPILE : fatal error : error in backend: Cannot select: intrinsic %llvm.amdgcn.permlanex16

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 18 10:30:25 PDT 2021


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

            Bug ID: 51525
           Summary: HIPCLANGCOMPILE : fatal error : error in backend:
                    Cannot select: intrinsic %llvm.amdgcn.permlanex16
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: evgeny.mankov at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Created attachment 25158
  --> https://bugs.llvm.org/attachment.cgi?id=25158&action=edit
Error log

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
>> log.txt 2>&1

-- 
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/20210818/81ce2413/attachment.html>


More information about the llvm-bugs mailing list