-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[InstSimplify] Simplify select i1 ConstExpr, i1 true, i1 false to Con…
…stExpr `select i1 non-const, i1 true, i1 false` has been optimized to `non-const`. There is no reason that we can not optimize `select i1 ConstExpr, i1 true, i1 false` to `ConstExpr`. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D151631
- Loading branch information
luxufan
committed
Jun 3, 2023
1 parent
39aa0f5
commit 1ac99bc
Showing
3 changed files
with
28 additions
and
18 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
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