Fixed memory_share for unconditional write with part select to memory

This commit is contained in:
Clifford Wolf 2015-04-22 06:40:23 +02:00
parent 1277d1bcb8
commit 11f77205f5
1 changed files with 3 additions and 0 deletions

View File

@ -125,6 +125,9 @@ struct MemoryShareWorker
created_conditions++;
}
if (terms.size() == 0)
terms = State::S1;
if (terms.size() > 1)
terms = module->ReduceAnd(NEW_ID, terms);