[llvm-commits] [PATCH] - Instcombine vector code optimizations

Rotem, Nadav nadav.rotem at intel.com
Fri Apr 8 21:53:48 PDT 2011


Ping.

-----Original Message-----
From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Rotem, Nadav
Sent: Thursday, April 07, 2011 14:24
To: llvm-commits at cs.uiuc.edu
Subject: [llvm-commits] [PATCH] - Instcombine vector code optimizations

Hi, 

Please review the attached patch. I implemented two main optimizations:

1. Getelementptr (PTR, extract (vcast)))  -> Getelementptr (PTR, cast (extract)))  scalarize the casting of pointer index. 
   This generates much better code in cases where the gep index comes from a vector. 

2. Extend the EvaluateInDifferentType and CanEvaluateXXX to support Extract/Insert/ShuffleElement instructions.

Nadav


---------------------------------------------------------------------
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.
---------------------------------------------------------------------
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