[PATCH] D146512: [TLI] SimplifySetCC - Fold ~X >/< ~Y --> Y >/< X

Jun Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 07:52:18 PDT 2023


junaire updated this revision to Diff 507364.
junaire added a comment.

Use SelectionDAG::isConstantIntBuildVectorOrConstantInt to support vector constant.


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/cmov.ll
  llvm/test/CodeGen/X86/setcc-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146512.507364.patch
Type: text/x-patch
Size: 15431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230322/92799cd4/attachment.bin>


More information about the llvm-commits mailing list