ParametricInversion.jl icon indicating copy to clipboard operation
ParametricInversion.jl copied to clipboard

Handle addition in multiple argument form

Open zenna opened this issue 5 years ago • 1 comments

Handle multiple arguments like :+(%2, %3, %4, %5) (all with potentially different types)

zenna avatar Oct 15 '20 21:10 zenna

Might be easiest to handle this at the IR level, simply transform

%1 = %2 + %3 + %4

into

%1a = %2 + %3
%1 = %1a + %4

Might need to be careful about non-associativity of floating point operators

zenna avatar Nov 28 '20 18:11 zenna