search for: isaffineexpr

Displaying 7 results from an estimated 7 matches for "isaffineexpr".

2011 Nov 19
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...gt; + { > INVALID(AffFunc, "No base pointer"); > + } This change is unneeded and unrelated. > > BaseValue = BasePointer->getValue(); > > @@ -245,8 +252,9 @@ > > AccessFunction = SE->getMinusSCEV(AccessFunction, BasePointer); > > - if (!isAffineExpr(&Context.CurRegion, AccessFunction, *SE, BaseValue)) > + if (!isAffineExpr(&Context.CurRegion, AccessFunction, *SE, BaseValue)&& !AllowNonAffine) > INVALID(AffFunc, "Bad memory address "<< *AccessFunction); > + > > // FIXME: Alias Analysis...
2011 Nov 18
5
[LLVMdev] How to make Polly ignore some non-affine memory accesses
2011/11/15 Marcello Maggioni <hayarms at gmail.com>: > 2011/11/14 Tobias Grosser <tobias at grosser.es>: >> On 11/14/2011 02:45 PM, Marcello Maggioni wrote: >>> >>> 2011/11/14 Tobias Grosser<tobias at grosser.es>: >>>> >>>> On 11/14/2011 01:24 AM, Marcello Maggioni wrote: >>>>> >>>>> Hi Tobias.
2011 Nov 20
2
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...se pointer"); >> +  } > > This change is unneeded and unrelated. > >> >>    BaseValue = BasePointer->getValue(); >> >> @@ -245,8 +252,9 @@ >> >>    AccessFunction = SE->getMinusSCEV(AccessFunction, BasePointer); >> >> -  if (!isAffineExpr(&Context.CurRegion, AccessFunction, *SE, BaseValue)) >> +  if (!isAffineExpr(&Context.CurRegion, AccessFunction, *SE, BaseValue)&& >>  !AllowNonAffine) >>      INVALID(AffFunc, "Bad memory address "<<  *AccessFunction); >> + >> >>...
2011 Nov 14
1
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...r. Do you have a test case where getPointerBase() does not yield a valid base pointer, but GetBaseValue(AccessFunction) does? > if (isa<UndefValue>(BaseValue)) > @@ -245,8 +267,9 @@ > > AccessFunction = SE->getMinusSCEV(AccessFunction, BasePointer); > > - if (!isAffineExpr(&Context.CurRegion, AccessFunction, *SE, BaseValue)) > - INVALID(AffFunc, "Bad memory address "<< *AccessFunction); > + //if (!isAffineExpr(&Context.CurRegion, AccessFunction, *SE, BaseValue)) > + // INVALID(AffFunc, "Bad memory address "<&lt...
2011 Nov 14
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...ere getPointerBase() does not yield a valid base pointer, but > GetBaseValue(AccessFunction) does? > >>    if (isa<UndefValue>(BaseValue)) >> @@ -245,8 +267,9 @@ >> >>    AccessFunction = SE->getMinusSCEV(AccessFunction, BasePointer); >> >> -  if (!isAffineExpr(&Context.CurRegion, AccessFunction, *SE, BaseValue)) >> -    INVALID(AffFunc, "Bad memory address "<<  *AccessFunction); >> +    //if (!isAffineExpr(&Context.CurRegion, AccessFunction, *SE, >> BaseValue)) >> +    //  INVALID(AffFunc, "Bad memory...
2011 Nov 02
5
[LLVMdev] How to make Polly ignore some non-affine memory accesses
Mmm I found out a very strange behavior (to me) of the SCEV analysis of the loop bound of the external loop I posted. When in ScopDetection it gets the SCEV of the external loop bound in the "isValidLoop()" function with: const SCEV *LoopCount = SE->getBackedgeTakenCount(L); It returns a SCEVCouldNotCompute, but if I change the "if" block inside the loop from: if
2011 Nov 21
0
[LLVMdev] How to get ELF section virtual starting address from MCSymbolRefExpr?
...se pointer"); >> + ?} > > This change is unneeded and unrelated. > >> >> ? ?BaseValue = BasePointer->getValue(); >> >> @@ -245,8 +252,9 @@ >> >> ? ?AccessFunction = SE->getMinusSCEV(AccessFunction, BasePointer); >> >> - ?if (!isAffineExpr(&Context.CurRegion, AccessFunction, *SE, BaseValue)) >> + ?if (!isAffineExpr(&Context.CurRegion, AccessFunction, *SE, BaseValue)&& >> ?!AllowNonAffine) >> ? ? ?INVALID(AffFunc, "Bad memory address "<< ?*AccessFunction); >> + >> >>...