summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2025-05-27 16:27:28 +0100
committerGitHub <noreply@github.com>2025-05-27 16:27:28 +0100
commit97f6076dedc6ba78ccdb36f53a6953a66abfd395 (patch)
treeeffa1cbedad186c4e007059aa7fc0be075f4d666 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
parentb5588ce746755b4aaf071ab19a403099c8334f84 (diff)
[VectorCombine][X86] Use updated getVectorInstrCost hook (#137823)
This addresses a TODO where previously scalarizeBinopOrCmp conservatively bailed if one of the operands was a load. getVectorInstrCost was updated to take in values in https://reviews.llvm.org/D140498 so we can pass in the scalar value to be inserted, which should return an accurate cost for a gather. To prevent regressions on x86 this tries to constant fold NewVecC up front so we can pass it into TTI and get a more accurate cost. We want to remove this restriction on RISC-V since this is always profitable whether or not the scalar is a load.
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions