https://llvm.org/bugs/show_bug.cgi?id=23886
Bug ID: 23886
Summary: broadcast of i64 generates broadcast of v2i64
(vbroadcasti128)
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
define <4 x i64> @broadcast64(<2 x i64>* %src) {
%l = load <2 x i64>* %src, align 16
%r = shufflevector <2 x i64> %l, <2 x i64> undef, <4 x i32> <i32 0, i32 0,
i32 0, i32 0>
ret <4 x i64> %r
}
->
vbroadcasti128 (%rdi), %ymm0
whereas I expected (without folding):
vmovaps (%rdi), %xmm0
vbroadcastq %xmm0, %ymm0
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs