Commit 25dd67e
committed
[X86][AVX] foldShuffleOfHorizOp - don't attempt to handle 256-bit X86ISD::VBROADCAST (PR49971)
NOTE: This is for the 12.x release branch ONLY
Minimal patch to avoid the issue encountered in PR49971 (it's already been dealt with in trunk through a larger refactor that can't be easily merged).
Bail for non-128-bit vector broadcasts of (F)HADD/SUB ops - the existing logic doesn't correctly deal with the fact that the broadcast will splat across the 128-bit lanes.
Reviewed By: spatel, wristow
Differential Revision: https://reviews.llvm.org/D1011041 parent 072c90a commit 25dd67e
File tree
2 files changed
+13
-0
lines changed- llvm
- lib/Target/X86
- test/CodeGen/X86
2 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37889 | 37889 | | |
37890 | 37890 | | |
37891 | 37891 | | |
| 37892 | + | |
| 37893 | + | |
37892 | 37894 | | |
37893 | 37895 | | |
37894 | 37896 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
101 | 112 | | |
102 | 113 | | |
103 | 114 | | |
| |||
0 commit comments