[PATCH] D146512: [TLI] SimplifySetCC - Fold ~X s>/u< ~Y --> Y s>/u< X
Jun Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 21 05:26:50 PDT 2023
junaire updated this revision to Diff 506926.
junaire added a comment.
1. Use `llvm::isBitwiseNot` to simplify code.
2. Support X > ~C --> X < ~C
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146512/new/
https://reviews.llvm.org/D146512
Files:
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/X86/setcc-combine.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146512.506926.patch
Type: text/x-patch
Size: 7515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230321/17e59815/attachment.bin>
More information about the llvm-commits
mailing list