[PATCH] D159328: [InstCombine][WIP] Don't canonicalize select of bools if it costs an instruction

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 12:54:47 PDT 2023


goldstein.w.n updated this revision to Diff 556699.
goldstein.w.n added a comment.

Rebase


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159328

Files:
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/branch.ll
  llvm/test/Transforms/InstCombine/icmp-select.ll
  llvm/test/Transforms/InstCombine/icmp-with-selects.ll
  llvm/test/Transforms/InstCombine/nested-select.ll
  llvm/test/Transforms/InstCombine/not.ll
  llvm/test/Transforms/InstCombine/select-and-or.ll
  llvm/test/Transforms/InstCombine/select-bitext.ll
  llvm/test/Transforms/InstCombine/select-safe-transforms.ll
  llvm/test/Transforms/InstCombine/select.ll
  llvm/test/Transforms/InstCombine/sink-not-into-logical-and.ll
  llvm/test/Transforms/InstCombine/sink-not-into-logical-or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159328.556699.patch
Type: text/x-patch
Size: 33001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230913/07420ff9/attachment.bin>


More information about the llvm-commits mailing list