| Issue | 52960 |
|---|---|
| Summary | Stack overflow due to unbounded getFauxShuffleMask() recursion |
| Labels | new issue |
| Assignees | |
| Reporter | c0d1f1ed |
`getFauxShuffleMask()` takes a `Depth` parameter but doesn't actually use it to limit recursion depth.
I suggest adding the following:
```
if (Depth > SelectionDAG::MaxRecursionDepth)
return alse;
```
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
