https://bugs.llvm.org/show_bug.cgi?id=46228
Bug ID: 46228
Summary: [LV] Loop vectorizer crashes trying to version for
unit stride at -Os/-Oz
Product: libraries
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Loop Optimizer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 23585
--> https://bugs.llvm.org/attachment.cgi?id=23585&action=edit
Attached ll raises an assert compiled with "opt -loop-vectorize -S"
Loop access analysis may generate runtime checks to version a loop for unit
strides, under -Os/-Oz, when loop vectorization is enabled. This later raises
the loop vectorizer's assert: "Cannot SCEV check stride or overflow when
optimizing for size".
Reproduced by compiling the attached with "opt -loop-vectorize -S".
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs