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,850 of 2,753   
   DrTodd13 to All   
   How to back propagate basic block probab   
   04 Apr 10 08:45:56   
   
   From: drtodd13@comcast.net   
      
   I'm writing a compiler and have a situation where I know a priori that   
   certain function names will only be called in the "slow path."  When I   
   see one of these names, I'd like to set the probability of that basic   
   block to something low and then propagate the consequences of that   
   information back up the call graph.  (For example, if there is only   
   one predecessor of a basic block containing a slow path call then that   
   predecessor should also be slow path.)  Does anybody have any thoughts   
   on how to combine this back propagation with the natural downward   
   propagation of basic block probabilities.   
      
   --- 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