[PATCH] D109151: [InstCombine] Convert xor (ashr X, BW-1), C -> select(X >=s 0, C, ~C)

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 29 03:19:30 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9020e22a876e: [InstCombine] Convert xor (ashr X, BW-1), C -> select(X >=s 0, C, ~C) (authored by dmgreen).

Changed prior to commit:
  https://reviews.llvm.org/D109151?vs=377634&id=383287#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109151

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/truncating-saturate.ll
  llvm/test/Transforms/InstCombine/xor-ashr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109151.383287.patch
Type: text/x-patch
Size: 16230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211029/08ccc86b/attachment.bin>


More information about the llvm-commits mailing list