1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[SCEV] Still (again) trying to fix buildbots

This commit is contained in:
Sam Parker 2020-08-24 11:23:46 +01:00
parent 0828b21ed0
commit 9295052eb8

View File

@ -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());