Basic block reordering in GCC

Mahmood Naderan nt_mahmood@yahoo.com
Wed Aug 5 05:27:47 GMT 2020


Hi,
Is it possible to modify the basic block reordering algorithm to call the next BB from another function? From what I have seen in -freorder-blocks and -freorder-blocks-algorithm and -freorder-fucntion, it seems that BBs are reordered inside functions, a.k.a intra-function reordering, and not between fucntions, a.k.a inter-functions. 
Any nore on that?

Regards,
Mahmood


More information about the Gcc-help mailing list