[PATCH] D94861: [InstCombine,InstSimplify] Optimize select followed by and/or/xor

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 16:13:32 PST 2021


aqjune updated this revision to Diff 317434.
aqjune added a comment.

Use ConstantExpr::getNot


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94861

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/select-safe-transforms.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94861.317434.patch
Type: text/x-patch
Size: 10003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210119/cefbab45/attachment.bin>


More information about the llvm-commits mailing list