search for: charith

Displaying 14 results from an estimated 14 matches for "charith".

Did you mean: charite
2016 Sep 03
2
llc error
...AM, Craig Topper <craig.topper at gmail.com> wrote: > What version of llvm are you using? This test doesn't fail on my trunk > build. But if you're using an older version I can try to see what changed > to fix this. > > ~Craig > > On Fri, Sep 2, 2016 at 10:53 PM, Charith Mendis via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> >> Hi all, >> >> The attached LLVM assembly file fails to generate x86 code when compiled >> using llc. >> >> compilation command - ../llvm-build/bin/llc -filetype=asm -march=x86-64...
2017 Aug 21
2
Vectorization in LLVM x86 backend
...2017 at 11:56 AM, Craig Topper <craig.topper at gmail.com> wrote: > The X86 backend shouldn't be doing any additional vectorization. If there > are no vector types in IR, I don't think the X86 backend will create any. > > ~Craig > > On Mon, Aug 21, 2017 at 8:49 AM, Charith Mendis via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> >> Hi all, >> >> Recently I compiled the attached .c file using Clang with "-mavx2 -mfma >> -m32 -O3" optimization flags. >> >> First I used -emit-llvm and inspected the L...
2017 Oct 03
2
Changing Alignment of global variables in LLVM
...cannot determine the origin > when allowing arbitrary IR. > Because of this I'd recommend to rather adjust the frontends type system > so the loads and stores are created with the correct alignment in the first > place. > > - Matthias > > > On Oct 3, 2017, at 3:25 PM, Charith Mendis via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > > > > What is the best way to change the alignment of global variables and > allocated structures in LLVM during one of its optimization passes? > > > > > > For example, I want to change...
2016 Oct 13
2
Loop Unrolling Fail in Simple Vectorized loop
If count > MAX_UINT-4 your loop loops indefinitely with an increment of 4, I think. On Thu, Oct 13, 2016 at 4:42 PM, Charith Mendis via llvm-dev < llvm-dev at lists.llvm.org> wrote: > So, I tried unrolling the following simple loop. > > int unroll(unsigned * a, unsigned * b, unsigned *c, unsigned count){ > > for(unsigned i=0; i<count; i++){ > > a[i] = b[i]*c[i-1]; > > } > &...
2016 Sep 03
4
llc error
...i32 2, i32 3, i32 4, i32 5, i32 6, i32 7> %9 = shufflevector <4 x float> %6, <4 x float> %7, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7> Could anyone help me understand what this error is? Your help will be highly appreciated. -- Kind regards, Charith Mendis -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160903/270c2df1/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: ex4.ll Type: application/octet-st...
2016 Oct 13
2
Loop Unrolling Fail in Simple Vectorized loop
...lements % 2; i++){ //fix up } Why does it have to reason about the range of vectorizable_elements? Even if vectorizable_elements == SIZE_MAX the above decomposition would work? On Wed, Oct 12, 2016 at 8:25 PM, Friedman, Eli <efriedma at codeaurora.org> wrote: > On 10/12/2016 4:35 PM, Charith Mendis via llvm-dev wrote: > > Hi all, > > Attached herewith is a simple vectorized function with loops performing a > simple shuffle. > > I want all loops (inner and outer) to be unrolled by 2 and as such used > -unroll-count=2 > The inner loops(with k as the induction v...
2017 Oct 03
2
Changing Alignment of global variables in LLVM
...ses? For example, I want to change, @u = internal unnamed_addr global [5 x [65 x [65 x [65 x double]]]] zeroinitializer, align 16 to align to 32 bytes. How can this be accomplished so that all other references in the code accessing this structure are also updated. Thank You -- Kind regards, Charith Mendis Graduate Student, CSAIL, Massachusetts Institute of Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171003/827a828e/attachment.html>
2016 Oct 04
2
Getting the symbolic expression for an address calculation
How do you generate a SCEVAddRecExpr from a SCEV? It tried dyn_casting and it seems like that the SCEV returned by getSCEV is not a SCEVAddRecExpr. Thanks On Fri, Sep 30, 2016 at 4:16 PM, Friedman, Eli <efriedma at codeaurora.org> wrote: > On 9/30/2016 12:16 PM, Charith Mendis via llvm-dev wrote: > >> >> Hi all, >> >> What is the best way to get the symbolic expression for an address >> calculation in llvm specially when memory addresses are calculated within >> a loop. >> > > ScalarEvolution works with pointers...
2017 Aug 21
2
Vectorization in LLVM x86 backend
...the vectorization should happen in the backend(?). Can I know whether the x86 backend does additional vectorization of scalar code and if so in which passes? NB - I posed the same question with the source files in a previous email, but the limit of 100kB was reached. Thank You. -- Kind regards, Charith Mendis Graduate Student, CSAIL, Massachusetts Institute of Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170821/0e2247c3/attachment.html>
2016 Sep 30
2
Getting the symbolic expression for an address calculation
...are calculated within a loop. Use case: I want to know what loop induction variables are used for a particular address calculation and in what symbolic context. Thereby, I want to identify which stores and loads will be contiguous in memory if I unroll each of the loops. Thanks -- Kind regards, Charith Mendis Graduate Student, CSAIL, Massachusetts Institute of Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160930/2862d3bc/attachment.html>
2016 Oct 28
1
Vector Shuffle chain lowering to X86 instructions simplification inconsistencies
...shuffle instruction in the resulting X86 code (Shuffle.s attached). The second sequence is identical to first and is a rewidening of the sequence for a higher vector length. Can this be explained and where in the machine lowering passes does this simplification happen? Thanks -- Kind regards, Charith Mendis Graduate Student, CSAIL, Massachusetts Institute of Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161028/fb2f054e/attachment.html> -------------- next part -------------- A non-text at...
2014 Nov 13
1
rsync prevent destination only new folders but need new files
...#39; --progress source/ destination/; Here I, 1) need only sync directories that *exist on destination* ,no new folders should copy from source - [used --existing did the job but it not copying new files also.] 2) need to copy *new files *on source directory to destination. Thanks in advance Charith. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20141113/c7a47229/attachment.html>
2016 Oct 12
2
Loop Unrolling Fail in Simple Vectorized loop
...rs MPM.add(createLoopUnrollPass()); Digging deeper I found, that it fails in UnrollRuntimeLoopRemainder function, where it is unable to calculate the BackEdge taken amount. Can anybody explain what is need to get the outer loop unrolled by 2? It would be a great help. Thanks. -- Kind regards, Charith Mendis Graduate Student, CSAIL, Massachusetts Institute of Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161012/1efd6500/attachment.html> -------------- next part -------------- A non-text at...
2012 Jan 19
1
Check for Open files during rsync
Hi All, I saw on previous mail thread under topic *"exclude open file in backup with rsync (2006)"* That Rsync can't handle open files and it sends all files without checking whether they are open.I want to know whether still Rsync have this problem or if their any solution for this. I really need to check open files and I want to sync without open files. if their any way do this