aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2025-04-23 12:30:27 +0100
committerGitHub <noreply@github.com>2025-04-23 12:30:27 +0100
commita99e055030f0da61651e808cbb208bb39594cdc0 (patch)
tree1e72ebabb9e07e334b39dc51d642652ef4d3a050 /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parent500cccca0cbcbb547e2a54b25162f20808b45af0 (diff)
downloadllvm-a99e055030f0da61651e808cbb208bb39594cdc0.zip
llvm-a99e055030f0da61651e808cbb208bb39594cdc0.tar.gz
llvm-a99e055030f0da61651e808cbb208bb39594cdc0.tar.bz2
[DAG] shouldReduceLoadWidth - add optional<unsigned> byte offset argument (#136723)
Based off feedback for #129695 - we need to be able to determine the load offset of smaller loads when trying to determine whether a multiple use load should be split (in particular for AVX subvector extractions). This patch adds a std::optional<unsigned> ByteOffset argument to shouldReduceLoadWidth calls for where we know the constant offset to allow targets to make use of it in future patches.
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions