diff options
| -rwxr-xr-x | polly/include/polly/TempScopInfo.h | 10 | ||||
| -rw-r--r-- | polly/lib/Analysis/TempScopInfo.cpp | 2 |
2 files changed, 3 insertions, 9 deletions
diff --git a/polly/include/polly/TempScopInfo.h b/polly/include/polly/TempScopInfo.h index 0a524ef1218..04df6dabf04 100755 --- a/polly/include/polly/TempScopInfo.h +++ b/polly/include/polly/TempScopInfo.h @@ -71,19 +71,17 @@ private: Value *BaseAddr; unsigned ElemBytes : 28; SCEVAffFuncType FuncType : 3; - bool has_sign : 1; public: /// @brief Create a new SCEV affine function. - SCEVAffFunc() : TransComp(0), BaseAddr(0), ElemBytes(0), FuncType(None), - has_sign(true) {} + SCEVAffFunc() : TransComp(0), BaseAddr(0), ElemBytes(0), FuncType(None) {} /// @brief Create a new SCEV affine function with memory access type or /// condition type explicit SCEVAffFunc(SCEVAffFuncType Type, const SCEV *OriginalSCEV, unsigned elemBytes = 0) : TransComp(0), OriginalSCEV(OriginalSCEV), BaseAddr(0), - ElemBytes(elemBytes), FuncType(Type), has_sign(true) {} + ElemBytes(elemBytes), FuncType(Type) {} /// @brief Construct a new SCEVAffFunc from a SCEV /// @@ -97,8 +95,6 @@ public: SCEVAffFunc(const SCEV *S, SCEVAffFuncType Type, Region &R, ParamSetType &Param, LoopInfo *LI, ScalarEvolution *SE); - void setUnsigned() {has_sign = false;} - // getCoeff - Get the Coefficient of a given variable. const SCEV *getCoeff(const SCEV *Var) const { LnrTransSet::const_iterator At = LnrTrans.find(Var); @@ -109,8 +105,6 @@ public: return TransComp; } - bool isSigned() const { return has_sign; } - enum SCEVAffFuncType getType() const { return FuncType; } bool isDataRef() const { diff --git a/polly/lib/Analysis/TempScopInfo.cpp b/polly/lib/Analysis/TempScopInfo.cpp index 40bdbc072ed..2edb1342e17 100644 --- a/polly/lib/Analysis/TempScopInfo.cpp +++ b/polly/lib/Analysis/TempScopInfo.cpp @@ -38,7 +38,7 @@ using namespace polly; SCEVAffFunc::SCEVAffFunc(const SCEV *S, SCEVAffFuncType Type, Region &R, ParamSetType &Params, LoopInfo *LI, ScalarEvolution *SE) - : ElemBytes(0), FuncType(Type), has_sign(true) { + : ElemBytes(0), FuncType(Type) { assert(S && "S can not be null!"); assert(!isa<SCEVCouldNotCompute>(S) && "Non affine function in Scop"); |

