parsifal-47 / sisal-cl

A dialect of Sisal extended with pragmas
MIT License
0 stars 1 forks source link

[Diff from Sisal 3.*] Missing function literal node when call local function #18

Open datsis opened 4 years ago

datsis commented 4 years ago

Steps to reproduce: 1) Translate following source code to IR:

function tmp(X:integer returns integer)
    X
end function

function Main(X, Y, Z : integer returns integer)
     tmp(X)
end function

Expected result: 1) There is function literal node returning function value of tmp function. Sisal 3. returns it as node with name "Literal function" where output port return functional type. (Picture build with Sisal 3.) image

Actual result: 1) Function literal node is missing and function call not just contains target function name. (Picture build with CloudSisal) image

datsis commented 3 years ago

Gentle reminder )

parsifal-47 commented 3 years ago

thanks, sorry for the delay