[llvm-bugs] [Bug 51526] 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:31:53 PDT 2021


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

            Bug ID: 51526
           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

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/a3f314c0/attachment.html>


More information about the llvm-bugs mailing list