[llvm] 4ce176b - [SCEV] Still (again) trying to fix buildbots
Sam Parker via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 24 03:25:40 PDT 2020
Author: Sam Parker
Date: 2020-08-24T11:24:30+01:00
New Revision: 4ce176bed2c4f88804e7d4bb9671637d88206e78
URL: https://github.com/llvm/llvm-project/commit/4ce176bed2c4f88804e7d4bb9671637d88206e78
DIFF: https://github.com/llvm/llvm-project/commit/4ce176bed2c4f88804e7d4bb9671637d88206e78.diff
LOG: [SCEV] Still (again) trying to fix buildbots
Added:
Modified:
llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h b/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
index 0327dc1b9fb0..0245569aefe1 100644
--- a/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
+++ b/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
@@ -86,7 +86,7 @@ class Type;
assert(i == 0 && "Operand index out of range!");
return Operands[0];
}
- using op_iterator = const SCEV *const *;
+ using op_iterator = std::array<const SCEV *, 1>::const_iterator;
using op_range = iterator_range<op_iterator>;
op_range operands() const {
@@ -274,7 +274,7 @@ class Type;
class SCEVUDivExpr : public SCEV {
friend class ScalarEvolution;
- std::array<const SCEV*, 2> Operands;
+ std::array<const SCEV *, 2> Operands;
SCEVUDivExpr(const FoldingSetNodeIDRef ID, const SCEV *lhs, const SCEV *rhs)
: SCEV(ID, scUDivExpr, computeExpressionSize({lhs, rhs})) {
@@ -291,7 +291,7 @@ class Type;
return i == 0 ? getLHS() : getRHS();
}
- using op_iterator = const SCEV *const *;
+ using op_iterator = std::array<const SCEV *, 2>::const_iterator;
using op_range = iterator_range<op_iterator>;
op_range operands() const {
return make_range(Operands.begin(), Operands.end());
More information about the llvm-commits
mailing list