From 2a787cdbe4cfb84801d4f885b155555c864ac006 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Wed, 30 Oct 2019 15:55:01 -0700 Subject: Do not precompute SIMDLoad (#2409) This fixes a crash when programs containing load_splats are optimized. --- src/passes/Precompute.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/passes/Precompute.cpp') diff --git a/src/passes/Precompute.cpp b/src/passes/Precompute.cpp index c4d90de04..43ecadf7f 100644 --- a/src/passes/Precompute.cpp +++ b/src/passes/Precompute.cpp @@ -125,6 +125,7 @@ public: Flow visitAtomicNotify(AtomicNotify* curr) { return Flow(NOTPRECOMPUTABLE_FLOW); } + Flow visitSIMDLoad(SIMDLoad* curr) { return Flow(NOTPRECOMPUTABLE_FLOW); } Flow visitMemoryInit(MemoryInit* curr) { return Flow(NOTPRECOMPUTABLE_FLOW); } Flow visitDataDrop(DataDrop* curr) { return Flow(NOTPRECOMPUTABLE_FLOW); } Flow visitMemoryCopy(MemoryCopy* curr) { return Flow(NOTPRECOMPUTABLE_FLOW); } -- cgit v1.2.3