[all-commits] [llvm/llvm-project] 59cb55: VPlan: add missing case for LogicalAnd; fix crash ...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Tue Jun 4 00:58:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59cb55d384a10e370ad5fdb2a8a48209e6bbc2bd
      https://github.com/llvm/llvm-project/commit/59cb55d384a10e370ad5fdb2a8a48209e6bbc2bd
  Author: Ramkumar Ramachandra <r at artagnon.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
    A llvm/test/Transforms/LoopVectorize/vplan-incomplete-cases.ll
    R llvm/test/Transforms/LoopVectorize/vplan-infer-not-or-type.ll

  Log Message:
  -----------
  VPlan: add missing case for LogicalAnd; fix crash (#93553)

VPTypeAnalysis::inferScalarTypeForRecipe is missing the case for
VPInstruction::LogicalAnd, due to which the test
vplan-incomplete-cases.ll crashes. Add this missing case, and move the
test in vplan-infer-not-or-type.ll to vplan-incomplete-cases.ll, showing
correct codegen for trip-counts 2 and 3.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list