[LLVMbugs] [Bug 20677] New: [AVX512] assertion hits in getSimpleVT() when using avx512.mask.loadu.pd.512 intrinsic

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 15 10:42:29 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20677

            Bug ID: 20677
           Summary: [AVX512] assertion hits in getSimpleVT() when using
                    avx512.mask.loadu.pd.512 intrinsic
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12905
  --> http://llvm.org/bugs/attachment.cgi?id=12905&action=edit
test case

With top of tree and the attached program, I'm seeing the following. The issue
seems to be related to using @llvm.x86.avx512.mask.loadu.pd.512. I have been
able to successfully use the loadu.ps.512 variant, for what it's worth. (It
also looks like neither of these has a test in test/CodeGen/X86, FWIW).

% llc -mcpu=knl -filetype=asm bug.ll -o -
    .section    __TEXT,__text,regular,pure_instructions
    .macosx_version_min 13, 3
Assertion failed: (isSimple() && "Expected a SimpleValueType!"), function
getSimpleVT, file /Users/mpharr/llvm-dev-src/include/llvm/CodeGen/ValueTypes.h,
line 205.
0  llc                      0x0000000109969438 void
std::__1::seed_seq::generate<unsigned int*>(unsigned int*, unsigned int*) +
11736
1  llc                      0x0000000109969924 void
std::__1::seed_seq::generate<unsigned int*>(unsigned int*, unsigned int*) +
12996
2  libsystem_platform.dylib 0x00007fff8d2115aa _sigtramp + 26
3  libsystem_platform.dylib 000000000000000000 _sigtramp + 1927211632
4  llc                      0x00000001099696d6 void
std::__1::seed_seq::generate<unsigned int*>(unsigned int*, unsigned int*) +
12406
5  llc                      0x00000001099696b1 void
std::__1::seed_seq::generate<unsigned int*>(unsigned int*, unsigned int*) +
12369
6  llc                      0x00000001091d98cb void
std::__1::vector<std::__1::pair<llvm::MVT, llvm::TargetRegisterClass const*>,
std::__1::allocator<std::__1::pair<llvm::MVT, llvm::TargetRegisterClass const*>
> >::__push_back_slow_path<std::__1::pair<llvm::MVT, llvm::TargetRegisterClass
const*> >(std::__1::pair<llvm::MVT, llvm::TargetRegisterClass const*>&&) +
315339
7  llc                      0x00000001091b0bae void
std::__1::vector<std::__1::pair<llvm::MVT, llvm::TargetRegisterClass const*>,
std::__1::allocator<std::__1::pair<llvm::MVT, llvm::TargetRegisterClass const*>
> >::__push_back_slow_path<std::__1::pair<llvm::MVT, llvm::TargetRegisterClass
const*> >(std::__1::pair<llvm::MVT, llvm::TargetRegisterClass const*>&&) +
148142
8  llc                      0x00000001091b0222 void
std::__1::vector<std::__1::pair<llvm::MVT, llvm::TargetRegisterClass const*>,
std::__1::allocator<std::__1::pair<llvm::MVT, llvm::TargetRegisterClass const*>
> >::__push_back_slow_path<std::__1::pair<llvm::MVT, llvm::TargetRegisterClass
const*> >(std::__1::pair<llvm::MVT, llvm::TargetRegisterClass const*>&&) +
145698
9  llc                      0x00000001093539d3 void
std::__1::vector<llvm::GCRoot, std::__1::allocator<llvm::GCRoot>
>::__push_back_slow_path<llvm::GCRoot>(llvm::GCRoot&&) + 35251
10 llc                      0x0000000109352bf7 void
std::__1::vector<llvm::GCRoot, std::__1::allocator<llvm::GCRoot>
>::__push_back_slow_path<llvm::GCRoot>(llvm::GCRoot&&) + 31703
11 llc                      0x000000010935023a void
std::__1::vector<llvm::GCRoot, std::__1::allocator<llvm::GCRoot>
>::__push_back_slow_path<llvm::GCRoot>(llvm::GCRoot&&) + 21018
12 llc                      0x00000001090de689 std::__1::__tree<unsigned short,
std::__1::less<unsigned short>, std::__1::allocator<unsigned short>
>::destroy(std::__1::__tree_node<unsigned short, void*>*) + 265
13 llc                      0x000000010948b95c llvm::raw_ostream&
llvm::WriteGraph<llvm::MachineFunction const*>(llvm::raw_ostream&,
llvm::MachineFunction const* const&, bool, llvm::Twine const&) + 5708
14 llc                      0x00000001098f6f9d void*
llvm::object_creator<llvm::LeakDetectorImpl<void> >() + 26189
15 llc                      0x00000001098f722b void*
llvm::object_creator<llvm::LeakDetectorImpl<void> >() + 26843
16 llc                      0x00000001098f785c void*
llvm::object_creator<llvm::LeakDetectorImpl<void> >() + 28428
17 llc                      0x0000000108aacd29
18 libdyld.dylib            0x00007fff8c1155fd start + 1
Stack dump:
0.    Program arguments: /Users/mpharr/llvm-dev/bin/llc -mcpu=knl -filetype=asm
bug.ll -o - 
1.    Running pass 'Function Pass Manager' on module 'bug.ll'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@add___UM_vydvyd'
[1]    32213 illegal hardware instruction  ~/llvm-dev/bin/llc -mcpu=knl
-filetype=asm bug.ll -o -

-- 
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/20140815/14ccc17f/attachment.html>


More information about the llvm-bugs mailing list