search for: adarsh

Displaying 20 results from an estimated 42 matches for "adarsh".

Did you mean: aarsh
2010 May 06
2
[LLVMdev] Unreachable code executed crash
I was able to solve that but still crashing with the same error saying "Unreachable executed". I have attached the output with this mail. Thanks in advance. On Thu, May 6, 2010 at 2:38 AM, Nick Lewycky <nicholas at mxc.ca> wrote: > Adarsh Yoga wrote: > >> Yes. Intially the pass was crashing when the module when the module >> verifier was running. I was able to solve that and now it is crashing >> when the bit writer pass is running. >> > > The output is wrong in @thread_pool_init: > > <stdin...
2010 May 06
2
[LLVMdev] Unreachable code executed crash
Yes. Intially the pass was crashing when the module when the module verifier was running. I was able to solve that and now it is crashing when the bit writer pass is running. On Wed, May 5, 2010 at 8:39 PM, Nick Lewycky <nlewycky at google.com> wrote: > On 5 May 2010 17:12, Adarsh Yoga <ayoga at umail.iu.edu> wrote: > >> Hi, >> >> I've written a pass that basically does some code transformations to >> enable parallel execution of loops. After the transformation llvm runs >> BitCode Writer pass , which is aborting with Unreachable...
2010 May 07
1
[LLVMdev] Unreachable code executed crash
...ally, tt was not a problem with the verifier, we were just inserting a wrong instruction in our pass. Also we were able to figure out the error you pointed out and our pass is running as intended!!! Thanks a lot. On Fri, May 7, 2010 at 12:02 AM, Nick Lewycky <nicholas at mxc.ca> wrote: > Adarsh Yoga wrote: > >> I was able to solve that >> > > What was wrong? I wasn't able to reproduce it and would still like to teach > the verifier whatever it missed. > > > but still crashing with the same error saying > >> "Unreachable executed". I...
2010 May 07
0
[LLVMdev] Unreachable code executed crash
Adarsh Yoga wrote: > I was able to solve that What was wrong? I wasn't able to reproduce it and would still like to teach the verifier whatever it missed. but still crashing with the same error saying > "Unreachable executed". I have attached the output with this mail. This time...
2010 May 06
0
[LLVMdev] Unreachable code executed crash
Adarsh Yoga wrote: > Yes. Intially the pass was crashing when the module when the module > verifier was running. I was able to solve that and now it is crashing > when the bit writer pass is running. The output is wrong in @thread_pool_init: <stdin>:44:27: error: '%4' defined with...
2010 May 06
2
[LLVMdev] Unreachable code executed crash
...ter the transformation llvm runs BitCode Writer pass , which is aborting with Unreachable Executed error. I have attached the input llvm code and the output llvm code for reference. I am stuck at this problem for a few days now. Please let me know if you are able to find anything unusual. Regards, Adarsh -- Adarsh Yoga Graduate Student, Computer Science Indiana University, Bloomington -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100505/367f37fd/attachment.html> -------------- next part --------------...
2010 May 06
0
[LLVMdev] Unreachable code executed crash
On 5 May 2010 17:12, Adarsh Yoga <ayoga at umail.iu.edu> wrote: > Hi, > > I've written a pass that basically does some code transformations to > enable parallel execution of loops. After the transformation llvm runs > BitCode Writer pass , which is aborting with Unreachable Executed error. > I h...
2012 Feb 11
2
[LLVMdev] Remove an instruction through Dead Code Elimination pass of llvm
...e the 'or' instruction is actually not needed(dead code), I replaced all occurences of %7 with %5. Now, the 'or' instruction should get deleted. How can I call Dead Code Elimination pass of LLVM from my pass or is there any method to remove that 'or' instruction? Thank you. Adarsh Konchady -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120211/deeedb88/attachment.html>
2011 Sep 03
2
[LLVMdev] PTX optimizations
Hi everyone, I am trying to add some optimizations to LLVM's PTX backend. But i am unaware of the existing optimizations. Can you please guide me about the same? Thank You:) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110903/bc038a07/attachment.html>
2012 Feb 11
0
[LLVMdev] Remove an instruction through Dead Code Elimination pass of llvm
Hi Adarsh, On 11/02/12 09:47, Adarsh Konchady wrote: > My pass in LLVM generates an IR like this > %5 = icmp eq i32 %4, 0 > %7 = or i1 %5, %5 > ;. . . > Since the 'or' instruction is actually not needed(dead code), I replaced all > occurences of %7 with %5. > Now, the ...
2012 Jan 16
3
[LLVMdev] Identifying loop variables
Hi everyone, Are there any functions to identify the initiation,condition and iteration part of the loop? Example: for(i=0;i<10;i++) { a[i]+=1; } I want to know the name of the variable used in the loop(i) , the initiation(i=0), condition(i<10) and the iteration(i++) part of the loop. Thank you:) -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Aug 15
0
[LLVMdev] Cuda programs on LLVM
Hi Adarsh, to my knowledge there is no publicly available CUDA-Frontend for LLVM yet. The work of Helge Rhodin you mentioned is on the backend-side: It allows to generate PTX code from LLVM IR. It is still being maintained, although I think the currently available source code is a little outdated. There i...
2011 Aug 15
2
[LLVMdev] Cuda programs on LLVM
Hello , How to execute a cuda program using llvm? More specifically, nvcc produces some temporary files during its compilation. I want to convert the .cu.cpp to .ll format and optimize it. The .cu.cpp file contains typedefs and enums used by cuda runtime and also the host part of the code and the ptx file contains the kernel definition. How can i run the program after optimization? Will Rhodin
2012 Feb 01
2
[LLVMdev] Call DeadCodeElimination pass of LLVM
Hi, Please let me know how to follow my pass in LLVM by Dead Code Elimination pass of LLVM. getAnalysisUsage(...) only allows me to run passes before my pass. I want to run Dead Code Elimination pass after my pass. Regards, Adarsh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120201/a4373d31/attachment.html>
2012 Apr 11
3
[LLVMdev] Incorrect result in LLVM Alias Analysis
...d the follwing command, opt -load LLVComMan.so -ComMan -memdep -tbaa -mem2reg maptest.ll -S What option other than -mem2reg should be included in this case to get the right results? Does the order in which I specify the optimizations to be run make a difference? Duncan Sands wrote: > > Hi Adarsh, > >> I want to check if the values a and b in the program alias. >> >> int main() { >> int *a,*b; >> a=(int *)malloc(sizeof(int)); >> b=(int *)malloc(sizeof(int)); >> *a=10; >> *b=8; >> return 0; >> } >> >> I use the below...
2012 Apr 13
2
[LLVMdev] Incorrect result in LLVM Alias Analysis
...} } } But I get 'May Alias' result for the store instruction that assigns the value of 'a' to 20 in the 'map' function.Is the result not supposed to be 'Must alias'? Duncan Sands wrote: > > Hi Adarsh, > >> I have used the follwing command, >> opt -load LLVComMan.so -ComMan -memdep -tbaa -mem2reg maptest.ll -S >> What option other than -mem2reg should be included in this case to get >> the >> right results? Does the order in which I specify the optimizations t...
2012 Apr 12
0
[LLVMdev] Incorrect result in LLVM Alias Analysis
Hi Adarsh, > I have used the follwing command, > opt -load LLVComMan.so -ComMan -memdep -tbaa -mem2reg maptest.ll -S > What option other than -mem2reg should be included in this case to get the > right results? Does the order in which I specify the optimizations to be run > make a differenc...
2010 Apr 19
1
[LLVMdev] Free Variables In a Loop.
...terested in obtaining the instruction that defines/allocates the value of interest. Once we obtain that we can use LoopInfo pass to check whether the basic block containing that definition instruction belongs to the loop in question. Is there a method that returns the defining instruction? Thanks, Adarsh On Mon, Apr 19, 2010 at 10:05 AM, John Criswell <criswell at uiuc.edu> wrote: > Rohith Goparaju wrote: > > Hi , > > > > I'm working on a project in which i need to find out all free > > variables in a loop. I need to find all variables used inside a loop &g...
2010 May 02
2
[LLVMdev] Function insertion
Is there a way to insert a function at the start of a module rather than inserting it at the end, which happens by default? -- Adarsh Yoga Graduate Student, Computer Science Indiana University, Bloomington -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100502/30f9e9d4/attachment.html>
2011 Jul 22
1
[LLVMdev] LLVM IDE
Sir, I am new to LLVM. Please suggest a good IDE for debugging LLVM. Yours faithfully, Adarsh Konchady -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110722/d954d107/attachment.html>