https://bugs.llvm.org/show_bug.cgi?id=46178
Bug ID: 46178
Summary: Assertion `idx < size()' failed in
combineX86ShufflesRecursively with -O3 -march=skx
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: vsevolod.livins...@frtk.ru
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org
Error:
>$ clang++ -O3 -march=skx -c func.cpp
clang++: /llvm/include/llvm/ADT/SmallVector.h:176: T&
llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2>
>::operator[](llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2>
>::size_type) [with T = int; <template-parameter-1-2> = void;
llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::reference =
int&; llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::size_type
= long unsigned int]: Assertion `idx < size()' failed.
Reproducer:
extern short a[];
void b(long d, long e[][6][70]) {
for (int c = 0; c < 16; c += (int)d + 702798106)
a[c] = char(e[1][2][c]);
}
LLVM version:
clang version 11.0.0 (https://github.com/llvm/llvm-project.git
16437992cac249f6fe1efd392d20e3469b47e39e)
--
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