diff options
Diffstat (limited to 'src/tools/wasm-reduce.cpp')
-rw-r--r-- | src/tools/wasm-reduce.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/wasm-reduce.cpp b/src/tools/wasm-reduce.cpp index 76a3034cf..b7dbc79f3 100644 --- a/src/tools/wasm-reduce.cpp +++ b/src/tools/wasm-reduce.cpp @@ -505,6 +505,7 @@ struct Reducer : public WalkerPass<PostWalker<Reducer, UnifiedExpressionVisitor< case i64: fixed = builder->makeUnary(WrapInt64, child); break; case f32: fixed = builder->makeUnary(TruncSFloat32ToInt32, child); break; case f64: fixed = builder->makeUnary(TruncSFloat64ToInt32, child); break; + case v128: continue; // v128 not implemented yet case none: case unreachable: WASM_UNREACHABLE(); } @@ -516,6 +517,7 @@ struct Reducer : public WalkerPass<PostWalker<Reducer, UnifiedExpressionVisitor< case i64: WASM_UNREACHABLE(); case f32: fixed = builder->makeUnary(TruncSFloat32ToInt64, child); break; case f64: fixed = builder->makeUnary(TruncSFloat64ToInt64, child); break; + case v128: continue; // v128 not implemented yet case none: case unreachable: WASM_UNREACHABLE(); } @@ -527,6 +529,7 @@ struct Reducer : public WalkerPass<PostWalker<Reducer, UnifiedExpressionVisitor< case i64: fixed = builder->makeUnary(ConvertSInt64ToFloat32, child); break; case f32: WASM_UNREACHABLE(); case f64: fixed = builder->makeUnary(DemoteFloat64, child); break; + case v128: continue; // v128 not implemented yet case none: case unreachable: WASM_UNREACHABLE(); } @@ -538,11 +541,13 @@ struct Reducer : public WalkerPass<PostWalker<Reducer, UnifiedExpressionVisitor< case i64: fixed = builder->makeUnary(ConvertSInt64ToFloat64, child); break; case f32: fixed = builder->makeUnary(PromoteFloat32, child); break; case f64: WASM_UNREACHABLE(); + case v128: continue; // v128 not implemented yet case none: case unreachable: WASM_UNREACHABLE(); } break; } + case v128: continue; // v128 not implemented yet case none: case unreachable: WASM_UNREACHABLE(); } |