[MLIR] Remove constexpr from LoopOps.td

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D74978
This commit is contained in:
Nagy Mostafa 2020-02-21 11:48:45 -08:00 committed by Diego Caballero
parent 29ad9d6b26
commit 042d97eda9
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ def ForOp : Loop_Op<"for",
return getBody()->getNumArguments() - 1;
}
/// Number of operands controlling the loop: lb, ub, step
constexpr unsigned getNumControlOperands() { return 3; }
unsigned getNumControlOperands() { return 3; }
/// Does the operation hold operands for loop-carried values
bool hasIterOperands() {
return getOperation()->getNumOperands() > getNumControlOperands();