Displaying 20 results from an estimated 95 matches for "pranav".
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
...I think that is correct. I wrote a simple program to print if
sizeof(uintptr_t) != sizeof(unsigned char *) and when I compile with gcc
-m64 and execute it on a 64-bit host (that is different from the 32-bit
laptop on which I originally compiled the program), it says the sizes are
not equal.
Thanks
Pranav
On Thu, Aug 1, 2013 at 9:29 AM, Alexey Samsonov <samsonov at google.com> wrote:
>
> On Thu, Aug 1, 2013 at 5:32 PM, Pranav Garg <pranav.garg2107 at gmail.com>wrote:
>
>> Dear Alexey,
>>
>> Yes I am sure that the llvm, clang and compiler-rt are synced to the...
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
...rg/docs/GettingStarted.html#git-mirror
I think I need compiler-rt for my project but I'll verify it again to see
if I can proceed without it.
You are correct that compiler-rt is compiled with the just built clang. The
complete command that gives an error while compiler-rt compilation is:
/home/pranav/smack-project/llvm/build/Release+Asserts/bin/clang -fPIC -Wall
-Werror -O3 -fomit-frame-pointer -m64
--sysroot=/home/pranav/smack-project/llvm/src/projects/compiler-rt/SDKs/linux
-c -o
/home/pranav/smack-project/llvm/build/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/SubDir.lib/en...
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
On Thu, Aug 1, 2013 at 5:32 PM, Pranav Garg <pranav.garg2107 at gmail.com>wrote:
> Dear Alexey,
>
> Yes I am sure that the llvm, clang and compiler-rt are synced to the same
> version. I downloaded them all from git
> http://llvm.org/docs/GettingStarted.html#git-mirror
> I think I need compiler-rt for my project...
2013 Jul 31
2
[LLVMdev] Error building compiler-rt
Hi,
I see that ENABLE_WERROR is being set to off (the default value) in the
config.log in the llvm build. However on grepping for WERROR in the
compiler-rt folder I get the following output:
pranav at pranav:~/smack-project/llvm-3.4/src/projects/compiler-rt$ grep -Rin
WERROR *
lib/asan/tests/CMakeLists.txt:38: -Werror
lib/asan/asan_malloc_mac.cc:253:// This function is currently unused, and
we build with -Werror.
lib/tsan/check_cmake.sh:8:CC=clang CXX=clang++ cmake
-DLLVM_ENABLE_WERROR=ON -D...
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
Hi Pranav,
On Thu, Aug 1, 2013 at 1:54 AM, Pranav Garg <pranav.garg2107 at gmail.com>wrote:
> Hi,
>
> I see that ENABLE_WERROR is being set to off (the default value) in the
> config.log in the llvm build. However on grepping for WERROR in the
> compiler-rt folder I get the following o...
2013 Jul 31
2
[LLVMdev] Error building compiler-rt
...lvm along with clang and compiler-rt. When I run
make, I am getting the following compilation error (I tried compiling
llvm-3.2, which is what I need for my project, but also tried llvm-3.3 and
the current llvm source from the git repository).
...
COMPILE: clang_linux/full-x86_64/x86_64:
/home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c
/home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:53:29:
error: cast to 'unsigned char *' from smaller integer type 'unsigned int'
[-Werror,-Wint-to-pointer-cast]
u...
2013 Jul 31
0
[LLVMdev] Error building compiler-rt
You can disable -Werror by adding the cmake flag -DLLVM_ENABLE_WERROR=OFF, which should let it just ignore that (that's also the default, so you must have turned it on somewhere)
On Jul 31, 2013, at 13:09 , Pranav Garg <pranav.garg2107 at gmail.com> wrote:
> Hi,
>
> I am trying to build llvm along with clang and compiler-rt. When I run make, I am getting the following compilation error (I tried compiling llvm-3.2, which is what I need for my project, but also tried llvm-3.3 and the current...
2015 Feb 08
2
[LLVMdev] Fwd: Improper Function::iterator increment
...to this pass is the bitcode format of simple code below :
int sum_single_loop (int a){
int su = 0, i;
for (i=0;i<a;i++)
su = su + i;
return su;
}
On Mon, Feb 9, 2015 at 2:32 AM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
> On Sun, Feb 8, 2015 at 11:23 AM, Pranav Kant <pranav913 at gmail.com> wrote:
>
>> So, you mean to say that the above implementation is correct and should
>> work fine.
>>
>
> So far as I can see - but I could be missing something.
>
>
>> I initially thought that the above way is not the correc...
2014 May 01
2
[LLVMdev] What is HexagonTargetMachine::addPassesForOptimizations for?
On 4/30/2014 5:24 PM, Craig Topper wrote:
> Pranav, can you remove it?
>
Yes, I'll remove it.
Pranav
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
2015 Feb 08
2
[LLVMdev] Fwd: Improper Function::iterator increment
...the above implementation is correct and should
work fine.
I initially thought that the above way is not the correct way anymore since
3.5.0 might have changed few things.
Anyways here is my dirty code I have written for my research project that I
took the above snippet from :
https://github.com/pranavk/spatial-computing/blob/master/waves.cpp#L105
On Sun, Feb 8, 2015 at 10:25 PM, David Blaikie <dblaikie at gmail.com> wrote:
> This may be difficult yo reproduce or debug without a more complete
> (though preferably minimal) test case.
> On Feb 8, 2015 8:31 AM, "Pranav Kant&qu...
2014 Apr 30
2
[LLVMdev] What is HexagonTargetMachine::addPassesForOptimizations for?
...se anymore. I'm
>> not familiar with that part of the code.
>> +Matthew
>>
>> -Krzysztof
>>
>
> It is actually part of a patch that we do not intend to upstream.
> Unfortunately this part of the patch slipped through. IMO it is ok to
> remove.
> +Pranav who is even more familiar with the code.
>
Yes, we do not need this any more. It is ok to remove.
Pranav
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
2015 Feb 08
2
[LLVMdev] Fwd: Improper Function::iterator increment
...IE, rather it goes past IE when incremented and hence loop never ends.
Following is the output upon executing above code.
0x2e08248 <- address of ie
0x2e16630 <- address of I initially
0x2e08250 <- incremented I
0x2e165e0
0x2e16630
0x2e08250
0x2e165e0
0x2e16630
0x2e08250
--
Regards,
Pranav Kant,
Department of Computer Science
National Institute of Technology Hamirpur
http://pricked.in/
--
Regards,
Pranav Kant,
Department of Computer Science
National Institute of Technology Hamirpur
http://pricked.in/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:...
2010 Apr 20
1
[LLVMdev] Debugging using gdb
Hi John,
Yes, it was the problem of the namespace. Sorry for bugging for such a silly
mistake.
Thanks
Pranav
On Mon, Apr 19, 2010 at 9:33 AM, John Criswell <criswell at uiuc.edu> wrote:
> Pranav Garg wrote:
>
>> Hi,
>>
>> I am trying to debug my llvm pass called -aa-eval-garg11 using gdb.
>> However I am not able to establish a breakpoint in any function of my pass.
&...
2012 Apr 26
2
[LLVMdev] MemRefs in a Load Instruction
...way of a pattern in the InstrInfo.td file ? FWIW, the LDriw
instruction is as show here.
let isPredicable = 1 in
def LDriw : LDInst<(outs IntRegs:$dst),
(ins MEMri:$addr), "$dst = memw($addr)",
[(set IntRegs:$dst, (i32 (load ADDRriS11_2:$addr)))]>;
TIA,
Pranav
Qualcomm Innovation Center, (QuIC) is a member of the Code Aurora Forum.
2012 Apr 27
0
[LLVMdev] MemRefs in a Load Instruction
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Pranav Bhandarkar
> Sent: Thursday, April 26, 2012 5:24 PM
> To: llvmdev at cs.uiuc.edu
> Subject: [LLVMdev] MemRefs in a Load Instruction
>
> Hi,
>
> On the hexagon target, I have written a following combiner pattern.
> *********************************************
>
> de...
2012 Aug 31
3
[LLVMdev] Question regarding ReplaceValueWith and ReplaceNodeResults
...ode(INTRINSIC_WO_CHAIN, .. ,
.., operands of A) returned a memorized version of A itself leading to the
same problem.
FWIW, ReplaceNodeResults returns new nodes (B in this case) in a vector. Is
there something wrong I am doing vis-à-vis the expectations of the
SelectionDAG from the backend ?
TIA,
Pranav
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
2010 Apr 18
2
[LLVMdev] Debugging using gdb
...lTemp::PointsToFunc"
Hint: try 'llvm::AAEvalTemp::PointsToFunc<TAB> or
'llvm::AAEvalTemp::PointsToFunc<ESC-?>
(Note leading single quote.)
Make breakpoint pending on future shared library load? (y or [n]) n
Is there some clear mistake in my way of using the gdb ?
Thanks.
Pranav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100418/2e8e3c1c/attachment.html>
2010 Apr 19
0
[LLVMdev] Debugging using gdb
Pranav Garg wrote:
> Hi,
>
> I am trying to debug my llvm pass called -aa-eval-garg11 using gdb.
> However I am not able to establish a breakpoint in any function of my
> pass. I have compiled my
> pass with a debug build and I have also compiled the input file (using
> llvm-gcc) w...
2007 Aug 17
2
Policy base forwarding issues
....100. I checked on another machine
connected to the same switch as 192.168.1.100 and 192.168.1.225 and its not
receiving the pkts. So, it doesnt seem like the switch is screwing up and
broadcasting the packets everywhere.
I would appreciate any kind of help or pointers.
Thanks for your time.
-- pranav
------------------------------
http://pd.dnsalias.org
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2016 Jun 07
3
NVPTX compilation problems - ptxas error
Hello everybody,
i am currently testing the NVPTX back-end and playing around with the IR
it generates. Unfortunately i have come to an compilation error i cannot
solve on my own. Maybe someone reading this knows what is causing the
trouble and has a possible solution.
I am using Ubuntu 16.04, Cuda 7.5 and clang version 3.9.0
(https://github.com/llvm-mirror/clang.git