[PATCH] D77276: Clean up usages of asserting vector getters in Type

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 16:22:52 PDT 2020


efriedma added inline comments.


================
Comment at: llvm/lib/IR/ConstantFold.cpp:748
 
+  auto *V1VTy = cast<VectorType>(V1->getType());
+
----------------
ConstantFoldSelectInstruction can take non-vector inputs.  This should cause test failures.  (Somehow I thought you fixed this in an earlier revision, but I could be mistaken.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77276





More information about the llvm-commits mailing list