[all-commits] [llvm/llvm-project] 4bf5ab: [VPlan] Set flags when constructing truncs using V...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Oct 12 06:01:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bf5ab4f9d483c6cefbbd8d04774cea5571dce45
      https://github.com/llvm/llvm-project/commit/4bf5ab4f9d483c6cefbbd8d04774cea5571dce45
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-10-12 (Sun, 12 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/RISCV/truncate-to-minimal-bitwidth-evl-crash.ll

  Log Message:
  -----------
  [VPlan] Set flags when constructing truncs using VPWidenCastRecipe.

VPWidenCastRecipes with Trunc opcodes where missing the correct OpType
for IR flags. Update createWidenCast to set the correct flags for
truncs, and use it consistenly.

Fixes https://github.com/llvm/llvm-project/issues/162374.



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