search for: xinliang

Displaying 20 results from an estimated 516 matches for "xinliang".

2013 Jul 16
2
[LLVMdev] [LLVM Dev] [Discussion] Function-based parallel LLVM backend code generation
On Tue, Jul 16, 2013 at 1:37 PM, Xinliang David Li <xinliangli at gmail.com>wrote: > On Tue, Jul 16, 2013 at 1:33 PM, Chandler Carruth <chandlerc at google.com> > wrote: > > On Tue, Jul 16, 2013 at 1:18 PM, Xinliang David Li <xinliangli at gmail.com > > > > wrote: > >> > >> Ignoring...
2016 Oct 04
2
(Thin)LTO llvm build
...ase with both bfd and gold linker. David On Tue, Oct 4, 2016 at 6:58 AM, Teresa Johnson <tejohnson at google.com> wrote: > > > On Mon, Oct 3, 2016 at 6:15 PM, Teresa Johnson <tejohnson at google.com> > wrote: > >> >> >> On Mon, Oct 3, 2016 at 5:24 PM, Xinliang David Li <xinliangli at gmail.com> >> wrote: >> >>> Small repro: >>> >>> __attribute__((weak)) int hello_world(); >>> >>> int test() { >>> if (hello_world) >>> return hello_world(); >>> return 0; &gt...
2014 Apr 17
3
[LLVMdev] multithreaded performance disaster with -fprofile-instr-generate (contention on profile counters)
On Apr 17, 2014, at 11:09 AM, Xinliang David Li <xinliangli at gmail.com> wrote: > > On Thu, Apr 17, 2014 at 10:58 AM, Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote: > > On 2014-Apr-17, at 10:38, Xinliang David Li <xinliangli at gmail.com> wrote: > > > > > Another idea is to use...
2015 Jun 24
3
[LLVMdev] Inline hint for methods defined in-class
Sorry for misinterpreting, but what is the basis for the simple fact you mentioned? David On Wed, Jun 24, 2015 at 2:43 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: >> -----Original Message----- >> From: Xinliang David Li [mailto:davidxl at google.com] >> Sent: Wednesday, June 24, 2015 2:17 PM >> To: Robinson, Paul >> Cc: Easwaran Raman; Xinliang David Li; <llvmdev at cs.uiuc.edu> List >> Subject: Re: [LLVMdev] Inline hint for methods defined in-class >> >> On Wed,...
2013 Jul 16
0
[LLVMdev] [LLVM Dev] [Discussion] Function-based parallel LLVM backend code generation
On Tue, Jul 16, 2013 at 1:40 PM, Chandler Carruth <chandlerc at google.com> wrote: > On Tue, Jul 16, 2013 at 1:37 PM, Xinliang David Li <xinliangli at gmail.com> > wrote: >> >> On Tue, Jul 16, 2013 at 1:33 PM, Chandler Carruth <chandlerc at google.com> >> wrote: >> > On Tue, Jul 16, 2013 at 1:18 PM, Xinliang David Li >> > <xinliangli at gmail.com> >> > wrote...
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:10 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: >> -----Original Message----- >> From: Easwaran Raman [mailto:eraman at google.com] >> Sent: Wednesday, June 24, 2015 1:27 PM >> To: Xinliang David Li >> Cc: Robinson, Paul; Xinliang David Li; <llvmdev at cs.uiuc.edu> List >> Subject: Re: [LLVMdev] Inline hint for methods defined in-class >> >> The method to identify functions with in-class definitions is one part >> of my question. Even if there is a...
2016 Oct 04
2
(Thin)LTO llvm build
On Mon, Oct 3, 2016 at 5:24 PM, Xinliang David Li <xinliangli at gmail.com> wrote: > Small repro: > > __attribute__((weak)) int hello_world(); > > int test() { > if (hello_world) > return hello_world(); > return 0; > } > > $ clang -fuse-ld=gold -flto=thin -O2 -shared -fPIC -o libmore.so m...
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:52 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: > > >> -----Original Message----- >> From: Xinliang David Li [mailto:davidxl at google.com] >> Sent: Wednesday, June 24, 2015 2:50 PM >> To: Robinson, Paul >> Cc: Easwaran Raman; Xinliang David Li; <llvmdev at cs.uiuc.edu> List >> Subject: Re: [LLVMdev] Inline hint for methods defined in-class >> >> Sorry fo...
2016 Aug 17
5
AutoFDO sample profiles v. SelectInst,
On Fri, Aug 12, 2016 at 12:15 PM, Xinliang David Li via llvm-dev < llvm-dev at lists.llvm.org> wrote: > +dehao. > > There are two potential problems: > > 1) the branch gets eliminated in the binary that is being profiled, so > there is no profile data > This seems like a fundamental problem for PGO. Maybe it is...
2016 Oct 03
2
(Thin)LTO llvm build
On Mon, Oct 3, 2016 at 3:53 PM, Xinliang David Li <xinliangli at gmail.com> wrote: > What is the linker command line buidling liblldb.so? is libgcc.a passed in? > There is no difference in the linker command for liblldb.so or bin/lldb between the ld.bfd and ld.gold cases, and neither links libgcc.a that I can see. The diffe...
2010 Oct 29
3
[LLVMdev] strict aliasing and LLVM
On Fri, Oct 29, 2010 at 12:26 AM, Nick Lewycky <nicholas at mxc.ca> wrote: > Xinliang David Li wrote: > >> As simple as >> >> void foo (int n, double *p, int *q) >> { >> for (int i = 0; i < n; i++) >> *p += *q; >> } >> >> clang -O2 -fstrict-aliasing -emit-llvm -o foo.bc -c foo.c >> llc -enable-tbaa -O2 -filety...
2010 Oct 30
0
[LLVMdev] strict aliasing and LLVM
Xinliang David Li wrote: > > > On Fri, Oct 29, 2010 at 12:26 AM, Nick Lewycky <nicholas at mxc.ca > <mailto:nicholas at mxc.ca>> wrote: > > Xinliang David Li wrote: > > As simple as > > void foo (int n, double *p, int *q) > { >...
2015 Jun 24
4
[LLVMdev] Inline hint for methods defined in-class
...nctions with in-class definitions is one part of my question. Even if there is a way to do that without passing the hint, I'm interested in getting feedback on treating it at-par with functions having the inline hint in inline cost analysis. Thanks, Easwaran On Wed, Jun 24, 2015 at 12:56 PM, Xinliang David Li <xinliangli at gmail.com> wrote: > The problem is that the other way around is not true: a function > linkonce_odr linkage may be neither inline declared nor have in-class > definition. > > David > > > On Wed, Jun 24, 2015 at 11:53 AM, Robinson, Paul > <...
2015 Mar 24
3
[LLVMdev] RFC - Improvements to PGO profile support
On Tue, Mar 24, 2015 at 11:46 AM, Xinliang David Li <xinliangli at gmail.com> wrote: > On Tue, Mar 24, 2015 at 11:29 AM, Chandler Carruth <chandlerc at google.com> > wrote: > >> Sorry I haven't responded earlier, but one point here still doesn't make >> sense to me: >> >> On Tue, Mar 24,...
2015 Mar 27
3
[LLVMdev] fix for loop scale limiting in BFI
On Fri, Mar 27, 2015 at 4:09 PM, Xinliang David Li <xinliangli at gmail.com> wrote: > How about only removing the scaling limit when PGO is on? I don't see the > need for this change without PGO. This is what my patch does, and it's getting into issues. With the scaling limit gone, the frequencies propagated overflow...
2015 Jun 24
6
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:10 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: >> -----Original Message----- >> From: Easwaran Raman [mailto:eraman at google.com] >> Sent: Wednesday, June 24, 2015 1:27 PM >> To: Xinliang David Li >> Cc: Robinson, Paul; Xinliang David Li; <llvmdev at cs.uiuc.edu> List >> Subject: Re: [LLVMdev] Inline hint for methods defined in-class >> >> The method to identify functions with in-class definitions is one part >> of my question. Even if there is a...
2014 Apr 17
2
[LLVMdev] multithreaded performance disaster with -fprofile-instr-generate (contention on profile counters)
On 2014-Apr-17, at 10:38, Xinliang David Li <xinliangli at gmail.com> wrote: > > Another idea is to use stack local counters per function -- synced up with global counters on entry and exit. the problem with it is for deeply recursive calls, stack pressure can be too high. I think they'd need to be synced with glo...
2015 May 27
2
[LLVMdev] FW: Capabilities of Clang's PGO (e.g. improving code density)
David, Yes, that is very helpful. Thanks! --randy From: Xinliang David Li [mailto:xinliangli at gmail.com] Sent: Wednesday, May 27, 2015 12:53 PM To: Randy Chapman Cc: Lee Hunt; llvmdev at cs.uiuc.edu Subject: Re: FW: [LLVMdev] Capabilities of Clang's PGO (e.g. improving code density) On Wed, May 27, 2015 at 12:40 PM, Randy Chapman <randyc at microsoft...
2016 Feb 27
1
Possible soundness issue with available_externally (split from "RFC: Add guard intrinsics")
----- Original Message ----- > From: "Hal Finkel via llvm-dev" <llvm-dev at lists.llvm.org> > To: "Xinliang David Li" <xinliangli at gmail.com> > Cc: "llvm-dev" <llvm-dev at lists.llvm.org> > Sent: Friday, February 26, 2016 11:07:35 PM > Subject: Re: [llvm-dev] Possible soundness issue with > available_externally (split from "RFC: Add guard intrinsics") &...
2015 Mar 24
2
[LLVMdev] RFC - Improvements to PGO profile support
Capping also leads to other kinds of problems -- e.g., sum of incoming edge count (callgraph) does not match the callee entry count etc. David On Tue, Mar 24, 2015 at 12:50 PM, Xinliang David Li <xinliangli at gmail.com> wrote: > > > On Tue, Mar 24, 2015 at 12:45 PM, Chandler Carruth <chandlerc at google.com> > wrote: > >> >> On Tue, Mar 24, 2015 at 11:46 AM, Xinliang David Li <xinliangli at gmail.com >> > wrote: >> >&gt...