[PATCH] D80860: Exact integer emptiness checks for FlatAffineConstraints
Uday Bondhugula via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 1 00:29:44 PDT 2020
bondhugula added inline comments.
================
Comment at: mlir/unittests/Analysis/AffineStructuresTest.cpp:64
+
+/// We don't implement Vector of Vectors to ArrayRef of ArrayRefs since that
+/// would necessitate worrying about possible dangling references.
----------------
arjunp wrote:
> Is there a better way? This is needed since we moved to ArrayRefs for arguments but in `checkPermutationsSample` below we need to pass SmallVectors of SmallVectors to `makeFACFromConstraints`.
We don't need to switch to ArrayRef of ArrayRef if you have SmallVector of SmallVector, but only to ArrayRef of SmallVector.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80860/new/
https://reviews.llvm.org/D80860
More information about the llvm-commits
mailing list