Commit b7a8f5f
committed
[SLP][NFC]Exit early from attempt-to-reorder, if it is useless
Adds early exits, which just save compile time. It can exit earl, if the
total number of scalars is 2, or all scalars are constant, or the opcode
is the same and not alternate. In this case reordering will not happen
and compiler can exit early to save compile time1 parent 4ac891c commit b7a8f5f
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9362 | 9362 | | |
9363 | 9363 | | |
9364 | 9364 | | |
| 9365 | + | |
| 9366 | + | |
| 9367 | + | |
| 9368 | + | |
| 9369 | + | |
| 9370 | + | |
9365 | 9371 | | |
9366 | 9372 | | |
9367 | 9373 | | |
| |||
0 commit comments