Skip to content
Commit 6b9317f5 authored by Jamie Hill-Daniel's avatar Jamie Hill-Daniel Committed by Nikita Popov
Browse files

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

Fold (a == 0) : 0 ? a - 1 into usub.sat(a, 1).

Differential Revision: https://reviews.llvm.org/D140798
parent 8f4795ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment