diff options
author | Nashe Mncube <nashe.mncube@arm.com> | 2024-10-17 11:56:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 11:56:00 +0100 |
commit | ab90d2793cf56758a91f7a7ae027850af2455d3e (patch) | |
tree | 0ed940ffb165989cc11cbce945541f4c5e9a733c /clang/lib/CodeGen/CoverageMappingGen.cpp | |
parent | 2954d1f7bc8fa77c51768855d9df98f5559a5c5e (diff) | |
download | llvm-ab90d2793cf56758a91f7a7ae027850af2455d3e.zip llvm-ab90d2793cf56758a91f7a7ae027850af2455d3e.tar.gz llvm-ab90d2793cf56758a91f7a7ae027850af2455d3e.tar.bz2 |
[llvm][ARM]Add widen global arrays pass (#107120)
- Pass optimizes memcpy's by padding out destinations and sources to a
full word to make backend generate full word loads instead of loading a
single byte (ldrb) and/or half word (ldrh). Only pads destination when
it's a stack allocated constant size array and source when it's constant
array. Heuristic to decide whether to pad or not is very basic and could
be improved to allow more examples to be padded.
- Pass works within GlobalOpt but is disabled by default on all targets
except ARM.
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions