aboutsummaryrefslogtreecommitdiff
path: root/src/Type.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-10-15 20:35:56 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-10-20 09:21:17 +0200
commitd2f04e919c833288d5cf1efa97c25bbaae101168 (patch)
tree5baba1c48ae636d1611d23b4b5ed310df7ae7951 /src/Type.zig
parent40104f2145c3b7e2725604c0c777646a5fb621aa (diff)
downloadzig-d2f04e919c833288d5cf1efa97c25bbaae101168.tar.gz
zig-d2f04e919c833288d5cf1efa97c25bbaae101168.zip
compiler: Update defaultFunctionAlignment()/minFunctionAlignment() for more targets.
defaultFunctionAlignment() can be made more sophisticated over time based on the CPU model and/or features. For now, I've picked some reasonable values for the CPUs that are most commonly used in practice. (Values are sourced from LLVM.)
Diffstat (limited to 'src/Type.zig')
0 files changed, 0 insertions, 0 deletions