[all-commits] [llvm/llvm-project] 770069: [VPlan] Fix crash with EVL tail folding intrinsic ...

Luke Lau via All-commits all-commits at lists.llvm.org
Sat Jan 4 19:42:17 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7700695739d078eff01aad6f4d40c933419d08bc
      https://github.com/llvm/llvm-project/commit/7700695739d078eff01aad6f4d40c933419d08bc
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-01-05 (Sun, 05 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-call-intrinsics.ll

  Log Message:
  -----------
  [VPlan] Fix crash with EVL tail folding intrinsic with no corresponding VP (#121542)

This fixes a crash when building SPEC CPU 2017 with EVL tail folding
when widening @llvm.log10 intrinsics.

@llvm.log10 and some other intrinsics don't have a corresponding VP
intrinsic, so this fixes the crash by removing the assert and bailing
instead.



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