search for: positionmap

Displaying 5 results from an estimated 5 matches for "positionmap".

Did you mean: positional
2007 Aug 16
2
[LLVMdev] Changing basic blocks
On Wed, 15 Aug 2007, [ISO-8859-1] Em�lio Wuerges wrote: > -- > int total = BB->size(); > std::vector<MachineInstr*> positionmap(total); > for (int i = 0; i< total; ++i) > positionmap.push_back(BB->remove(BB->begin())); > for(int i = 0; i< total; ++i) > BB->push_back(positionmap[i]); > -- This doesn't do what you think. This line: std::vector<MachineInstr*> positionmap(total...
2007 Aug 17
0
[LLVMdev] Changing basic blocks
...e(total) in the actual code. But, there is some side effect I still could not find. 2007/8/16, Chris Lattner <sabre at nondot.org>: > > On Wed, 15 Aug 2007, [ISO-8859-1] Emílio Wuerges wrote: > > -- > > int total = BB->size(); > > std::vector<MachineInstr*> positionmap(total); > > for (int i = 0; i< total; ++i) > > positionmap.push_back(BB->remove(BB->begin())); > > for(int i = 0; i< total; ++i) > > BB->push_back(positionmap[i]); > > -- > > This doesn't do what you think. This line: > > std::ve...
2007 Aug 16
0
[LLVMdev] Changing basic blocks
...15a)[0x84ffb0a] make: *** [qsort_small.s] Aborted -- The string "Register use before def!" kinda annoyed me. So I wrote and run this test code, wich -should- just remove all instructions in the basic block and put them back: -- int total = BB->size(); std::vector<MachineInstr*> positionmap(total); for (int i = 0; i< total; ++i) positionmap.push_back(BB->remove(BB->begin())); for(int i = 0; i< total; ++i) BB->push_back(positionmap[i]); -- And the same error ocurred. Then I did this: -- int total = BB->size(); for(int i = 0; i<total; ++i) BB->pu...
2007 Aug 10
2
[LLVMdev] Changing basic blocks
For adding the nop: TII->insertNoop(*BB, BB->end()); 2007/8/9, Chris Lattner <sabre at nondot.org>: > > On Thu, 9 Aug 2007, [ISO-8859-1] Emílio Wuerges wrote: > > I too believe it should not be complicated. > > But I was not being able to do it. > > Finally, after some thinking (and tinkering), this worked like a charm: > > > > MachineInstr* mi =
2020 Jul 26
2
[LAA] RtCheck on pointers of different address spaces.
Hi Stefanos, Attached the testcase. I tried to reduce it further, but the problem goes away when I remove the instructions further. There is a nested loop and the fault occurs while processing the inner loop (for.body) To reproduce the crash: opt -O3 testcase.ll -o out.ll > `groupChecks()` will only try to group pointers that are on the same alias set. If that’s true, the RT check