search for: 916b9ed0

Displaying 2 results from an estimated 2 matches for "916b9ed0".

2013 Oct 25
0
[LLVMdev] Question About Function Cloning
Hi Arnamoy, > Any idea, why the output looks like - > Hello World > Hello World > val is 58 > > While the it should print 4 times? Both your loops are sharing the counter variable (%i1) without resetting it to 0 in between calls. I think that accounts for the behaviour. Cheers. Tim.
2013 Oct 25
3
[LLVMdev] Question About Function Cloning
Hello all; I have been writing this LLVM pass that extracts loops in a function and then duplicates the function so the loop is executed twice. The pass executes fine but the produced bit code does not behave correctly as it should (both the original and duplicated function in which the loop is extracted is called, but from the output it seems only one of them is executed.) Here is the source: