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: unassignedclangb...@nondot.org
          Reporter: evgeny.man...@gmail.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to