[PATCH] D114666: [InstSimplify] Simplify bool icmp with not in LHS

Hasyimi Bahrudin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 9 07:02:32 PST 2021


hasyimibhar updated this revision to Diff 393153.
hasyimibhar added a comment.

- Fix missing break
- Use m_Not instead of m_Xor
- Add more test cases


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114666/new/

https://reviews.llvm.org/D114666

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstSimplify/icmp-not-bool-constant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114666.393153.patch
Type: text/x-patch
Size: 12217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211209/f0868474/attachment.bin>


More information about the llvm-commits mailing list