diff options
author | Florian Hahn <flo@fhahn.com> | 2025-10-08 18:41:23 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2025-10-08 18:43:23 +0100 |
commit | 98ce4348703dbb2e2386426ff7e67c2e025d4bfb (patch) | |
tree | f8120abcdd2ee387be5020242c7c7c76559934c0 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | eb1ce38fd1fc750080a0ee5fe1e16dd457d9c437 (diff) | |
download | llvm-98ce4348703dbb2e2386426ff7e67c2e025d4bfb.zip llvm-98ce4348703dbb2e2386426ff7e67c2e025d4bfb.tar.gz llvm-98ce4348703dbb2e2386426ff7e67c2e025d4bfb.tar.bz2 |
[VPlan] Skip VPBlendRecipe in isUsedByLoadStoreAddress.
VPBlendRecipes are introduced as part of if-conversion, potentially adding
a def-use chain from a load used in a compare to another load/store. In
the scalar IR, there is no connection via def-use chains, so the legacy
cost model won't consider the load used by memory operation.
Skipping blends brings the VPlan-based cost-computation in line with the
legacy cost model after https://github.com/llvm/llvm-project/pull/162157.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions