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
..
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-06-16 19:37:00 -04:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-04-30 20:35:54 -04:00
2017-09-09 22:54:50 -04:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-07-07 00:25:32 -04:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00
2018-11-13 05:08:37 -08:00