[PATCH] [CodeGenPrepare] Move extractelement close to store if they can be combined.

hfinkel at anl.gov hfinkel at anl.gov
Thu Oct 23 14:13:41 PDT 2014


================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:3387
@@ +3386,3 @@
+      NewVal =
+          ConstantInt::get(TransitionTy, cast<ConstantInt>(Val)->getValue());
+    else
----------------
Not withstanding my previous comment on division, we could really put more undefs in this vector instead of always using a splat.

http://reviews.llvm.org/D5921






More information about the llvm-commits mailing list