[PATCH] D74978: [MLIR] Remove constexpr from LoopOps.td
Diego Caballero via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 21 11:54:49 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG042d97eda9fa: [MLIR] Remove constexpr from LoopOps.td (authored by nmostafa, committed by dcaballe).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74978/new/
https://reviews.llvm.org/D74978
Files:
mlir/include/mlir/Dialect/LoopOps/LoopOps.td
Index: mlir/include/mlir/Dialect/LoopOps/LoopOps.td
===================================================================
--- mlir/include/mlir/Dialect/LoopOps/LoopOps.td
+++ mlir/include/mlir/Dialect/LoopOps/LoopOps.td
@@ -149,7 +149,7 @@
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();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74978.245944.patch
Type: text/x-patch
Size: 642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200221/253d64bf/attachment-0001.bin>
More information about the llvm-commits
mailing list