Treating function calls as barriers

Is there a flag to set in Tablegen source so that all function calls act as instruction barriers. I.e. no instruction can be schedule around a function call.



Do you mean "don't schedule instructions which appear before the call
in the source after the call, and vice versa?" There is no such flag.
The normal schedulers doesn't pay attention to source order at all;
-pre-RA-sched=source was recently implemented which does pay attention
to source order.


Thanks Eli, that seems to do the trick.