[llvm-bugs] [Bug 28974] New: [AVX512]: fatal error: error in backend: Cannot select: 0x7fbc0022a050

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 14 14:13:05 PDT 2016


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

            Bug ID: 28974
           Summary: [AVX512]: fatal error: error in backend: Cannot
                    select: 0x7fbc0022a050
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: wenzel.jakob at epfl.ch
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16946
  --> https://llvm.org/bugs/attachment.cgi?id=16946&action=edit
CPP file causing the crash

I've run into the attached codegen crash with Clang trunk.

fatal error: error in backend: Cannot select: 0x7fbc0022a050: v4i1 =
BUILD_VECTOR TargetConstant:i1<0>, TargetConstant:i1<0>, TargetConstant:i1<0>,
TargetConstant:i1<0>
  0x7fbc00229f00: i1 = TargetConstant<0>
  0x7fbc00229f00: i1 = TargetConstant<0>
  0x7fbc00229f00: i1 = TargetConstant<0>
  0x7fbc00229f00: i1 = TargetConstant<0>
In function: _Z7runTestIN4simd5ArrayIdLm4ELb0ELNS0_12RoundingModeE4EEEEvv
clang-4.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 4.0.0 (trunk 277963)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Users/wenzel/llvm/build/bin
clang-4.0: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-4.0: note: diagnostic msg:


It is likely related to usage of the AVX512VL intrinsics

_mm256_cmp_epi64_mask, _mm256_mask_i64scatter_epi64, and
_mm256_mask_i64scatter_pd

(no crash occurs when these functions are not called).

-- 
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/20160814/87903ded/attachment.html>


More information about the llvm-bugs mailing list