Re: questions about dependence analysis in CG

2012-03-07 Thread Ian Lance Taylor
Peng Zhao writes: > 1. what is the purpose of the reg_note and ds_t? The reg-note lives in the RTL. ds_t is the same information represented as a bitflag. E.g., see how the bits are accumulated in a ds_t variable in ask_dependency_caches. > Where can I find information about memory dependence

questions about dependence analysis in CG

2012-03-07 Thread Peng Zhao
Hello, I am a little confused by the code in sched-deps.c. 1. what is the purpose of the reg_note and ds_t? I see the function dk_to_ds, and the comment in sched-int.h, "Dependence on instruction can be of multiple types (e.g. true and output). This fields enhance REG_NOTE_KIND informatio