forked from OSchip/llvm-project
[MLIR] Remove constexpr from LoopOps.td
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D74978
This commit is contained in:
parent
29ad9d6b26
commit
042d97eda9
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue