search for: momchil

Displaying 13 results from an estimated 13 matches for "momchil".

2019 Apr 15
2
Loop Strength Reduction Pass Does Not Work for Some Varialbles Related to Induction Variables
Dear Momchil, Thanks a lot for your prompt reply and kindly suggestion. The code will truly lead to some automatic unrolling with GCC and increase the number of operations in the assembly code. However, I am focus on the the IR optimization and the calculation of the array element offest, which may nee...
2019 Apr 15
2
Loop Strength Reduction Pass Does Not Work for Some Varialbles Related to Induction Variables
Dear all, Hi! Recently, I try to combine the passes SeparateConstOffsetFromGEP and LoopStrengthReduction to transform the multiplication in the lowered GEP IRs into addition. However, it seems LoopStrengthReduction is unable to remove all the multiplications for the element offset calculation. My test code is shown below and thanks a lot in advance for your time and suggestion!
2018 Apr 09
2
Issue with shrink wrapping
...ultimately lowered to `MachineInstr`s, which have these flags set, perhaps by custom lowering of ISD::{STACKSAVE,STACKRESTORE} to pseudo-instructions? That'd involve changes to each backend, where shrink wrapping is enabled, although it looks least hackish. Comments? Thanks and best regards, Momchil Velikov -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180409/3aafd649/attachment.html>
2018 Apr 10
0
Issue with shrink wrapping
Hello Momchil, (CC’ing more people that could correct me if I’m wrong) Thanks for looking into this. More answers below: > On 9 Apr 2018, at 17:57, Momchil Velikov via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hello, > > So, I have this testcase: > > void f(int n, int...
2020 Jun 16
3
Codifying our Brace rules-
My 2 pennies is braces add unnecessary clutter and impair readability when used on a *single-line* statement. I count comments, that are on their own line as statement(s). For example: BAD: if (cond) // Comment foo(); GOOD: if (cond) { // Comment foo(); } BAD: if (cond) { foo(); // Comment } GOOD: if (cond) foo(); // Comment BAD: if (cond) for(;;) foo() GOOD: if (cond)
2020 Jan 21
4
aarch64 does not emit DW_AT_Location
Hi Devs, debug info emitted by llvm does not contain DW_AT_Location for Formal parameter if it is an aggregate like below case 1) aggregate contain more than 4 homogeneous and size more than 128 bits i.e. typedef struct{ int a,b,c,d,e; }mystruct; void foo(mystruct ms){ } 2) aggregate contain hetrogeneous type and size more than 128 bits. i.e. typedef struct{ int a,b; float c,d,e; }mystruct; void
2020 Jun 22
7
Codifying our Brace rules-
...if-else-loop-statements On 6/18/20, 3:56 AM, "llvm-dev on behalf of Nicolai Hähnle via llvm-dev" <llvm-dev-bounces at lists.llvm.org on behalf of llvm-dev at lists.llvm.org> wrote: External email: Use caution opening links or attachments On Tue, Jun 16, 2020 at 10:35 AM Momchil Velikov via llvm-dev <llvm-dev at lists.llvm.org> wrote: > My 2 pennies is braces add unnecessary clutter and impair readability when > used on a *single-line* statement. I count comments, that are on their > own line as statement(s). +1 for this. I think braces...
2020 Jun 23
2
Codifying our Brace rules-
...AM, "llvm-dev on behalf of Nicolai Hähnle via llvm-dev" <llvm-dev-bounces at lists.llvm.org on behalf of llvm-dev at lists.llvm.org> wrote: >> >> External email: Use caution opening links or attachments >> >> >> On Tue, Jun 16, 2020 at 10:35 AM Momchil Velikov via llvm-dev >> <llvm-dev at lists.llvm.org> wrote: >>> My 2 pennies is braces add unnecessary clutter and impair readability when >>> used on a *single-line* statement. I count comments, that are on their >>> own line as statement(s). >>...
2020 Jun 22
4
Codifying our Brace rules-
...56 AM, "llvm-dev on behalf of Nicolai Hähnle via llvm-dev" <llvm-dev-bounces at lists.llvm.org on behalf of llvm-dev at lists.llvm.org> wrote: > > External email: Use caution opening links or attachments > > > On Tue, Jun 16, 2020 at 10:35 AM Momchil Velikov via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> My 2 pennies is braces add unnecessary clutter and impair readability when >> used on a *single-line* statement. I count comments, that are on their >> own line as statement(s). >...
2020 Jun 24
4
Codifying our Brace rules-
...gt; llvm-dev" <llvm-dev-bounces at lists.llvm.org on behalf of > llvm-dev at lists.llvm.org> wrote: > >>> > >>> External email: Use caution opening links or attachments > >>> > >>> > >>> On Tue, Jun 16, 2020 at 10:35 AM Momchil Velikov via llvm-dev > >>> <llvm-dev at lists.llvm.org> wrote: > >>>> My 2 pennies is braces add unnecessary clutter and impair readability > when > >>>> used on a *single-line* statement. I count comments, that are on their > >>>&gt...
2017 Nov 07
4
Questions about code-size optimizations in ARM backend
Hi All, I started to work on code-size improvements on ARM target by comparing GCC and LLVM generated code. My first candidate was switch-case lowering. I also created a Bugzilla issue for this topic: https://bugs.llvm.org/show_bug.cgi?id=34902 The full example code and the generated assembly for GCC and for LLVM is in the Bugzilla issue. My first idea was to simplify the following
2007 Feb 18
1
Secure shared web hosting using MAC Framework
Hi all, I am looking at securing a web server using the FreeBSD MAC Framework. To make things clear I will call the hosted users "web users". Those are the issues I am dealing with: ** Network Security ** - Web users shouldn't be able to connect to reserved local ports apart from 25(smtp); 80(http); 443(https) and 3306(MySQL) Solution: run the web server and web users shell in
2020 Apr 15
4
[ARM] Register pressure with -mthumb forces register reload before each call
Hi, I have attached WIP patch for adding foldMemoryOperand to Thumb1InstrInfo. For the following case: void f(int x, int y, int z) { void bar(int, int, int); bar(x, y, z); bar(x, z, y); bar(y, x, z); bar(y, y, x); } it calls foldMemoryOperand twice, and thus converts two calls from blx to bl. callMI->dump() shows the function name "bar" correctly, however in generated