diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-09-19 00:59:04 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-09-19 00:59:04 -0400 |
| commit | 380c8ec2c95fa8d732c141c705d9940629eb2012 (patch) | |
| tree | 6f4139367553fea653662d1fb65bd23421bad77a /src/ir_print.cpp | |
| parent | 76f53960778e84ab49730edb77b85490b07fbea2 (diff) | |
| download | zig-380c8ec2c95fa8d732c141c705d9940629eb2012.tar.gz zig-380c8ec2c95fa8d732c141c705d9940629eb2012.zip | |
implement runtime `@byteSwap` and other fixups
* update docs for `@byteSwap`.
* fix hash & eql functions for ZigLLVMFnIdBswap not updated to
include vector len. this was causing incorrect bswap function
being called in unrelated code
* fix `@byteSwap` behavior tests only testing comptime and not
runtime operations
* implement runtime `@byteSwap`
* fix incorrect logic in ir_render_vector_to_array and
ir_render_array_to_vector with regards to whether or not to bitcast
* `@byteSwap` accepts an array operand which it will cast to vector
* simplify `@byteSwap` semantic analysis code and various fixes
Diffstat (limited to 'src/ir_print.cpp')
0 files changed, 0 insertions, 0 deletions
