[llvm-bugs] [Bug 27291] New: [X86] Failure to fold v2i32 load into CVTDQ2PD
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Apr 8 09:24:22 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27291
Bug ID: 27291
Summary: [X86] Failure to fold v2i32 load into CVTDQ2PD
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: llvm-dev at redking.me.uk
CC: llvm-bugs at lists.llvm.org, spatel+llvm at rotateright.com
Classification: Unclassified
define <2 x double> @cvt_2i32_2f64(<2 x i32>* %p, <2 x double>* %q) {
%n = load <2 x i32>, <2 x i32>* %p
%z = sitofp <2 x i32> %n to <2 x double>
ret <2 x double> %z
}
llc -mtriple=x86_64-unknown -mcpu=btver2:
cvt_2i32_2f64:
vmovq (%rdi), %xmm0 # xmm0 = mem[0],zero
vcvtdq2pd %xmm0, %xmm0
retq
(v)cvtdq2pd supports either an XMM register or a 64-bit memory location as the
source parameter but it appears the patterns are missing to fold the 64-bit
load.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160408/33a4475b/attachment-0001.html>
More information about the llvm-bugs
mailing list