summaryrefslogtreecommitdiff
path: root/src/passes/DeadCodeElimination.cpp
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2018-12-13 17:40:27 -0800
committerGitHub <noreply@github.com>2018-12-13 17:40:27 -0800
commit3325a9cc203932e58b6e85dfefe5feb6e72839a4 (patch)
tree1d969ab30854fd773fdc615d799c9a9ed7e9c0be /src/passes/DeadCodeElimination.cpp
parent0fd96e6b07f0a0907737c0f44e55060e057c2bb9 (diff)
downloadbinaryen-3325a9cc203932e58b6e85dfefe5feb6e72839a4.tar.gz
binaryen-3325a9cc203932e58b6e85dfefe5feb6e72839a4.tar.bz2
binaryen-3325a9cc203932e58b6e85dfefe5feb6e72839a4.zip
SIMD (#1820)
Implement and test the following functionality for SIMD. - Parsing and printing - Assembling and disassembling - Interpretation - C API - JS API
Diffstat (limited to 'src/passes/DeadCodeElimination.cpp')
-rw-r--r--src/passes/DeadCodeElimination.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/passes/DeadCodeElimination.cpp b/src/passes/DeadCodeElimination.cpp
index 2e62197b5..6e70fc55d 100644
--- a/src/passes/DeadCodeElimination.cpp
+++ b/src/passes/DeadCodeElimination.cpp
@@ -257,6 +257,11 @@ struct DeadCodeElimination : public WalkerPass<PostWalker<DeadCodeElimination>>
case Expression::Id::AtomicRMWId: DELEGATE(AtomicRMW);
case Expression::Id::AtomicWaitId: DELEGATE(AtomicWait);
case Expression::Id::AtomicWakeId: DELEGATE(AtomicWake);
+ case Expression::Id::SIMDExtractId: DELEGATE(SIMDExtract);
+ case Expression::Id::SIMDReplaceId: DELEGATE(SIMDReplace);
+ case Expression::Id::SIMDShuffleId: DELEGATE(SIMDShuffle);
+ case Expression::Id::SIMDBitselectId: DELEGATE(SIMDBitselect);
+ case Expression::Id::SIMDShiftId: DELEGATE(SIMDShift);
case Expression::Id::InvalidId: WASM_UNREACHABLE();
case Expression::Id::NumExpressionIds: WASM_UNREACHABLE();
}