search for: lluch

Displaying 20 results from an estimated 80 matches for "lluch".

2019 Jun 30
3
Tablegen ridiculously slow when compiling for Debug
...tion, it builds llvm as .so not as .a. It will use less memory during linking so you can increase the link threads and your build time will be lesser. > Check this in : https://llvm.org/docs/CMake.html <https://llvm.org/docs/CMake.html> > > > On Sun, 30 Jun 2019 at 14:42, Joan Lluch <joan.lluch at icloud.com <mailto:joan.lluch at icloud.com>> wrote: > 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 Velliengir...
2019 Jul 01
3
Tablegen ridiculously slow when compiling for Debug
...its job? Would that solve most of the build time issues? > > > > Thanks, > > Slava > > > > > > *From:* llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] *On Behalf Of *Chris > Bieneman via llvm-dev > *Sent:* Monday, July 1, 2019 10:35 AM > *To:* Joan Lluch <joan.lluch at icloud.com> > *Cc:* llvm-dev <llvm-dev at lists.llvm.org> > *Subject:* Re: [llvm-dev] Tablegen ridiculously slow when compiling for > Debug > > > > Hey Joan, > > > > When looking for build support it is really useful to include a bunch of...
2019 Jul 01
2
Tablegen ridiculously slow when compiling for Debug
...er than Ninja for incremental builds, and 1.5x-2x as long for clean builds. Lots of people use the Xcode generator to create a project file for navigation and editing, but most people I know doing LLVM development on macOS use Ninja for their builds. -Chris > On Jun 30, 2019, at 12:18 PM, Joan Lluch via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi Greg, > > I tried to setup Ninja before on my mac but I mush have done something wrong and I didn’t manage to get it work. I’m not familiarised at all with the procedures involved. I may try that again to see If I have some...
2019 Jun 30
2
Tablegen ridiculously slow when compiling for Debug
...ists.llvm.org> wrote: > Are you saying that the TableGen execution isn't parallelized? That > seems like an obvious Xcode-specific problem... > > The TableGen executions are parallelized with cmake/ninja just fine. > > Cheers, > Nicolai > > On 30.06.19 11:28, Joan Lluch via llvm-dev wrote: > > 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 > >...
2019 Jul 02
4
Tablegen ridiculously slow when compiling for Debug
...> >> Slava >> >> *From:*llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org >> <mailto:llvm-dev-bounces at lists.llvm.org>] *On Behalf Of *Chris >> Bieneman via llvm-dev >> *Sent:* Monday, July 1, 2019 10:35 AM >> *To:* Joan Lluch <joan.lluch at icloud.com >> <mailto:joan.lluch at icloud.com>> >> *Cc:* llvm-dev <llvm-dev at lists.llvm.org >> <mailto:llvm-dev at lists.llvm.org>> >> *Subject:* Re: [llvm-dev] Tablegen ridiculously slow when >> compiling f...
2019 May 13
3
How to change CLang struct alignment behaviour?
...to track findOptimalMemOpLowering with the debugger to see if I see some light. So thanks for pointing that out to me. John Tel: 620 28 45 13 > On 13 May 2019, at 09:33, Tim Northover <t.p.northover at gmail.com> wrote: > > Hi Joan, > > On Mon, 13 May 2019 at 07:53, Joan Lluch <joan.lluch at icloud.com> wrote: >> The reason I want structs to be aligned/padded to 2 bytes is because my architecture only has 16 bit operations. I can read (sign and zero extended) and write (truncated) 8 bit data from/to memory, but all intermediate operations in registers are per...
2019 May 03
2
LLVM Virtual registers after RA pass?
...east a couple of backend implementations (including ARM Thumb) create virtual registers in ‘eliminatedFrameIndex’. What am I missing?, is there something that I need to set for virtual registers to be allowed after the RA pass, and specifically in the ‘eliminateFrameIndex’ function? Thanks, Joan Lluch Puigsacalm, 7 17458 - Fornells de la Selva Girona Tel: 620 28 45 13 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190503/bfb0c6e9/attachment.html>
2019 Nov 04
2
Debugging clang with debugger breakpoints ?
...chary Turner <zturner at roblox.com> wrote: > > You hit Reply on my email but then addressed David. So I want to make sure you saw my suggestion. Let me know if you tried that and/or whether or not it solved your problem. > > Zach > > On Mon, Nov 4, 2019 at 1:23 PM Joan Lluch <joan.lluch at icloud.com <mailto:joan.lluch at icloud.com>> wrote: > Hi David, > > I understand what you say, but have you actually read my messages? I don’t think so, > > Anyway, I will repost the question in case someone else can help. > > Thanks > > Jo...
2019 May 14
2
How to change CLang struct alignment behaviour?
Hi John, On Tue, 14 May 2019 at 17:51, Joan Lluch <joan.lluch at icloud.com> wrote: > This problem is also shared by the MSP430 target, and it’s very easy to reproduce by just compiling the code that I posted before. That's some good detective work; it definitely explains what you're seeing. Since MSP430 is affected it would prob...
2019 Jun 30
2
Tablegen ridiculously slow when compiling for Debug
..., 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 lists.llvm.org>> wrote: > Hi Florian, > > Ok, I ran this: > > cmake -S LLVM -DCMAKE_INSTALL_PREFIX=INSTALL -DLLVM_OPTIMIZED_TABLEGEN=On -G Xcode > > Compiled it again from clean, and the situation...
2019 Jul 09
2
Tablegen ridiculously slow when compiling for Debug
...>>> >>> *From:*llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org >>> <mailto:llvm-dev-bounces at lists.llvm.org>] *On Behalf Of *Chris >>> Bieneman via llvm-dev >>> *Sent:* Monday, July 1, 2019 10:35 AM >>> *To:* Joan Lluch <joan.lluch at icloud.com >>> <mailto:joan.lluch at icloud.com>> >>> *Cc:* llvm-dev <llvm-dev at lists.llvm.org >>> <mailto:llvm-dev at lists.llvm.org>> >>> *Subject:* Re: [llvm-dev] Tablegen ridiculously slow when >>...
2019 Jun 05
2
Optimizing Compare instruction selection
...instruction selection these are replaced by actual, physical, BRCC instructions. This solution has proved to work fine without having to explicitly involve the SR. Of course, the SR is still implicitly involved by the correct definition of ‘Uses’ and ‘Defs’ on the corresponding instructions. Joan Lluch > On 3 Jun 2019, at 21:00, Eli Friedman <efriedma at quicinc.com> wrote: > > Have you implemented TargetRegisterInfo::getCrossCopyRegClass? > > -Eli > > From: Joan Lluch <joan.lluch at icloud.com> > Sent: Sunday, June 2, 2019 2:39 AM > To: Eli Friedman...
2019 Jun 14
2
Help required on running the regression tests
Hi Joan, On Fri, 14 Jun 2019 at 11:45, Joan Lluch <joan.lluch at icloud.com> wrote: > When I started with this, I just downloaded the sources for the LLVM site, I did not even created a git for it. Then ran the CMAKE app (not from the command line) with the default settings other than also adding the ‘experimental’ targets, and boom a ful...
2019 Jun 11
2
Bug: Library functions for ISD::SRA, ISD::SHL, and ISD::SRL
...tion of many 8 and 16 bit architectures for embedded and control applications make it worth a LLVM focus shift to the particular needs of these smaller processors. Incidentally, the AVR and the MSP430 still remain as ‘experimental’ targets. Just my two cents anyway, and sorry for my English. John Lluch > On 11 Jun 2019, at 02:16, Eli Friedman <efriedma at quicinc.com> wrote: > > The legalization itself is simple; the issue all the places that assume shifts are legal. For example, you probably don’t want “a+a” to become a libcall. > > -Eli > > From: Joan Lluch &l...
2019 Jul 07
2
Linker errors after installing/compiling LLVM/CLANG
...the ninja one (“ninja clang” on command line), and I change the debugger target from the default to point directly into my ninja directory , so VS is debugging the thing that was built with ninja. >> >> Hopefully that makes sense >> >> On Sun, Jul 7, 2019 at 11:59 AM Joan Lluch <joan.lluch at icloud.com <mailto:joan.lluch at icloud.com>> wrote: >> Hi zturner >> >> Please, would you describe me step by step how do I get both a Xcode project and a Ninja setup for compiling the same? >> >> I have downloaded the Ninja-mac binary fro...
2019 Jul 07
2
Linker errors after installing/compiling LLVM/CLANG
...separate directories. I build with the ninja one (“ninja clang” on command line), and I change the debugger target from the default to point directly into my ninja directory , so VS is debugging the thing that was built with ninja. Hopefully that makes sense On Sun, Jul 7, 2019 at 11:59 AM Joan Lluch <joan.lluch at icloud.com> wrote: > Hi zturner > > Please, would you describe me step by step how do I get both a Xcode > project and a Ninja setup for compiling the same? > > I have downloaded the Ninja-mac binary from here > https://github.com/ninja-build/ninja/release...
2019 Jun 10
2
Bug: Library functions for ISD::SRA, ISD::SHL, and ISD::SRL
...lowering. I would suggest that you look in more detail at the actual implementation of the ConvertNodeToLibCall and from where it is called and its actual purpose. There’s nothing else required. So I would appreciate that you elaborate on why you think that this is not a good idea. Thanks, John Lluch > On 10 Jun 2019, at 21:09, Eli Friedman <efriedma at quicinc.com> wrote: > > All in-tree targets have variable shift instructions for native integer types, except for AVR. And AVR implements custom lowering. I’m not sure what else would be required to actually make marking a sh...
2019 Jun 06
2
Strange behaviour of post-legalising optimisations(?)
...uctor. I also created my own TargetTransformInfo implementation based on the ARM code, which works fine as the functions get diligently called, but I found that it’s not of much help because it doesn’t have the necessary hooks to solve this issue) So any additional help would be appreciated. Joan Lluch > On 5 Jun 2019, at 19:33, Tim Northover <t.p.northover at gmail.com> wrote: > > Hi Joan, > > On Wed, 5 Jun 2019 at 08:58, Joan Lluch via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> Any ideas about why this happens?. Particularly, what could cause this...
2019 May 05
2
How to get CLang array alloca alignments to be smaller than 16 bytes?
...nt and organised than the actual folder structure. What does all that, I have no idea, but cmake creates it all by just selecting xCode as the cmake “generator”. John > On 5 May 2019, at 22:58, Tim Northover <t.p.northover at gmail.com> wrote: > > On Sun, 5 May 2019 at 21:49, Joan Lluch <joan.lluch at icloud.com> wrote: >> However, I now have found that for some reason the .h files in the lib/Basic/Targets directory were not included as part of the Xcode project. > > Ah. At least we now have a common view on the source, and hopefully > you can see what needs...
2019 Jul 07
3
Linker errors after installing/compiling LLVM/CLANG
...that note, patches are certainly welcome, but if you just want to unblock yourself, the easiest way is going to be to type a command on the command line to do your build instead of pressing a button in the UI (and you could still use the UI for everything else) On Sun, Jul 7, 2019 at 9:40 AM Joan Lluch <joan.lluch at icloud.com> wrote: > > Hi zturner, > > I understand what you say and I have been suggested this a couple of > times, but I really don’t want to make the switch to ninja. I’m a retired > senior software developer and I just use LLVM for a custom backend that I...