[all-commits] [llvm/llvm-project] 23c8da: [llvm-reduce] Add reduction for aliases.

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Oct 28 06:13:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 23c8da25ef79b31f8d014cb6135437e9061a4ce7
      https://github.com/llvm/llvm-project/commit/23c8da25ef79b31f8d014cb6135437e9061a4ce7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M llvm/test/Reduce/remove-alias.ll
    M llvm/tools/llvm-reduce/CMakeLists.txt
    M llvm/tools/llvm-reduce/DeltaManager.h
    A llvm/tools/llvm-reduce/deltas/ReduceAliases.cpp
    A llvm/tools/llvm-reduce/deltas/ReduceAliases.h

  Log Message:
  -----------
  [llvm-reduce] Add reduction for aliases.

This patch adds a new reduction pass that tries to remove aliases.
It runs early, as most of those likely can be removed up-front in
practice.

This substantially improves llvm-reduce for IR generated by the swift
compiler, which can generate a lot of aliases which lead to lots of
invalid reductions.

Reviewed By: lebedev.ri

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




More information about the All-commits mailing list