diff options
author | Dávid Bolvanský <david.bolvansky@gmail.com> | 2021-04-23 21:12:51 +0200 |
---|---|---|
committer | Dávid Bolvanský <david.bolvansky@gmail.com> | 2021-04-23 21:13:07 +0200 |
commit | 9aee07abd0cacc960bb06870ce3eedd20545b28b (patch) | |
tree | 07d2f0421ce94bf8f04132f5e0189e8bd9eee6ca /llvm/lib/CodeGen/MachineCSE.cpp | |
parent | 0764c8af7631483fbfd2641ba58f450f00059588 (diff) | |
download | llvm-9aee07abd0cacc960bb06870ce3eedd20545b28b.zip llvm-9aee07abd0cacc960bb06870ce3eedd20545b28b.tar.gz llvm-9aee07abd0cacc960bb06870ce3eedd20545b28b.tar.bz2 |
[InstCombine] X - usub.sat(X, Y) => umin(X, Y)
Pattern regressed in LLVM 9 with the introduction of usub.sat.
Fixes https://bugs.llvm.org/show_bug.cgi?id=42178#c2
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D101184
Diffstat (limited to 'llvm/lib/CodeGen/MachineCSE.cpp')
0 files changed, 0 insertions, 0 deletions