Commit 19f657d
committed
[X86] combineToExtendBoolVectorInReg - use broadcast on AVX2+ targets
Make use of AVX2 broadcasts to splat the source integer across all lanes to simplify the per-lane byte shuffles.
Prep work to avoid a regression in the fix for llvm#661501 parent e5e15f9 commit 19f657d
File tree
5 files changed
+25
-21
lines changed- llvm
- lib/Target/X86
- test/CodeGen/X86
5 files changed
+25
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46183 | 46183 | | |
46184 | 46184 | | |
46185 | 46185 | | |
46186 | | - | |
| 46186 | + | |
| 46187 | + | |
| 46188 | + | |
| 46189 | + | |
| 46190 | + | |
46187 | 46191 | | |
46188 | 46192 | | |
46189 | | - | |
46190 | | - | |
| 46193 | + | |
| 46194 | + | |
| 46195 | + | |
| 46196 | + | |
46191 | 46197 | | |
46192 | 46198 | | |
46193 | 46199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
369 | | - | |
| 368 | + | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
638 | | - | |
639 | | - | |
| 638 | + | |
| 639 | + | |
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
| 643 | + | |
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
| 459 | + | |
| 460 | + | |
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| |||
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
809 | | - | |
810 | | - | |
| 809 | + | |
| 810 | + | |
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
816 | | - | |
| 816 | + | |
817 | 817 | | |
818 | 818 | | |
819 | 819 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
| 259 | + | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2596 | 2596 | | |
2597 | 2597 | | |
2598 | 2598 | | |
2599 | | - | |
2600 | | - | |
2601 | | - | |
| 2599 | + | |
| 2600 | + | |
2602 | 2601 | | |
2603 | 2602 | | |
2604 | 2603 | | |
| |||
2804 | 2803 | | |
2805 | 2804 | | |
2806 | 2805 | | |
2807 | | - | |
2808 | | - | |
2809 | | - | |
| 2806 | + | |
| 2807 | + | |
2810 | 2808 | | |
2811 | 2809 | | |
2812 | 2810 | | |
| |||
0 commit comments