[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 01:50:45 PDT 2023


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

Revert 'Make N0.getValueType().isInteger() an assert.' since it causes a lot of crashes in the tests.


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.507266.patch
Type: text/x-patch
Size: 28946 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230322/6bbb5f60/attachment.bin>


More information about the llvm-commits mailing list