Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ExaStencils
exastencils-release
Commits
ee7ec781
Commit
ee7ec781
authored
May 04, 2022
by
Richard Angersbach
Browse files
Fix for compound assignments using mask blending.
parent
3e1c03ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Compiler/src/exastencils/optimization/ir/IR_Vectorization.scala
View file @
ee7ec781
...
...
@@ -581,7 +581,7 @@ private object VectorizeInnermost extends PartialFunction[Node, Transformation.O
ctx
.
addStmt
(
IR_Comment
(
"Copy: "
+
lhsSca
.
prettyprint
()))
val
(
copyName
,
_
)
=
ctx
.
getName
(
IR_VariableAccess
(
"copyVec"
,
SIMD_RealDatatype
))
val
copy
=
IR_VariableAccess
(
copyName
,
SIMD_RealDatatype
)
vectorizeStmt
(
IR_Assignment
(
copy
,
lhsSca
,
op
),
ctx
)
vectorizeStmt
(
IR_Assignment
(
copy
,
lhsSca
),
ctx
)
vectorizeStmt
(
IR_Assignment
(
lhsSca
,
SIMD_Blendv
(
copy
,
rhsSca
,
mask
),
op
),
ctx
)
case
_
:
IR_IfCondition
=>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment