This method previously always recursively checked both the left-hand side and right-hand side of binary operations for splatted (broadcast) values to determine if the parent DAG node is a splat. For chained operations, such as the 10,000 adds of the dEQP-VK.spirv_assembly. instruction.graphics.spirv_ids_abuse.lots_ids_frag/vert tests, very deep recursion could result in stack overflow. Like several other SelectionDAG methods, limit the recursion depth to MaxRecursionDepth (6). Bug: b/173785481 Change-Id: I22ee0453db7cf1311267291a331ad8fa3b57b1d9 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/50672 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Reviewed-by:Jason Macnak <natsu@google.com> Reviewed-by:
Antonio Maiorano <amaiorano@google.com> Tested-by:
Jason Macnak <natsu@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| PowerVR_Examples @ 409c9d54 | ||
| SPIRV-Headers | Loading commit data... | |
| SPIRV-Tools | Loading commit data... | |
| angle | Loading commit data... | |
| astc-encoder | Loading commit data... | |
| benchmark @ e5ea03ce | ||
| boost | Loading commit data... | |
| cppdap @ 1fd23dda | ||
| glslang @ 81112685 | ||
| googletest @ 8ffb7e5c | ||
| json @ ed554144 | ||
| libbacktrace | Loading commit data... | |
| llvm-10.0 | Loading commit data... | |
| llvm-subzero | Loading commit data... | |
| marl | Loading commit data... | |
| stlport-cpp11-extension | Loading commit data... | |
| subzero | Loading commit data... | |
| .clang-format | Loading commit data... | |
| update-llvm-10.sh | Loading commit data... | |
| update-marl.sh | Loading commit data... | |
| update-spirvheaders.sh | Loading commit data... | |
| update-spirvtools.sh | Loading commit data... |