[PATCH] D109807: [InstCombine] Narrow type of logical operation chains where one side is an extend
    Usman Nadeem via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Sep 14 20:33:55 PDT 2021
    
    
  
mnadeem created this revision.
Herald added a subscriber: hiraditya.
mnadeem requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Reassociate chains of `extend(X) | (extend(Y) | Z)` --> `(extend(X) | extend(Y)) | Z`
which will then get optimized to --> `extend(X | Y) | Z`
Helps with vectorization.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D109807
Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/and-xor-or.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109807.372626.patch
Type: text/x-patch
Size: 10040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210915/cb4bf50b/attachment.bin>
    
    
More information about the llvm-commits
mailing list