[PATCH] SROA: extract instead of shuffle when performing vector/array	type punning
    JF Bastien 
    jfb at chromium.org
       
    Sat Feb  7 17:16:26 PST 2015
    
    
  
Hi chandlerc, jvoung,
The resulting code is shorter and simpler to optimize. The existing code was more general, and still serves as the fallback case when the incoming vector type and the outgoing scalar are incompatible. This code should trigger more often than through type punning, but that's the user code I saw it trigger on.
http://reviews.llvm.org/D7487
Files:
  lib/Transforms/Scalar/SROA.cpp
  test/Transforms/SROA/vector-promotion.ll
EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7487.19540.patch
Type: text/x-patch
Size: 6877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150208/4bd62093/attachment.bin>
    
    
More information about the llvm-commits
mailing list