Skip to content
Snippets Groups Projects
Unverified Commit b7ba25a1 authored by Nora Abi Akar's avatar Nora Abi Akar Committed by GitHub
Browse files

Fix modcc simd generation (#1681)

Fixes 2 bugs where modcc expects a range variable but gets a non-range variable instead.

    PowBinaryExpressions were being handled separately from other BinaryExpressions and as a result, some crucial analysis was being skipped on the analysis of the lhs and rhs arguments. This PR incorporates the analysis and printing of PowBinaryExpression into BinaryExpression.
    Printing code for a masked AssignmentExpression was not handling the case of a non-range variable on the rhs of the assignment correctly. In that case, an explicit cast to a vector is needed, which is added in this PR.
parent ec9f5d67
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment