aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-09-18 10:24:28 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-09-18 10:24:28 -0400
commit558b4ac1f0fd7123ebe25f3e59eef275b066c50a (patch)
treea776d9e13cddf773a737fdba5a66c2722434637d /src/ir_print.cpp
parent0e3ca4c63ecb8e43af8261020d21bc6888d18fc0 (diff)
downloadzig-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/ir_print.cpp')
0 files changed, 0 insertions, 0 deletions