diff options
author | Florian Hahn <flo@fhahn.com> | 2023-11-23 22:08:08 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2023-11-23 22:08:09 +0000 |
commit | 96452676e534c70a652ffdf260ee849290f374c4 (patch) | |
tree | 7b6259511aa54ebc15f45221f5c0f8de3d108a5a /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp | |
parent | 43bc81d7488a8fbd43b855f7e1100cfe110f90fc (diff) | |
download | llvm-96452676e534c70a652ffdf260ee849290f374c4.zip llvm-96452676e534c70a652ffdf260ee849290f374c4.tar.gz llvm-96452676e534c70a652ffdf260ee849290f374c4.tar.bz2 |
[LAA] Factor out logic to compute dependence distance. (NFCI)
This patch refactors the logic to compute the dependence distance,
stride, size and write info to a separate function. This limits the
scope of various A* and B* variables, which in turn makes it easier to
reason about their uses.
In particular this makes it more explicit why dropping the various
std::swaps as done in https://github.com/llvm/llvm-project/pull/70819/
is valid.
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions