--2c--stack: fix a bug in code generated for array concat.
Now all the tests that were ok in the heap mode are also ok in the stack mode ! However the code generated by fillred and co is weird. For instance, in should_work.pipeline.lus, in fillred_oneStep_pipe_10_step, accu_in is used both as an input and an output, which seems wrong in the stack mode as no copy is performed. Is it working by chance ?
Showing
- src/lv6MainArgs.ml 2 additions, 2 deletionssrc/lv6MainArgs.ml
- src/socPredef2cHeap.ml 2 additions, 2 deletionssrc/socPredef2cHeap.ml
- src/socPredef2cStack.ml 3 additions, 3 deletionssrc/socPredef2cStack.ml
- test/lus2lic.sum 14 additions, 12 deletionstest/lus2lic.sum
- test/lus2lic.time 9 additions, 7 deletionstest/lus2lic.time
- test/should_work/array_concat.lus 2 additions, 2 deletionstest/should_work/array_concat.lus
Loading
Please register or sign in to comment