Commit 4d2b5b3c authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Revert "Fix modification of IR_Reduction's target in CUDA_ReplaceReductionAccesses strat."

This reverts commit 613066bf
parent 613066bf
......@@ -59,9 +59,8 @@ case class CUDA_HandleFragmentLoopsWithReduction(
var replacement : IR_Expression = IR_NullExpression
this += new Transformation("Replace", {
case red : IR_Reduction => red
case expr : IR_Expression if expr == redTarget => Duplicate(replacement)
}, recursive = false)
})
}
def matrixAssignment(stdFunc : String, dst : IR_Expression, src : IR_Expression, size : Int) =
......
Markdown is supported
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