[PATCH] D54959: [X86] Add a combine for back to back VSRAI instructions
    Craig Topper via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Nov 27 10:58:06 PST 2018
    
    
  
craig.topper created this revision.
craig.topper added reviewers: spatel, RKSimon.
Expansion of SIGN_EXTEND_INREG can create a VSRAI instruction. If there is already a VSRAI after it, we should combine them into a larger VSRAI
https://reviews.llvm.org/D54959
Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/Analysis/CostModel/X86/testshiftashr.ll
  test/CodeGen/X86/vector-shift-ashr-sub128.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54959.175533.patch
Type: text/x-patch
Size: 9290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181127/3efacfb6/attachment-0001.bin>
    
    
More information about the llvm-commits
mailing list