[PATCH] D78754: [shape] Basic constant folding.
Jacques Pienaar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 24 15:12:13 PDT 2020
jpienaar added inline comments.
================
Comment at: mlir/lib/Dialect/Shape/IR/Shape.cpp:162
+ Builder builder(getContext());
+ return builder.getI64TensorAttr(type.getShape());
+}
----------------
What happens here if we have a error shape fed into ShapeOfOp?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78754/new/
https://reviews.llvm.org/D78754
More information about the llvm-commits
mailing list