home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,605 of 2,753   
   kamal to lican   
   Re: Basic blocks and CFG   
   17 Mar 09 09:15:44   
   
   From: kamalpr@hp.com   
      
   On Mar 17, 7:22 am, lican  wrote:   
   > Does anyone know if it is possible to build basic blocks without   
   > generating IR, directly from an AST? I find it rather difficult. For   
   > simple cases why not, but the main problems are the nested loops and   
   > break / continue statements in loops. I ignore the gotos, I don't   
   > need them in the language I'm building. So... possible, anyone tried   
   > this earlier?   
      
   Nope -this wasn't considered even for a source to source (fortran to   
   parallel fortran)  translator I worked for. The main issue is that you   
   need to identify a basic block to apply I/M optimization techniques.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca