https://bugs.llvm.org/show_bug.cgi?id=40080
Bug ID: 40080
Summary: [LoopVectorizer] crash with -force-vector-width=2
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Loop Optimizer
Assignee: unassignedb...@nondot.org
Reporter: pauls...@linux.vnet.ibm.com
CC: llvm-bugs@lists.llvm.org
Created attachment 21245
--> https://bugs.llvm.org/attachment.cgi?id=21245&action=edit
reduced testcase
This test case contains a loop with a load that gets a disabling (300000) cost,
so normally this would not get vectorized.
Still, if vectorization is forced bad code is generated, which should probably
be investigated:
opt -mtriple=s390x-unknown-linux -mcpu=z13 -o out.opt.ll tc_LV_width2.ll -O3
-S -force-vector-width=2 -unroll-count=1
Instruction does not dominate all uses!
%17 = phi <2 x double> [ %10, %pred.load.continue ], [ %16, %pred.load.if3 ]
%2 = shufflevector <2 x double> %vector.recur, <2 x double> %17, <2 x i32>
<i32 1, i32 2>
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs