Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added trivial simplifications of binary expressions, such as 0*e=0. - Added simplification of transpose of an array expression. - Turned off expansion of expressions containing calls to functions with array return type when -d=nfExpandOperations is used (on by default), to better mimic the old frontend and avoid unnecessary calls. - Rearranged SimplifyExp and ExpandExp a bit so that expressions are always simplified before being expanded with -d=nfExpandOperations. - Try to expand the argument in Expression.promoteExp to avoid getting promote calls in the flat model that the backend can't handle. Belonging to [master]: - OpenModelica/OMCompiler#2634 - OpenModelica/OpenModelica-testsuite#1024
- Loading branch information
1 parent
7b82c41
commit cbc69f9
Showing
3 changed files
with
178 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters