aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/IR/ModuleSummaryIndexTest.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2024-09-13 15:40:22 -0700
committerAlexey Bataev <a.bataev@outlook.com>2024-09-13 15:43:06 -0700
commit1e3536ef3141d6429f3616af624b81b6d6ab2959 (patch)
tree64110097255dbd1a9210888ea24b56791bdc60a8 /llvm/unittests/IR/ModuleSummaryIndexTest.cpp
parent03618ceabd003be94190b068db11b607fd1108ef (diff)
downloadllvm-1e3536ef3141d6429f3616af624b81b6d6ab2959.zip
llvm-1e3536ef3141d6429f3616af624b81b6d6ab2959.tar.gz
llvm-1e3536ef3141d6429f3616af624b81b6d6ab2959.tar.bz2
[SLP]Fix PR108620: Need to check, if the reduced value was transformed
Before trying to include the scalar into the list of ExternallyUsedValues, need to check, if it was transformed in previous iteration and use the transformed value, not the original one, to avoid compiler crash when building external uses. Fixes https://github.com/llvm/llvm-project/issues/108620
Diffstat (limited to 'llvm/unittests/IR/ModuleSummaryIndexTest.cpp')
0 files changed, 0 insertions, 0 deletions