[PATCH] D32530: [SVE][IR] Scalable Vector IR Type
Hal Finkel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 4 09:14:18 PDT 2019
hfinkel added inline comments.
================
Comment at: docs/LangRef.rst:2749
+of size zero are not allowed. For scalable vectors, the number of
+elements is an unknown integer multiple of the number of elements.
----------------
This doesn't seem strong enough. We need the unknown multiple to be the *same* for any given type (at least within a given function). We also need a relationship between vectors of different underlying types (so that zext/sext/etc. make sense). Otherwise, you can't even sensibly add them together (for example). I realize that it says something about an unknown vector length above, but we need to translate that statement into semantics that make sense for the vectors themselves.
================
Comment at: lib/IR/Verifier.cpp:4927
*BrokenDebugInfo = V.hasBrokenDebugInfo();
+
// Note that this function's return value is inverted from what you would
----------------
Remove unneeded whitespace change.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D32530/new/
https://reviews.llvm.org/D32530
More information about the llvm-commits
mailing list