[PATCH] D140798: [InstCombine] Fold zero check followed by decrement to usub.sat

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 05:22:56 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6b9317f52a66: [InstCombine] Fold zero check followed by decrement to usub.sat (authored by clubby789, committed by nikic).
Herald added a subscriber: StephenFan.

Changed prior to commit:
  https://reviews.llvm.org/D140798?vs=486920&id=487393#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140798

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/saturating-add-sub.ll
  llvm/test/Transforms/InstCombine/unsigned_saturated_sub.ll
  llvm/test/Transforms/PhaseOrdering/pr44461-br-to-switch-rotate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140798.487393.patch
Type: text/x-patch
Size: 5301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230109/f3b8b417/attachment.bin>


More information about the llvm-commits mailing list