petabricks/petabricks — Issue #19: support for return-like transform call sugar
Author: jansel
Created: 2011-11-03 20:42:20+00:00
State: open

Currently transform calls return void. would like to support something like:

```
Foo(y, Bar(x))
```

should be expanded to:

```
tmp = MatrixRegionXD::allocate(...);
Bar(tmp, x);
Foo(y, tmp);
tmp = NULL;
```

Assuming Foo/Bar both have 1 output and 1 input.