[all-commits] [llvm/llvm-project] 03d8bc: [indvars] Fix lftr crash when preheader is termina...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Nov 23 09:59:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03d8bc184a3129f0e519bf08ef45f0349cfa1f90
      https://github.com/llvm/llvm-project/commit/03d8bc184a3129f0e519bf08ef45f0349cfa1f90
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-11-23 (Tue, 23 Nov 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/test/Transforms/IndVarSimplify/lftr.ll

  Log Message:
  -----------
  [indvars] Fix lftr crash when preheader is terminated by switch

This was found by oss-fuzz.  The switch will get canonicalized to a branch, but if it hasn't been when we run LFTR, we crashed on an unneeded assert.




More information about the All-commits mailing list