[PATCH] D80326: [SVE] Eliminate calls to default-false VectorType::get() from Linker

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 20 15:27:35 PDT 2020


efriedma added inline comments.


================
Comment at: llvm/lib/Linker/IRMover.cpp:312
+    return *Entry = FixedVectorType::get(
+               ElementTypes[0], cast<VectorType>(Ty)->getNumElements());
   case Type::PointerTyID:
----------------
While you're here, please change the `cast<>` to `cast<FixedVectorType>(Ty)`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80326





More information about the llvm-commits mailing list