[all-commits] [llvm/llvm-project] 7c141e: [ValueTracking] Add missing check for two-value PN...

Ivan R. Ivanov via All-commits all-commits at lists.llvm.org
Fri Aug 8 08:39:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c141e2118f9387e941478e6d4da133868876cf9
      https://github.com/llvm/llvm-project/commit/7c141e2118f9387e941478e6d4da133868876cf9
  Author: Ivan R. Ivanov <ivanov.i.aa at m.titech.ac.jp>
  Date:   2025-08-08 (Fri, 08 Aug 2025)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    A llvm/test/Analysis/ValueTracking/pr152700.ll

  Log Message:
  -----------
  [ValueTracking] Add missing check for two-value PN recurrence matching (#152700)

When InstTy is a type like IntrinsicInst which can have a variable
number of arguments, we can encounter a case where Operation will have
fewer than two arguments and error at the getOperand() calls.

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



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