zig/test/cases
Sahnvour 703c6684d1 Crash fixes and small improvements to inline asm. (#1756)
* codegen: LLVMConstInlineAsm is deprecated.

* codegen: replace commas in asm constraint strings by pipes as required by LLVM.

* ir: enforce usage of '=' constraint modifier for inline assembly outputs.

Others are not currently supported and this was just asserted alter in `ir_render_asm`.

* asm: forbid comptime_int/floats as inputs in favor of explicitely sized constants.

Fixes a crash due to comptime_int/floats having no type_ref.

* asm: handle inputs with integers of <8 or non power of 2 bitsize.

We widen them to the next highest power of two.
2018-11-19 16:22:21 -05:00
..
bugs
import
namespace_depends_on_compile_var
pub_enum
align.zig
alignof.zig
array.zig
asm.zig Crash fixes and small improvements to inline asm. (#1756) 2018-11-19 16:22:21 -05:00
atomics.zig
bit_shifting.zig
bitcast.zig
bool.zig
byval_arg_var.zig
cancel.zig
cast.zig
const_slice_child.zig
coroutine_await_struct.zig
coroutines.zig
defer.zig
enum_with_members.zig
enum.zig
error.zig
eval.zig
field_parent_ptr.zig
fn_in_struct_in_comptime.zig
fn.zig
for.zig
generics.zig
if.zig
import.zig
incomplete_struct_param_tld.zig
ir_block_deps.zig
math.zig
merge_error_sets.zig
misc.zig
new_stack_call.zig
null.zig
optional.zig
pointers.zig
popcount.zig
ref_var_in_if_after_if_2nd_switch_prong.zig
reflection.zig
sizeof_and_typeof.zig
slice.zig
struct_contains_null_ptr_itself.zig
struct_contains_slice_of_itself.zig
struct.zig
switch_prong_err_enum.zig
switch_prong_implicit_cast.zig
switch.zig
syntax.zig
this.zig
try.zig
type_info.zig
undefined.zig
underscore.zig
union.zig
var_args.zig
void.zig
while.zig
widening.zig