search for: instr3

Displaying 6 results from an estimated 6 matches for "instr3".

Did you mean: instr
2013 Oct 08
2
[LLVMdev] Subregister liveness tracking
...ade in r192119. > > Suppose I have the following piece of code with four > instructions. %vreg0 and %vreg1 consist of two sub-registers indexed > by sub_lo and sub_hi. > > instr0 %vreg0<def> > instr1 %vreg1:sub_lo<def,read-undef> > instr2 %vreg0<use> > instr3 %vreg1:sub_hi<def> > > If register allocator decides to insert spill and restore instructions > for %vreg0, will it spill the whole register that includes > sub-registers lo and hi? > > instr0 %vreg0<def> > spill0 %vreg0 > instr1 %vreg1:sub_lo<def,read-undef...
2013 Oct 08
0
[LLVMdev] Subregister liveness tracking
...e in r192119. > > Suppose I have the following piece of code with four > instructions. %vreg0 and %vreg1 consist of two sub-registers indexed by > sub_lo and sub_hi. > > instr0 %vreg0<def> > instr1 %vreg1:sub_lo<def,read-undef> > instr2 %vreg0<use> > instr3 %vreg1:sub_hi<def> > > If register allocator decides to insert spill and restore instructions > for %vreg0, will it spill the whole register that includes sub-registers lo > and hi? > > instr0 %vreg0<def> > spill0 %vreg0 > instr1 %vreg1:sub_lo<def,read-undef...
2013 Oct 09
4
[LLVMdev] Subregister liveness tracking
...t;> >> Suppose I have the following piece of code with four instructions. %vreg0 and %vreg1 consist of two sub-registers indexed by sub_lo and sub_hi. >> >> instr0 %vreg0<def> >> instr1 %vreg1:sub_lo<def,read-undef> >> instr2 %vreg0<use> >> instr3 %vreg1:sub_hi<def> >> >> If register allocator decides to insert spill and restore instructions for %vreg0, will it spill the whole register that includes sub-registers lo and hi? >> >> instr0 %vreg0<def> >> spill0 %vreg0 >> instr1 %vreg1:sub_lo<...
2008 Dec 04
2
[LLVMdev] optimization whith call of Intrinsics
...tions and would like that the optimizer delete the second one; the set is { INSTR 1 : store of data in bank 1; INSTR 2 : call of intrinsic (read only) INSTR 3 : store of data in bank 2; } When calling the intrinsic function, the optimizer doesn't work well. (If I delete INSTR2 and INSTR3, optimization is good) If I use only one memory bank, the problem is the same. It seems that the call of intrinsics is not well supported by existing optimization passes. Does anybody have an idea about this problem ? ( just below, the IR generated by LLVM after optimization) Thanks. Julien...
2013 Oct 07
1
[LLVMdev] Subregister liveness tracking
I've been working on patches to improve subregister liveness tracking on llvm and I wanted to inform the llvm community about the overal design/motivation for them. I will send the patches to llvm-commits later today. Greetings Matthias Braun Subregisters in llvm ==================== Some targets can access registers in different ways resulting in wider or narrower accesses. For
2008 Dec 04
0
[LLVMdev] optimization whith call of Intrinsics
...ptimizer delete the second one; > the set is > { INSTR 1 : store of data in bank 1; > INSTR 2 : call of intrinsic (read only) > INSTR 3 : store of data in bank 2; } > > When calling the intrinsic function, the optimizer doesn't work well. > (If I delete INSTR2 and INSTR3, optimization is good) > If I use only one memory bank, the problem is the same. It seems that > the call of intrinsics is not well supported by existing optimization > passes. > Does anybody have an idea about this problem ? ( just below, the IR > generated by LLVM after optimizatio...