[LLVMdev] Treating function calls as barriers

Eli Friedman eli.friedman at gmail.com
Tue Jun 1 17:41:42 PDT 2010

On Tue, Jun 1, 2010 at 5:13 PM, Villmow, Micah <Micah.Villmow at amd.com> wrote:
> 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.


More information about the llvm-dev mailing list