Tomer Benyamini wrote:
Hi,I was wondering if it is possible to create a dependency between 2 insns through a specific scheduler hook (maybe through TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK) even though the insns are not really dependent (not really read-after-write etc.). If it is possible, what is the best way to do it?
It sounds to me like you want a dirty hack. Anyway, call to sched-deps.c: sd_add_dep () should be enough.
-- Maxim