Commit 2d0d65b
committed
[VPlan] Create edge masks all cases up front needed.(NFC)
Similarly to how block masks are created up front and later only
retrieved also make sure masks are created in cases where edge masks are
needed, i.e. blend recipes.
Creating block-in masks for all blocks in the loop also ensures edge
masks for all relevant edges have been created. Later, the new
getEdgeMask can be used to look up cached edge masks.
This makes sure edge masks are available in all cases for
#76090.1 parent a7cfff8 commit 2d0d65b
File tree
2 files changed
+23
-5
lines changed- llvm/lib/Transforms/Vectorize
2 files changed
+23
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8038 | 8038 | | |
8039 | 8039 | | |
8040 | 8040 | | |
| 8041 | + | |
| 8042 | + | |
| 8043 | + | |
| 8044 | + | |
| 8045 | + | |
| 8046 | + | |
| 8047 | + | |
| 8048 | + | |
| 8049 | + | |
| 8050 | + | |
| 8051 | + | |
8041 | 8052 | | |
8042 | 8053 | | |
8043 | 8054 | | |
| |||
8728 | 8739 | | |
8729 | 8740 | | |
8730 | 8741 | | |
8731 | | - | |
8732 | | - | |
8733 | | - | |
8734 | | - | |
| 8742 | + | |
| 8743 | + | |
| 8744 | + | |
| 8745 | + | |
| 8746 | + | |
| 8747 | + | |
| 8748 | + | |
8735 | 8749 | | |
8736 | 8750 | | |
8737 | 8751 | | |
| |||
8750 | 8764 | | |
8751 | 8765 | | |
8752 | 8766 | | |
8753 | | - | |
| 8767 | + | |
8754 | 8768 | | |
8755 | 8769 | | |
8756 | 8770 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
151 | 155 | | |
152 | 156 | | |
153 | 157 | | |
| |||
0 commit comments