[all-commits] [llvm/llvm-project] a946eb: ReduceOperands: Do not crash on vector of pointer ...

Matthias Braun via All-commits all-commits at lists.llvm.org
Wed Oct 5 15:13:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a946eb160a45d1761536b8782a6de8afae87cc51
      https://github.com/llvm/llvm-project/commit/a946eb160a45d1761536b8782a6de8afae87cc51
  Author: Matthias Braun <matze at braunis.de>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    A llvm/test/tools/llvm-reduce/reduce-operands-ptr.ll
    M llvm/tools/llvm-reduce/deltas/ReduceOperands.cpp

  Log Message:
  -----------
  ReduceOperands: Do not crash on vector of pointer types

Avoid crash in `reduceOperandsOneDeltaPass` function for operands with
vector of pointer type.

While on it add a `reduce-operands-ptr.ll` test in the spirit of the
existing `reduce-operands-int.ll`/`reduce-operands-fp.ll` tests.

Differential Revision: https://reviews.llvm.org/D135307




More information about the All-commits mailing list