search for: lto

Displaying 20 results from an estimated 354 matches for "lto".

Did you mean: lot
2018 May 11
1
LTO query
Yes running LLVM performance test suite with LTO and Thin LTO enabled. Thanks, Siddharth On Fri, May 11, 2018 at 7:32 PM, Teresa Johnson <tejohnson at google.com> wrote: > I'm not completely sure what you are asking. Are you looking for > performance benchmarks to use for LTO and ThinLTO testing? Or are you > asking how to bu...
2018 Apr 06
2
[RFC] Adding function attributes to represent codegen optimization level
...4-04 22:00, Mehdi AMINI wrote: > >> Le mar. 3 avr. 2018 à 12:47, via llvm-dev <llvm-dev at lists.llvm.org> a >> écrit : >> >> All, >>> A recent commit, D43040/r324557, changed the behavior of the gold >>> plugin >>> when compiling with LTO. The change now causes the codegen >>> optimization >>> level to default to CodeGenOpt::Default (i.e., -O2) rather than use >>> the >>> LTO optimization level. The argument was made that the LTO >>> optimization >>> level should control the am...
2018 May 11
1
LTO query
I'm not completely sure what you are asking. Are you looking for performance benchmarks to use for LTO and ThinLTO testing? Or are you asking how to build/run with LTO and ThinLTO? Are you asking how to run LLVM's performance test-suite with LTO and ThinLTO? Teresa On Fri, May 11, 2018 at 5:21 AM Siddharth Shankar Swain < h2015096 at pilani.bits-pilani.ac.in> wrote: > Hi, > Th...
2018 Mar 20
1
lld/lto/win32 crash on DIE code
...(llvm::Module & M) Line 1615 C++ Symbols loaded. lld.exe!llvm::legacy::PassManagerImpl::run(llvm::Module & M) Line 1700 C++ Symbols loaded. lld.exe!llvm::legacy::PassManager::run(llvm::Module & M) Line 1732 C++ Symbols loaded. lld.exe!`anonymous namespace'::codegen(llvm::lto::Config & Conf, llvm::TargetMachine * TM, std::function<std::unique_ptr<llvm::lto::NativeObjectStream,std::default_delete<llvm::lto::NativeObjectStream> > __cdecl(unsigned int)> AddStream, unsigned int Task, llvm::Module & Mod) Line 292 C++ Symbols loaded. lld.exe!...
2017 Dec 20
2
Dropping COMDAT with LTO
I've been digging into COMDAT with regular LTO, specifically in the context of the LLVM gold plugin. The GCC WHOPR documentation specifies that the linker will resolve all COMDAT groups to the IR-provided definitions, if available. Additionally it specifies that "When the WPA phase produces the definition of the COMDAT symbol in a new obje...
2018 Apr 09
1
[RFC] Adding function attributes to represent codegen optimization level
...gt;> >>> Le mar. 3 avr. 2018 à 12:47, via llvm-dev <llvm-dev at lists.llvm.org> a >>> écrit : >>> >>> All, >>>> A recent commit, D43040/r324557, changed the behavior of the gold >>>> plugin >>>> when compiling with LTO. The change now causes the codegen >>>> optimization >>>> level to default to CodeGenOpt::Default (i.e., -O2) rather than use >>>> the >>>> LTO optimization level. The argument was made that the LTO >>>> optimization >>>> lev...
2018 May 11
1
LTO query
Hopefully someone else on the dev list who has experience with LNT and the LLVM test-suite will chime in. I've never run it myself. Adding Mehdi since he ran it with LTO/ThinLTO. I found some documentation for the test-suite: https://llvm.org/docs/TestingGuide.html#test-suite-overview http://llvm.org/docs/lnt/quickstart.html http://llvm.org/docs/lnt/tests.html#llvm-cmake-test-suite But I can't find a...
2018 May 11
1
LTO query
Hi, Thanks for the info, If i only want to run performance test on benchmarks for LTO and Thin LTO enabled target, Can u suggest ways to do it ? I want to do it at my end. Thanks, Siddharth On Wed, May 2, 2018 at 7:03 PM, Teresa Johnson <tejohnson at google.com> wrote: > I've only measured performance on x86. There are some old results for SPEC > cpu2006 in the blo...
2018 May 09
1
lld + ThinLTO + fprofile-generate causes duplicate symbol errors
The problem is that ThinLTO is not dropping the non-prevailing definitions, and they end up being emitted into the object file for b.o. $ ../ra/bin/llvm-dis -o - b.o0.0.preopt.bc | grep __llvm_prof $__llvm_profile_raw_version = comdat any $__llvm_profile_filename = comdat any @__llvm_profile_raw_version = constan...
2018 May 11
1
lld + ThinLTO + fprofile-generate causes duplicate symbol errors
...resolve the tests - whether further cleanup is required in the code or in the tests. But if Teresa or you cannot get to it, I can, with some help, take a crack at fixing the tests. On Wed, May 9, 2018 at 11:26 AM Peter Collingbourne <peter at pcc.me.uk> wrote: > The problem is that ThinLTO is not dropping the non-prevailing > definitions, and they end up being emitted into the object file for b.o. > > $ ../ra/bin/llvm-dis -o - b.o0.0.preopt.bc | grep __llvm_prof > $__llvm_profile_raw_version = comdat any > $__llvm_profile_filename = comdat any > @__llvm_...
2018 Mar 21
1
lld/lto/win32 crash on DIE code
...rCreateContextDIE(const DIScope *Context) { - if (!Context || isa<DIFile>(Context)) + if (!Context || isa<DIFile>(Context) || isa<DICompileUnit>(Context)) However, I suggest talking to someone with in-depth debug info experience, as the problem itself seems to be not related to LTO. ________________________________________ От: Carlo Kok <ck at remobjects.com> Отправлено: 20 марта 2018 г. 17:50 Кому: Evgeny Leviant; llvm-dev at lists.llvm.org Тема: Re: [llvm-dev] lld/lto/win32 crash on DIE code Op 20-3-2018 om 12:40 schreef Evgeny Leviant: > This one triggers...
2018 Apr 05
1
[RFC] Adding function attributes to represent codegen optimization level
On 2018-04-04 22:00, Mehdi AMINI wrote: > Le mar. 3 avr. 2018 à 12:47, via llvm-dev <llvm-dev at lists.llvm.org> a > écrit : > >> All, >> A recent commit, D43040/r324557, changed the behavior of the gold >> plugin >> when compiling with LTO. The change now causes the codegen >> optimization >> level to default to CodeGenOpt::Default (i.e., -O2) rather than use >> the >> LTO optimization level. The argument was made that the LTO >> optimization >> level should control the amount of cross-module opt...
2018 May 11
1
[RFC] (Thin)LTO with Linker Scripts
RFC: (Thin)LTO with Linker Scripts At the last US LLVM Developers' Meeting, we presented [1] a proposal for linker script support in (Thin)LTO. In this RFC, I would like to describe the proposal in more detail and invite the community's feedback, so we can build consensus on the upstream implementation....
2018 Mar 20
1
lld/lto/win32 crash on DIE code
...erand, while you're passing pointer to structure: catchpad within %80 [{i8*, i8*}* anon..., ...] ________________________________________ От: Carlo Kok <ck at remobjects.com> Отправлено: 20 марта 2018 г. 11:04 Кому: Evgeny Leviant; llvm-dev at lists.llvm.org Тема: Re: [llvm-dev] lld/lto/win32 crash on DIE code Op 16-3-2018 om 20:16 schreef Evgeny Leviant: > Hello Carlo, > > I tried your reproducer and faced different problem from one you described > (I'm using MacOS Sierra and lld built from trunk on Mar, 15). The crash happens > when SelectionDAGBuilder::l...
2018 Jan 30
1
Enabling LTO for new target
yeah so when LTO runs, in the linker, it uses the target to produce object code. In the sense of code generation for target arch. Thanks, Siddharth On Mon, Jan 29, 2018 at 11:03 PM, Teresa Johnson <tejohnson at google.com> wrote: > Can you be more specific? LTO/ThinLTO are target independent. You jus...
2018 May 02
1
LTO query
I've only measured performance on x86. There are some old results for SPEC cpu2006 in the blog post here: http://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html The benefit is benchmark dependent, e.g. small benchmarks often don't improve much as they don't require whole program optimizations. We've improved the ThinLTO optimizations since then, but I don't have any current numbers for SPEC handy. Note th...
2018 Apr 11
1
exploring possibilities for unifying ThinLTO and FullLTO frontend + initial optimization pipeline
Hi Teresa, Thank you so much for your reply! I am on vacation until the end of this week and on EuroLLVM next week, so I have to apologize in advance that my replies are delayed. >>Right - see my reply on this from last night, at the very least the ThinLTO importing thresholds will need retuning if we will >>perform optimizations like unrolling/vectorization/etc that tend to increase code side. Have you only used internal benchmarks for tuning the ThinLTO’s importing thresholds? A couple of old postings mentioned public benchmarks for...
2018 May 09
1
lld + ThinLTO + fprofile-generate causes duplicate symbol errors
...with lld they are all marked as exported. Peter, any ideas? Teresa On Wed, May 9, 2018 at 9:52 AM Teresa Johnson <tejohnson at google.com> wrote: > Sorry, operator error. I can reproduce now. Interestingly, this does not > reproduce using gold, and they utilize the same underlying LTO API. Let me > dig a little using save-temps and see where they diverge. > Teresa > > On Wed, May 9, 2018 at 9:28 AM Pirama Arumuga Nainar <pirama at google.com> > wrote: > >> LLD revision is r331862. To add, I had initially tried it on r328903, >> which also rep...
2018 Apr 11
1
exploring possibilities for unifying ThinLTO and FullLTO frontend + initial optimization pipeline
...avr. 2018 à 23:18, <katya.romanova at sony.com> a écrit : > >> Hi Mehdi, >> >> >> >> Awesome! It’s a very clear design. The only question left is which >> pipeline to choose for unified compile-phase optimization pipeline. >> >> - ThinLTO compile-phase pipeline? It might very negatively affect >> compile-time and the memory footprint for FullLTO link-phase. That was the >> reason why so many optimization were moved from the link-phase to the >> parallel compile-phase for FullLTO in the first place. >> > &g...
2018 Apr 05
1
[RFC] Adding function attributes to represent codegen optimization level
Le mar. 3 avr. 2018 à 12:47, via llvm-dev <llvm-dev at lists.llvm.org> a écrit : > All, > A recent commit, D43040/r324557, changed the behavior of the gold plugin > when compiling with LTO. The change now causes the codegen optimization > level to default to CodeGenOpt::Default (i.e., -O2) rather than use the > LTO optimization level. The argument was made that the LTO optimization > level should control the amount of cross-module optimizations done by > LTO, but it sho...