search for: hongbin

Displaying 20 results from an estimated 148 matches for "hongbin".

2012 Nov 16
2
[LLVMdev] Trouble starting private llvm buildbot master.
Hi, I had cloned zorg from https://llvm.org/svn/llvm-project/zorg/trunk, then I try to start the buildbot master located in buildbot/osuosl/master (the absolute path is /nfs/home/hongbin.zheng/buildbot/zorg/buildbot/osuosl/master) by simply typing "buildbot start" And I get something like this from my twistd.log: --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks...
2016 Aug 02
3
LLVM bc converter from LLVM 3.9 to LLVM 3.1
...Recently we are thinking to introduce an LLVM bc converter from LLVM 3.9 to LLVM 3.1, such that we can introduce some of the newest LLVM analyses and optimizations to our LLVM 3.1 based project. Have you worked on similar things that converting LLVM bc downward and has anything to share? Thanks Hongbin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160802/5ca84dc4/attachment.html>
2016 Aug 03
2
LLVM bc converter from LLVM 3.9 to LLVM 3.1
...ode. Is this correct? According to your description, I guess the BitCodeWriter should be the one > to do the bitcode version downgrade, right? I think so. I don't know much about it and don't want to give you misleading information; I'm cc-ing Stephen. On 2 August 2016 at 16:53, Hongbin Zheng <etherzhhb at gmail.com> wrote: > Thanks Jakub. Looks Like I didn't rely all. > > I also have a look at the code, looks like it directly parse the bitcode > and build in memory representation in a different LLVM version than the > bitcode. Is this correct? > >...
2017 May 18
2
[cfe-dev] Struct padding
...it byte array is introduced to pad the struct. (I saw this happened in clang 3.9.) I want to check if a byte or byte array in an LLVM struct is introduce for explicit padding or not. I don't need to worry about this problem in case the newest clang do not introduce byte array anymore. Thanks Hongbin On Thu, May 18, 2017 at 1:03 AM, mats petersson <mats at planetcatfish.com> wrote: > What are you actually trying to achieve? LLVM knows the alignment and size > of each component. You could iterate over the different types and identify > when there is a difference in "calcula...
2012 Nov 16
0
[LLVMdev] Trouble starting private llvm buildbot master.
Hongbin, Did you tweak sys.path? # Extend paths to allow loading zorg and config modules. import os, sys path = os.path.join(os.environ.get('HOME'), 'zorg', 'buildbot', 'osuosl', 'master') if path not in sys.path: sys.path.append(path) path = os.path.join(os.envi...
2016 Aug 03
2
LLVM bc converter from LLVM 3.9 to LLVM 3.1
...uot;ll" code is simpler. Another approach I am thinking is linking to two different version of LLVM at the same time, and use the old version of IRBuilder to build bitcode from new version of LLVM IR. How do you think about this? At last, we also do not support exception handling:) Thanks. Hongbin On Tue, Aug 2, 2016 at 7:26 PM, Stephen Hines <srhines at google.com> wrote: > Hi Hongbin, > > On Tue, Aug 2, 2016 at 5:42 PM, Jakub Kuderski < > kubakuderski+llvm at gmail.com> wrote: > >> I also have a look at the code, looks like it directly parse the bitcode &...
2017 Apr 26
2
Collectively dominance
Hi Daniel, Thanks a lot for all these explanation, I will try it out. Hongbin On Tue, Apr 25, 2017 at 7:04 PM, Daniel Berlin <dberlin at dberlin.org> wrote: > > > On Tue, Apr 25, 2017 at 6:42 PM, Hongbin Zheng <etherzhhb at gmail.com> > wrote: > >> >> >> On Tue, Apr 25, 2017 at 6:32 PM, Daniel Berlin <dberlin at dberlin.org&g...
2017 Apr 26
1
Collectively dominance
...m nearly positive there is a much faster way, as the sets are mostly shared except in the cyclic case, and in all reducible cyclic cases, removal of back-arcs does not affect dominance (because in any reducible flowgraph, v dominates u whenever u,v is a back-arc) On Tue, Apr 25, 2017 at 7:38 PM, Hongbin Zheng <etherzhhb at gmail.com> wrote: > Hi Daniel, > > Thanks a lot for all these explanation, I will try it out. > > Hongbin > > On Tue, Apr 25, 2017 at 7:04 PM, Daniel Berlin <dberlin at dberlin.org> > wrote: > >> >> >> On Tue, Apr 25, 201...
2016 Sep 18
2
builtins name mangling in SPIR 2.0
I don't see any problem mangling it to be honest even though there seems to be only one prototype anyways. We could add restrict in as well. Cheers, Anastasia ________________________________ From: Hongbin Zheng <etherzhhb at gmail.com> Sent: 17 September 2016 05:32:54 To: Liu, Yaxun (Sam) Cc: cfe-dev at lists.llvm.org; llvm-dev; Bader, Alexey (alexey.bader at intel.com); Anastasia Stulova Subject: Re: builtins name mangling in SPIR 2.0 On Fri, Sep 16, 2016 at 8:10 AM, Liu, Yaxun (Sam) <Y...
2017 May 18
2
[cfe-dev] Struct padding
the packed + aligned attribute will automatically introduce explicit padding byte array: https://godbolt.org/g/TlHX2g Sometimes Clang will decide to automatically pack the struct/class in C++, I don't know the details here, but looks like it is related to inheritance. Thanks Hongbin On Thu, May 18, 2017 at 1:32 AM, mats petersson <mats at planetcatfish.com> wrote: > How do you mean that a byte array is added? Because at least in my > experiments, I don't see that: > > struct A > { > int a; > char b; > long c; > }; > > s...
2016 Sep 16
2
builtins name mangling in SPIR 2.0
...tion is supported, and is mangled according to its prototype as follows: int printf(constant char * restrict fmt, ... ) Note that the ellipsis formal argument (...) is mangled to argument type specifier z It seems printf should be mangled. Alexey/Anastasia, What do you think? Thanks. Sam From: Hongbin Zheng [mailto:etherzhhb at gmail.com] Sent: Friday, September 16, 2016 1:54 AM To: Liu, Yaxun (Sam) <Yaxun.Liu at amd.com> Cc: cfe-dev at lists.llvm.org; llvm-dev <llvm-dev at lists.llvm.org> Subject: Re: builtins name mangling in SPIR 2.0 Hi Sam and others, I saw that in [1], printf...
2016 Aug 03
3
LLVM bc converter from LLVM 3.9 to LLVM 3.1
> On Aug 2, 2016, at 8:38 PM, Stephen Hines via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi Hongbin, > > On Tue, Aug 2, 2016 at 8:26 PM, Hongbin Zheng <etherzhhb at gmail.com <mailto:etherzhhb at gmail.com>> wrote: > Hi Steve, > > Several people told me that LLVM TOT bcreader can read odder version of bitcode without any problem. Do you know the oldest version of bitc...
2016 Aug 03
2
LLVM bc converter from LLVM 3.9 to LLVM 3.1
...er in LLVM ToT? Also, the bitcode "downgrade" is done by : // Use the LLVM 3.2 bitcode writer, instead of the top-of-tree version. llvm_3_2::WriteBitcodeToFile(module, OS); Is the corresponding source code also available? if so could you point me to the corresponding file? Thanks again Hongbin On Tue, Aug 2, 2016 at 9:29 PM, Stephen Hines <srhines at google.com> wrote: > Ah, I had missed that. That is great news to hear, actually. The RS team > had already started planning how to adapt their translator to have a 4.0 > (really 3.x) reader for when the dreaded 4.1/5.0 rel...
2017 Apr 26
2
Collectively dominance
On Tue, Apr 25, 2017 at 6:32 PM, Daniel Berlin <dberlin at dberlin.org> wrote: > > > On Tue, Apr 25, 2017 at 6:17 PM, Hongbin Zheng <etherzhhb at gmail.com> > wrote: > >> Hi Daniel, >> >> I mean "*As a set*, B + C dominate D". >> >> On Tue, Apr 25, 2017 at 5:42 PM, Daniel Berlin <dberlin at dberlin.org> >> wrote: >> >>> When you say collectivel...
2017 Apr 26
2
Store unswitch
...me relative source order. In unswitch2() they have been permuted, and the algorithm cannot deal with this. This requires some kind of value numbering to do efficiently. The GVNSink pass that I really should get around to updating should solve this, eventually! James On Wed, 26 Apr 2017 at 08:19 Hongbin Zheng via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Looks like this do not work: > > // Type your code here, or load an example. > int a[10]; > > void unswitch2(int i, int x, int y0, int y1) { > if (x) { > a[i] = y0; > a[i + 1] = y1; > } else {...
2016 Aug 03
2
LLVM bc converter from LLVM 3.9 to LLVM 3.1
...On Tue, Aug 2, 2016 at 8:44 PM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: > >> On Aug 2, 2016, at 8:38 PM, Stephen Hines via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: >> >> Hi Hongbin, >> >> On Tue, Aug 2, 2016 at 8:26 PM, Hongbin Zheng <etherzhhb at gmail.com <mailto:etherzhhb at gmail.com>> wrote: >> Hi Steve, >> >> Several people told me that LLVM TOT bcreader can read odder version of bitcode without any problem. Do you know the ol...
2017 May 18
2
Struct padding
...1 byte long x; /* 8 bytes */ }; clang may generate: struct foo1 { char *p; /* 8 bytes */ char c; /* 1 byte char pad[7]; /* 7 bytes */ long x; /* 8 bytes */ }; Is there any way that I can tell the "pad" array is generated by padding? Thanks a lot Hongbin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170518/ff0f0d67/attachment.html>
2017 Nov 17
2
Propagating noalias annotation
On 11/17/2017 02:01 AM, Hongbin Zheng wrote: > Do you mean a and b are noalias if: > > static int foo(int *a, int *b) { > return a[0] + b[0]; > } > > int bar(int *x) { > return foo(x+1, x); > } > > ? > > To me, because "AA.alias((x+1, MemoryLocation::UnknownSize), > (x, MemoryLo...
2017 May 01
2
Problem with Polly build
2017-05-01 20:16 GMT+02:00 Eugene Zelenko via llvm-dev <llvm-dev at lists.llvm.org>: > Hi, Hongbin! > > On Mon, May 1, 2017 at 11:06 AM, Hongbin Zheng <etherzhhb at gmail.com> wrote: >> Hi Eugene, >> >> It is strange, I also do a clean build with CMake+make with r301734 and it >> is ok. Could you provide more details? >> >> Thanks >> Hongbin...
2006 May 11
3
Reinstall ruby''s MySQL Library on OS X Server
...it does not work correctly with the default MySQL. I am wondering if anybody can shed some light on: 1): how to reinstall ruby''s mysql library on the OS X server, 2): Is it possible to keep the old database files intact while reinstall ruby''s mysql library. Thanks in advance, -Hongbin