summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorBrendon Cahoon <brendon.cahoon@amd.com>2022-02-20 18:18:26 -0600
committerBrendon Cahoon <brendon.cahoon@amd.com>2022-02-22 15:57:14 -0600
commit3cc15e2cb657f3a814c8bd482bb7108782561abd (patch)
tree94f23aa1d351fbe7e7bc3043e1f8c62484730fbd /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentb3f4535a039918965adb21509700739afc25f9f1 (diff)
[SLP] Fix assert from non-constant index in insertelement
A call to getInsertIndex() in getTreeCost() is returning None, which causes an assert because a non-constant index value for insertelement was not expected. This case occurs when the insertelement index value is defined with a PHI. Differential Revision: https://reviews.llvm.org/D120223
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions