Match new shuffle codegen for MOVHPD patterns (PR21791)
Demikhovsky, Elena
elena.demikhovsky at intel.com
Wed Dec 10 05:20:09 PST 2014
Hi Sanjay,
I suggest to leave the store pattern for unpck inside.
All other LGTM
- Elena
-----Original Message-----
From: Sanjay Patel [mailto:spatel at rotateright.com]
Sent: Wednesday, December 10, 2014 02:31
To: spatel at rotateright.com; hfinkel at anl.gov; Demikhovsky, Elena; Andrea_DiBiagio at sn.scee.net; llvm-dev at redking.me.uk
Cc: llvm-commits at cs.uiuc.edu
Subject: [PATCH] Match new shuffle codegen for MOVHPD patterns (PR21791)
Hi hfinkel, delena, andreadb, RKSimon,
This patch adds patterns to match SSE (shufpd) and AVX (vpermilpd) shuffle codegen when storing the high element of a v2f64. The existing patterns were only checking for an unpckh type of shuffle. ( http://llvm.org/bugs/show_bug.cgi?id=21791 )
http://reviews.llvm.org/D6586
Files:
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/extractelement-load.ll
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the llvm-commits
mailing list