[PATCH] Improve Cost model for SLPVectorizer when we have a vector division by power of 2

Sanjay Patel spatel at rotateright.com
Thu Aug 21 08:29:31 PDT 2014


================
Comment at: lib/Target/X86/X86TargetTransformInfo.cpp:218
@@ +217,3 @@
+       {ISD::SDIV, MVT::v8i32, 15}, // vpmuldq sequence
+       {ISD::UDIV, MVT::v8i32, 15}, // vpmuludq sequence
+      };
----------------
Nit: the changes to the bracket spacing are not consistent with the rest of the file. Can you adjust all of those in a later checkin so this patch is minimal?

http://reviews.llvm.org/D4971






More information about the llvm-commits mailing list