search for: gethwunrollfactor

Displaying 3 results from an estimated 3 matches for "gethwunrollfactor".

2012 Nov 23
1
[LLVMdev] Disable loop unroll pass
...will call this interface? I would suggest following interface: /// get unrolling factor of given *INNERMOST* loop from HW's perspective. /// Note: this interface is for innermost loop only. Getting the factor /// for unroll-and-jam should call other interface. virtual int getHwUnrollFactor (Loop*, unsigned CurUnrollingFactor) { // by default, no object to the proposed unrolling factor. return CurUnrollingFactor; } I think this interface would completely shield "zero-cost-loop" from higher level optimizer, and you certainly can achieve whatever you w...
2012 Nov 23
0
[LLVMdev] Disable loop unroll pass
Hi Shuxin, On 23/11/2012 00:17, Shuxin Yang wrote: > Hi, Gang: > > I don't want to discuss Open64 internal in LLVM mailing list. Let us > only focus on the design per se. > As your this mail and your previous mail combined give me a impression > that : > > The only reason you introduce the specific operator for HW loop in > Scalar Opt simply because >
2012 Nov 22
2
[LLVMdev] Disable loop unroll pass
Hi, Gang: I don't want to discuss Open64 internal in LLVM mailing list. Let us only focus on the design per se. As your this mail and your previous mail combined give me a impression that : The only reason you introduce the specific operator for HW loop in Scalar Opt simply because you have hard time in figure out the trip count in CodeGen. This might be true for Open64's