Commit Graph

4 Commits

Author SHA1 Message Date
Nikita Popov
131fda40af Ignore some more tests on emscripten
Either missing i128 or asm support
2018-11-04 18:50:57 +01:00
Levente Kurusa
46b9461c4b
Add a test for multiple cases of E0669
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
2018-10-30 22:09:56 +01:00
Levente Kurusa
4d7f08b170
rustc: improve E0669 span
E0669 refers to a constraint that cannot be coerced into a single LLVM
value, unfortunately right now this uses the Span for the entire inline
assembly statement, which is less than ideal.

This commit preserves the Span from HIR, which lets us emit the error
using the Span for the operand itself in MIR.

Signed-off-by: Levente Kurusa <lkurusa@acm.org>
2018-10-17 07:40:44 +02:00
Levente Kurusa
3d7476eae1
codegen_llvm: verify that inline assembly operands are scalars
Otherwise, LLVM translation will fail with a panic.

Signed-off-by: Levente Kurusa <lkurusa@acm.org>
2018-10-06 12:45:19 +02:00