[clang] [CLANG]Add Scalable vectors for mfloat8_t (PR #101644)
Paul Walker via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 10 03:57:23 PDT 2024
================
@@ -454,6 +458,8 @@ std::string SVEType::builtin_str() const {
else if (isBFloat()) {
assert(ElementBitwidth == 16 && "Not a valid BFloat.");
S += "y";
+ } else if (isMFloat()) {
+ S += "m";
----------------
paulwalker-arm wrote:
Perhaps worth adding `assert(ElementBitwidth == 8 && "Not a valid MFloat.")`?
https://github.com/llvm/llvm-project/pull/101644
More information about the cfe-commits
mailing list