[all-commits] [llvm/llvm-project] f1a9ef: Ignore/Drop droppable uses for code-sinking in Ins...

Ralender via All-commits all-commits at lists.llvm.org
Wed Mar 25 12:49:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f1a9efabcb9bc37b663b0e03ed3d5a5aa7cc055e
      https://github.com/llvm/llvm-project/commit/f1a9efabcb9bc37b663b0e03ed3d5a5aa7cc055e
  Author: Tyker <tyker1 at outlook.com>
  Date:   2020-03-25 (Wed, 25 Mar 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/assume.ll

  Log Message:
  -----------
  Ignore/Drop droppable uses for code-sinking in InstCombine

Summary:
This patch allows code-sinking in InstCombine to be performed when instruction have uses in llvm.assume.

Use are considered droppable when it is preferable to modify the User such that the use disappears rather than to prevent a transformation because of the use.
for now uses are considered droppable if they are in an llvm.assume.

Reviewers: jdoerfert, nikic, spatel, lebedev.ri, sstefan1

Reviewed By: jdoerfert

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list