Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ValueTracking] peek through extends in haveNoCommonBitsSet
In cases with matching extends, this allows changing an 'add' into an 'or' and narrowing the 'or' which then simplifies to a constant. In cases with opposite extends, we just convert to an 'or' currently, but that could be reduced too. https://alive2.llvm.org/ce/z/fTHzdb
- Loading branch information
1 parent
c8cba0b
commit 7520d18
Showing
2 changed files
with
14 additions
and
26 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