aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2023-11-23 22:08:08 +0000
committerFlorian Hahn <flo@fhahn.com>2023-11-23 22:08:09 +0000
commit96452676e534c70a652ffdf260ee849290f374c4 (patch)
tree7b6259511aa54ebc15f45221f5c0f8de3d108a5a /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
parent43bc81d7488a8fbd43b855f7e1100cfe110f90fc (diff)
downloadllvm-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