1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/MC/WebAssembly/missing-features.s
Thomas Lively 77de82e267 [WebAssembly][AsmParser] Name missing features in error message
Rather than just saying that some feature is missing, report the exact
features to make the error message more useful and actionable.

Differential Revision: https://reviews.llvm.org/D85795
2020-08-11 17:26:14 -07:00

12 lines
294 B
ArmAsm

# RUN: not llvm-mc -triple=wasm32-unknown-unknown < %s 2>&1 | FileCheck %s
# Check that missing features are named in the error message
# CHECK: error: instruction requires: simd128
needs_simd:
.functype needs_simd () -> (v128)
i32.const 42
i32x4.splat
drop
end_function