[PATCH] D77833: [SVE] Remove VectorType::getBitWidth()

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 17:39:31 PDT 2020


efriedma added a comment.

Makes sense.



================
Comment at: llvm/lib/IR/Type.cpp:78
+    if (Ty->getTypeID() == Type::X86_MMXTyID && !ThisTypeSize.isScalable() &&
+        ThisTypeSize.getFixedSize() == 64)
       return true;
----------------
This seems a little messy.  Maybe separate the vector/vector case from the vector/mmx case?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77833/new/

https://reviews.llvm.org/D77833





More information about the llvm-commits mailing list