[PATCH] D20050: [TargetLowering] make helper function for SetCC + and optimizations (NFC)
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Sat May 7 10:16:02 PDT 2016
spatel created this revision.
spatel added reviewers: kbsmith1, hfinkel, andreadb.
spatel added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.
After looking at D19087 again, it occurred to me that we can do better. If we consolidate the valueHasExactlyOneBitSet() transforms, we won't incur extra overhead from calling it a 2nd time, and we can shrink SimplifySetCC() a bit. No functional change intended.
http://reviews.llvm.org/D20050
Files:
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/TargetLowering.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20050.56502.patch
Type: text/x-patch
Size: 6210 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160507/adac6adf/attachment.bin>
More information about the llvm-commits
mailing list