Commit e009de2
committed
[LV] Use VPlan pattern matching in adjustRecipesForReductions (NFC)
Replace the assert checking if CurrentLinkI is a CmpInst with a pattern
matching check in the if condition. This uses VPlan-level pattern matching
instead of inspecting the underlying instruction type.1 parent d831f8d commit e009de2
File tree
2 files changed
+5
-4
lines changed- llvm/lib/Transforms/Vectorize
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8727 | 8727 | | |
8728 | 8728 | | |
8729 | 8729 | | |
8730 | | - | |
8731 | | - | |
8732 | | - | |
| 8730 | + | |
8733 | 8731 | | |
8734 | | - | |
8735 | 8732 | | |
8736 | 8733 | | |
8737 | 8734 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
0 commit comments