Commit 7073ec5
committed
[InstCombine] canonicalize more zext-and-of-bool compare to narrow and
https://alive2.llvm.org/ce/z/vBNiiM
This matches variants of patterns that were folded with:
b5a93611 parent 7898426 commit 7073ec5
File tree
2 files changed
+10
-11
lines changed- llvm
- lib/Transforms/InstCombine
- test/Transforms/InstCombine
2 files changed
+10
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1940 | 1940 | | |
1941 | 1941 | | |
1942 | 1942 | | |
| 1943 | + | |
| 1944 | + | |
1943 | 1945 | | |
1944 | | - | |
| 1946 | + | |
1945 | 1947 | | |
1946 | | - | |
| 1948 | + | |
1947 | 1949 | | |
1948 | 1950 | | |
1949 | 1951 | | |
1950 | | - | |
1951 | 1952 | | |
1952 | 1953 | | |
1953 | 1954 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4346 | 4346 | | |
4347 | 4347 | | |
4348 | 4348 | | |
4349 | | - | |
4350 | | - | |
4351 | 4349 | | |
4352 | 4350 | | |
4353 | | - | |
4354 | | - | |
4355 | | - | |
| 4351 | + | |
| 4352 | + | |
| 4353 | + | |
| 4354 | + | |
4356 | 4355 | | |
4357 | 4356 | | |
4358 | 4357 | | |
| |||
4363 | 4362 | | |
4364 | 4363 | | |
4365 | 4364 | | |
4366 | | - | |
4367 | | - | |
4368 | | - | |
| 4365 | + | |
| 4366 | + | |
4369 | 4367 | | |
4370 | 4368 | | |
4371 | 4369 | | |
| |||
0 commit comments