[PATCH] D20774: [InstCombine] look through bitcasts to find selects
    Sanjay Patel via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jun  2 16:04:01 PDT 2016
    
    
  
spatel updated this revision to Diff 59470.
spatel added a comment.
Patch updated:
Use the existing matchSelectFromAndOr() infrastructure to transform the larger select pattern that is present in the motivating example.
Hopefully, this alleviates any concern about the cost of bitcasts because we're eliminating all of the logic/sext instructions.
http://reviews.llvm.org/D20774
Files:
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  test/Transforms/InstCombine/logical-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20774.59470.patch
Type: text/x-patch
Size: 8602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160602/f1c7c816/attachment.bin>
    
    
More information about the llvm-commits
mailing list