[Ad-dev] [ADIC] #34: ScopeIds while creating XAIF

ADIC trac at mcs.anl.gov
Mon Dec 21 16:33:20 CST 2009


#34: ScopeIds while creating XAIF
--------------------------------------+-------------------------------------
 Reporter:  anonymous                 |       Owner:  snarayan
     Type:  defect                    |      Status:  new     
 Priority:  critical                  |   Milestone:          
Component:  Canonicalization          |     Version:  2.0     
 Keywords:  scope_id BasicBlock XAIF  |  
--------------------------------------+-------------------------------------
 The logic to enter the scopeids XAIF BasicBlocks (in CreateCFG.cpp) was
 blatantly incorrect.
 The thinking of the original author is unclear at this point.
 It has been modified slightly now, but this needs to be checked for
 IfStatemements and Loops of all sorts.

 This error finally became important when scope_id's of basicblocks were
 needed to access the appropriate symbol table in XAIFVisitors.cpp
 (particualrly for reversemode adjoint case).

-- 
Ticket URL: <http://trac.mcs.anl.gov/projects/ADIC/ticket/34>
ADIC <http://trac.mcs.anl.gov/projects/ADIC>
ADIC: Automatic Differentiation for C and C++


More information about the Ad-dev mailing list