[all-commits] [llvm/llvm-project] 4565bc: [DataLayout] Use separate vectors to store alignme...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Feb 16 07:09:24 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4565bc00de6e5eedc2a87e1e7c1088a34e74dc3a
https://github.com/llvm/llvm-project/commit/4565bc00de6e5eedc2a87e1e7c1088a34e74dc3a
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2023-02-16 (Thu, 16 Feb 2023)
Changed paths:
M llvm/include/llvm/IR/DataLayout.h
M llvm/lib/IR/DataLayout.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list