forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[InstCombine] Optimize implementations of min/max for bool
umin.i1 -> and : https://alive2.llvm.org/ce/z/6FNH6k smin.i1 -> or : https://alive2.llvm.org/ce/z/h96S6o umax.i1 -> or : https://alive2.llvm.org/ce/z/XHdeVk smax.i1 -> and : https://alive2.llvm.org/ce/z/fkxKJx umin.v4i1 -> and : https://alive2.llvm.org/ce/z/yV4VgP smin.v4i1 -> or : https://alive2.llvm.org/ce/z/e9TF68 umax.v4i1 -> or : https://alive2.llvm.org/ce/z/tfNyfK smax.v4i1 -> and : https://alive2.llvm.org/ce/z/0__Af2 Reviewed By: goldstein.w.n, bryanpkc Differential Revision: https://reviews.llvm.org/D158915
- Loading branch information
Showing
2 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters