Displaying 20 results from an estimated 9000 matches similar to: "How to submit a patch?"
2020 Aug 10
2
How to deal with multiple patches to the same file
I owe you a gala dinner at your favorite restaurant. Really.
A few questions:
Why did you 'git pull --rebase' when the branch was up-to-date? Is this just a safety habit?
I don't understand the pushing upstream. Since we use Phabricator, isn't that the job of the person who commits the patch?
Does git keep all my branches up-to-date with the origin? Say I come in tomorrow and
2019 Jun 30
3
Tablegen ridiculously slow when compiling for Debug
Hi Praveen,
Thanks for the tip, but Xcode seems to spend all the time running tablegen "custom shell scripts", one by one at a time, not linking. Linking is actually very fast, possibly less than a second. The “scripts” that take longer are “AArch64CommonTableGen" and “AMDGPUCommonTableGen”. As said this is on LLVM 9.0.
However, on LLVM 7.0.1, the same process takes just 5-6
2019 Jun 30
2
Tablegen ridiculously slow when compiling for Debug
This is also the case with the Visual Studio generators. Custom commands in
a single cmake file essentially get written out line by line into a single
batch file that gets processed as a custom build step. In the VS case this
means that it can, for example, run X86 and Aarch64 tablegen steps in
parallel with each other but all of the individual X86 invocations get
processed serially. I can well
2020 Jan 08
3
[cfe-dev] Phabricator -> GitHub PRs?
On Tue, Jan 7, 2020 at 5:35 PM Jonas Devlieghere <jonas at devlieghere.com>
wrote:
> On Tue, Jan 7, 2020 at 5:16 PM Bill Wendling via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
> >
> > On Tue, Jan 7, 2020 at 4:59 PM Doerfert, Johannes <jdoerfert at anl.gov>
> wrote:
> >>
> >> Hi Bill,
> >>
> >> On 01/07, Bill Wendling
2019 Dec 20
2
LLJIT vs. thread-local storage
Yes, I confirm.
Le ven. 20 déc. 2019 à 19:12, Praveen Velliengiri <
praveenvelliengiri at gmail.com> a écrit :
> Hi,
> Orc v2 is different from the internal structure then Orc v1 not just in
> API level.
> TLS support is not in ORC for a long time at least I'm aware of , Could
> you please confirm that ORC v1 actually compiles and run the code with
> Thread locals?
2019 Jun 30
2
orc vs mcjit
yeah i m concerned about jit compilation time..
On Sun, Jun 30, 2019 at 12:57 PM Praveen Velliengiri <
praveenvelliengiri at gmail.com> wrote:
> Yes I think so.. Could you please tell me in which context (compile time
> improvement)? That is whether you are interested in knowing whether having
> ORC instead of MCJIT, will increase your LLVM Build time or you are
> concerned
2019 Jul 01
2
Tablegen ridiculously slow when compiling for Debug
Hey Joan,
When looking for build support it is really useful to include a bunch of information about your build up front. Knowing that you are on macOS, and using the Xcode generator are really useful.
On macOS, BUILD_SHARED_LIBS won’t really help much because the default linker (ld64) is pretty good. Using an IDE generator and setting LLVM_USE_OPTIMIZED_TABLEGEN will kill your release builds.
2019 Dec 20
2
LLJIT vs. thread-local storage
And yet the same C++ code using thread-local variables works fine (or seems
to) when compiled with Orc v1. Does the change to the Orc API really make
thread-local storage more difficult?
On Fri, Dec 20, 2019 at 3:52 PM Praveen Velliengiri <
praveenvelliengiri at gmail.com> wrote:
> Oh, I think Linux don't have support for TLS.
>
> On Fri, 20 Dec 2019 at 20:19, Geoff Levner
2019 Aug 27
2
Orc JIT vs. STL
You can add symbols from Archieve via StaticLibrarySearchGenerator. But it
is added recently though
On Tue, 27 Aug 2019 at 21:02, Praveen Velliengiri <
praveenvelliengiri at gmail.com> wrote:
> Hi Geoff,
> I tried it, but I can't able to reproduce it.
>
> Test Program:
> #include <fstream>
> int main()
> {
> std::ifstream stream1, stream2;
>
2019 Jun 30
2
orc vs mcjit
Thanks Praveen. Is it suitable for LLVM 7.0.1 ? Apart from flexibility, do
we see any compile time improvements as well with ORC?
On Sun, Jun 30, 2019 at 12:31 PM Praveen Velliengiri <
praveenvelliengiri at gmail.com> wrote:
> MCJIT hopefully will be removed in subsequent releases. I think the last
> release version is more suitable.
>
> On Sun, 30 Jun 2019 at 11:45, Ashok
2019 Jul 01
3
Tablegen ridiculously slow when compiling for Debug
If someone can manage it, it wouldn't be a bad thing - obviously open up
more parallelism (I don't know how much of LLVM can be built before you hit
everything that needs tblgen run - I guess libSupport and some other bits)
On Mon, Jul 1, 2019 at 12:54 PM Zakharin, Vyacheslav P via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> [resending to the whole list]
>
>
>
>
2018 Mar 26
3
Comments in LLVM blog
Hi!
I think that comments section will help people to organize the Q&A in the
same webpage. But it also leads to spam as you said, However, I don't have
any strong rationale for enabling them :)
Thanks for your reply Chris!
Pree
On 26 March 2018 at 22:45, Chris Lattner <clattner at nondot.org> wrote:
> On Mar 26, 2018, at 10:12 AM, Praveen Velliengiri via llvm-dev <
>
2019 May 10
2
ORC - which example code?
Trying to put together a simple test JIT compiler, using ORC which as I
understand it will be the supported API going forward, I noticed that in
the first chapter of the updated Kaleidoscope tutorial, there is sample
code that starts like this:
ExecutionSession ES;
RTDyldObjectLinkingLayer ObjectLayer;
IRCompileLayer CompileLayer;
DataLayout DL;
MangleAndInterner Mangle;
ThreadSafeContext Ctx;
2019 Sep 17
2
Spectre V1 Mitigation - Internals?
Hi,
Yeah, now I understand the problem here. Thanks.
But I too have another doubt in "Bounds check bypass store"
In this example in the Speculative load hardening :
unsigned char local_buffer[4];unsigned char
*untrusted_data_from_caller = ...;unsigned long
untrusted_size_from_caller = ...;if (untrusted_size_from_caller <
sizeof(local_buffer)) {
// Speculative execution enters here
2019 Jul 02
4
Tablegen ridiculously slow when compiling for Debug
Much of this has been discussed (over many, many years) on
https://bugs.llvm.org/show_bug.cgi?id=28222
Some of the issues that were identified included:
1 - Poor tablegen dependency handling leading to unexpected rebuilds.
2 - Debug STL iterator checks taking an insane amount of time (might be
MSVC specific).
3 - Lack of parallelization of custom commands (XCode and VS builds) -
VS at least
2019 Aug 10
2
ORC v2 question
Hi Praveen,
On Sat, 10 Aug 2019 at 21:05, Praveen Velliengiri
<praveenvelliengiri at gmail.com> wrote:
>
> Could you please send me your unoptimized and expected optimized code? The default implementation only contains some transformations. It would be helpful to know what you are actually trying.
> Optimize Module is just a function object.
>
You can view the code here:
2018 Mar 17
1
GSoC 2018 - FUNCTION ATTRIBUTE INFERENCE
Hi Guys!
I'm Praveen Velliengiri, studying third year Msc Data Science at PSG
COLLEGE OF TECHNOLOGY.
I would like to participate in GSoC 2018 under LLVM Organization. I went
through the GSoC Project ideas page and the LLVM mailing list. I really
liked the *FUNCTION ATTRIBUTE INFERENCE *project. I'm starting to make
initial studies for the project. I'm new to LLVM i don't know
2019 Jun 30
2
Tablegen ridiculously slow when compiling for Debug
Hi Praveen,
Please, can you elaborate on this?. What do do mean by “building as shared objects”.
Thanks,
John
> On 30 Jun 2019, at 07:32, Praveen Velliengiri <praveenvelliengiri at gmail.com> wrote:
>
> Maybe try building llvm as a shared objects..
>
> On Jun 30, 2019 1:30 AM, "Joan Lluch via llvm-dev" <llvm-dev at lists.llvm.org <mailto:llvm-dev at
2019 Sep 19
2
Errata: The JIT tutorial
For example, the illustrate part says "ES.getMainJITDylib().setGenerator"
while the full code list says "ES.getMainJITDylib().addGenerator", I guess
the API is changed, the tutorial part is up to date while the full code
list leaves to the old version.
On Thu, Sep 19, 2019 at 10:51 AM Yafei Liu <yfliu at mobvoi.com> wrote:
> Yes, the function type mismatch, just copy
2019 Sep 17
2
Spectre V1 Mitigation - Internals?
Hi,
Thanks for your email, I understand that the execution stalls until the
predicated state is computed, then we mask pointers with all_zeros_mask if
there is a mis-prediction. But I understand that as soon as the condition
value is available, the processor can check about it's assumptions and
revert back.
That is,
If the branch prediction is correct during speculation, we mask with