[PATCH] InstCombine: extract instead of shuffle when performing vector/array type punning

JF Bastien jfb at chromium.org
Wed Feb 18 12:58:40 PST 2015


================
Comment at: lib/Transforms/InstCombine/InstCombineVectorOps.cpp:1087
@@ -983,3 +1086,3 @@
   if (!LHSShuffle && !RHSShuffle)
     return MadeChange ? &SVI : nullptr;
 
----------------
Note that the code I'm adding must precede this code, which causes the visitor to bail early.

http://reviews.llvm.org/D7734

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list