Opened 3 years ago

Closed 3 years ago

#5095 closed enhancement (fixed)

Use memcpy for variable writebacks

Reported by: Jonathan Kämpe Owned by: Jonathan Kämpe
Priority: major Milestone: Future
Component: Modelica/MiddleEnd Version: trunk
Keywords: #5097. Cc:

Description (last modified by Jonathan Kämpe)

This is a part of #5097.

#4660 added support for memcpy write backs (instead of scalar element assignments) for parameters. If we sort all variables by appereance in function call lefts/arguments. We can use the write backs for more variables.

Change History (3)

comment:1 Changed 3 years ago by Jonathan Kämpe

Type: defectenhancement

comment:2 Changed 3 years ago by Jonathan Kämpe

Description: modified (diff)
Keywords: #5097. added; #5093. removed

comment:3 Changed 3 years ago by jsten

Resolution: fixed
Status: newclosed

This already works. Memcpy writeback for variables has apparently always been done. Scalarization also put array elements in the correct order after scalarization.

Note: See TracTickets for help on using tickets.