diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-10-15 20:35:56 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-10-20 09:21:17 +0200 |
| commit | d2f04e919c833288d5cf1efa97c25bbaae101168 (patch) | |
| tree | 5baba1c48ae636d1611d23b4b5ed310df7ae7951 /src/Type.zig | |
| parent | 40104f2145c3b7e2725604c0c777646a5fb621aa (diff) | |
| download | zig-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
