https://bugs.llvm.org/show_bug.cgi?id=41125
Bug ID: 41125
Summary: Difference in undef vector simplification
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
https://reviews.llvm.org/D59363#inline-526625
https://reviews.llvm.org/D59363#inline-526625
define <4 x i32> @test_urem_div_undef(<4 x i32> %X) nounwind readnone {
%urem = urem <4 x i32> %X, <i32 5, i32 5, i32 undef, i32 5>
%cmp = icmp eq <4 x i32> %urem, <i32 0, i32 0, i32 0, i32 0>
%ret = zext <4 x i1> %cmp to <4 x i32>
ret <4 x i32> %ret
}
-instsimplify says it's zeroinitializer
but codegen will say it's splat of `1`.
--
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