aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/IRObjectFile.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2020-12-09 10:33:59 -0800
committerJustin Bogner <mail@justinbogner.com>2020-12-09 10:35:07 -0800
commite6a1187dd867cc0feea4041b22a9bb29aaa3ae48 (patch)
treeed64e2417d00441e704da3a76eb8e0b66d5139e9 /llvm/lib/Object/IRObjectFile.cpp
parentbe9b4bbdfc226c6387304552bbc0312ed60bd602 (diff)
downloadllvm-e6a1187dd867cc0feea4041b22a9bb29aaa3ae48.zip
llvm-e6a1187dd867cc0feea4041b22a9bb29aaa3ae48.tar.gz
llvm-e6a1187dd867cc0feea4041b22a9bb29aaa3ae48.tar.bz2
Limit the recursion depth of SelectionDAG::isSplatValue()
This method previously always recursively checked both the left-hand side and right-hand side of binary operations for splatted (broadcast) vector values to determine if the parent DAG node is a splat. Like several other SelectionDAG methods, limit the recursion depth to MaxRecursionDepth (6). This prevents stack overflow. See also https://issuetracker.google.com/173785481 Patch by Nicolas Capens. Thanks! Differential Revision: https://reviews.llvm.org/D92421
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions