[PATCH] D76602: [MLIR] Introduce std.alloca op
Uday Bondhugula via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 24 19:09:44 PDT 2020
bondhugula added a comment.
Thanks for the review!
================
Comment at: mlir/lib/Dialect/StandardOps/IR/Ops.cpp:250
+static void printAllocLikeOp(OpAsmPrinter &p, AllocLikeOp op, StringRef name) {
+ static_assert(std::is_same<AllocLikeOp, AllocOp>::value ||
+ std::is_same<AllocLikeOp, AllocaOp>::value,
----------------
rriddle wrote:
> llvm::is_one_of
Thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76602/new/
https://reviews.llvm.org/D76602
More information about the llvm-commits
mailing list