[PATCH][DAGCombiner] Factor out new function distributeTruncateThroughAnd

Adam Nemet anemet at apple.com
Mon Mar 3 14:17:34 PST 2014


Currently this code is duplicated across visitSHL, visitSRA and visitSRL.  The
plan is to also add rotates as clients to this new function.

There is no functional change intended here.

Adam

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-DAGCombiner-Factor-out-distributeTruncateThroughAnd.patch
Type: application/octet-stream
Size: 6069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140303/b79ad133/attachment.obj>


More information about the llvm-commits mailing list