search for: fbasicblock

Displaying 10 results from an estimated 10 matches for "fbasicblock".

Did you mean: basicblock
2019 Sep 27
3
[RFC] Propeller: A frame work for Post Link Optimizations
...FI instructions, basic block labels and extra direct jumps which would have been fall throughs otherwise. So, some llvm option is needed. I envisioned that basic block sections could also be useful on its own outside of propeller. Hence, we made it like function-sections with a separate option -fbasicblock-sections. The propeller option is an umbrella option to make it easy to invoke Propeller. Thanks Sri > > -Eli
2019 Sep 27
3
[RFC] Propeller: A frame work for Post Link Optimizations
...code generation doesn't change; only LTO code generation in lld changes. I see what you mean here. > > > I envisioned that basic block sections could also be useful on its own > > outside of propeller. Hence, we made it like function-sections with > > a separate option -fbasicblock-sections. The propeller option is an > > umbrella option to make it easy to invoke Propeller. > > I don't think this is really true. Basic block labels means "insert labels that are useful for propeller profiling", and basic block sections means "split the function...
2019 Sep 26
2
[RFC] Propeller: A frame work for Post Link Optimizations
...Wed, Sep 25, 2019 at 5:02 PM Eli Friedman via llvm-dev < llvm-dev at lists.llvm.org> wrote: > My biggest question about this architecture is about when propeller runs > basic block reordering within a function. It seems like a lot of the > complexity comes from using the proposed -fbasicblock-sections to generated > mangled ELF, and then re-parsing the mangled ELF as a separate step. I'm > not sure that's the right approach, long-term. > > Splitting every basic block into its own section introduces overhead, like > you described. And it's likely more complex...
2019 Sep 26
2
[RFC] Propeller: A frame work for Post Link Optimizations
...> On Wed, Sep 25, 2019 at 5:02 PM Eli Friedman via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > My biggest question about this architecture is about when propeller runs basic block reordering within a function. It seems like a lot of the complexity comes from using the proposed -fbasicblock-sections to generated mangled ELF, and then re-parsing the mangled ELF as a separate step. I'm not sure that's the right approach, long-term. > > Splitting every basic block into its own section introduces overhead, like you described. And it's likely more complex on non-x86 tar...
2019 Sep 28
2
[RFC] Propeller: A frame work for Post Link Optimizations
...es. > > > > I see what you mean here. > > > > > > > > > I envisioned that basic block sections could also be useful on its > own > > > > outside of propeller. Hence, we made it like function-sections with > > > > a separate option -fbasicblock-sections. The propeller option is an > > > > umbrella option to make it easy to invoke Propeller. > > > > > > I don't think this is really true. Basic block labels means "insert > labels that are useful for propeller profiling", and basic block secti...
2019 Sep 30
2
[RFC] Propeller: A frame work for Post Link Optimizations
...> >> > > >> > > > >> > > > I envisioned that basic block sections could also be useful on > its own > >> > > > outside of propeller. Hence, we made it like function-sections > with > >> > > > a separate option -fbasicblock-sections. The propeller option is > an > >> > > > umbrella option to make it easy to invoke Propeller. > >> > > > >> > > I don't think this is really true. Basic block labels means > "insert labels that are useful for propeller profil...
2019 Sep 30
2
[RFC] Propeller: A frame work for Post Link Optimizations
...;> > > > >> >> > > > I envisioned that basic block sections could also be useful on > its own > >> >> > > > outside of propeller. Hence, we made it like > function-sections with > >> >> > > > a separate option -fbasicblock-sections. The propeller option > is an > >> >> > > > umbrella option to make it easy to invoke Propeller. > >> >> > > > >> >> > > I don't think this is really true. Basic block labels means > "insert labels that are...
2019 Sep 27
5
[RFC] Propeller: A frame work for Post Link Optimizations
...ia llvm-dev <llvm- > > dev at lists.llvm.org> wrote: > > > > > > My biggest question about this architecture is about when propeller runs basic > > block reordering within a function. It seems like a lot of the complexity comes > > from using the proposed -fbasicblock-sections to generated mangled ELF, and > > then re-parsing the mangled ELF as a separate step. I'm not sure that's the right > > approach, long-term. > > > > > > Splitting every basic block into its own section introduces overhead, like you > > described...
2019 Sep 30
2
[RFC] Propeller: A frame work for Post Link Optimizations
...t;> > > > I envisioned that basic block sections could also be useful >>> on its own >>> >> >> > > > outside of propeller. Hence, we made it like >>> function-sections with >>> >> >> > > > a separate option -fbasicblock-sections. The propeller >>> option is an >>> >> >> > > > umbrella option to make it easy to invoke Propeller. >>> >> >> > > >>> >> >> > > I don't think this is really true. Basic block labels means &g...
2019 Sep 24
9
[RFC] Propeller: A frame work for Post Link Optimizations
Greetings, We, at Google, recently evaluated Facebook’s BOLT, a Post Link Optimizer framework, on large google benchmarks and noticed that it improves key performance metrics of these benchmarks by 2% to 6%, which is pretty impressive as this is over and above a baseline binaryalready heavily optimized with ThinLTO + PGO. Furthermore, BOLT is also able to improve the performance of binaries