[all-commits] [llvm/llvm-project] d82f0b: [IndVars] Don't assume backedge value is instructi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Aug 22 01:35:57 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d82f0b74dec133cb90767edb032f987930d53772
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    A llvm/test/Transforms/IndVarSimplify/pr64891.ll

  Log Message:
  [IndVars] Don't assume backedge value is instruction (PR64891)

In degenerate cases, the backedge value can be folded to poison.

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

More information about the All-commits mailing list