aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-12-02 21:31:22 +0100
committerNikita Popov <npopov@redhat.com>2023-02-16 16:09:07 +0100
commit4565bc00de6e5eedc2a87e1e7c1088a34e74dc3a (patch)
tree9c8ff66c6b8d7678ef2e5baaf85387bb5a34829e /llvm/lib/Object/ELFObjectFile.cpp
parentace6072bca65f946478edeeee018ca1d6a947a3e (diff)
downloadllvm-4565bc00de6e5eedc2a87e1e7c1088a34e74dc3a.zip
llvm-4565bc00de6e5eedc2a87e1e7c1088a34e74dc3a.tar.gz
llvm-4565bc00de6e5eedc2a87e1e7c1088a34e74dc3a.tar.bz2
[DataLayout] Use separate vectors to store alignment (NFC)
Instead of storing alignment for integers, floats, vectors and structs in a single vector with a type tag, store them in separate vectors instead. This makes the alignment lookup faster, as we don't have to scan over irrelevant alignment entries.
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions