[PATCH] D124997: [InstCombine] Fix scalable-vector bitwise select matching

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 5 07:41:49 PDT 2022


spatel added a comment.

In D124997#3493929 <https://reviews.llvm.org/D124997#3493929>, @spatel wrote:

> Do we have a test for scalable vectors where the remaining part of the transform is valid?

Ah, the 1st test covers that. But then couldn't we just make a one-line change to avoid the problematic part?

  if (auto *VecTy = dyn_cast<FixedVectorType>(Cond->getType())) {


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124997



More information about the llvm-commits mailing list