diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-09-18 10:24:28 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-09-18 10:24:28 -0400 |
| commit | 558b4ac1f0fd7123ebe25f3e59eef275b066c50a (patch) | |
| tree | a776d9e13cddf773a737fdba5a66c2722434637d /src/main.cpp | |
| parent | 0e3ca4c63ecb8e43af8261020d21bc6888d18fc0 (diff) | |
| download | zig-558b4ac1f0fd7123ebe25f3e59eef275b066c50a.tar.gz zig-558b4ac1f0fd7123ebe25f3e59eef275b066c50a.zip | |
adjust codegen of casting between arrays and vectors
* bitcasting is still better when the size_in_bits aligns with the ABI
size of the element type. Logic is reworked to do bitcasting when
possible
* rather than using insertelement/extractelement to work with arrays,
store/load elements directly. This matches codegen for arrays
elsewhere.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions
