[all-commits] [llvm/llvm-project] 04c711: [ConstraintElimination] Make sure the variable is ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Sep 30 10:09:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04c711c78d2d2c9239b7e0c65a7a3c07d3bd89ed
      https://github.com/llvm/llvm-project/commit/04c711c78d2d2c9239b7e0c65a7a3c07d3bd89ed
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-09-30 (Fri, 30 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/test/Transforms/ConstraintElimination/zext.ll

  Log Message:
  -----------
  [ConstraintElimination] Make sure the variable is available before use.

This fixes a crash when trying to access an index for a value where we
don't have a known index.

Fixes #58009.




More information about the All-commits mailing list