[all-commits] [llvm/llvm-project] 055779: Revert "[InstCombine] keep assumption before sinki...

inglorion via All-commits all-commits at lists.llvm.org
Thu Dec 5 10:48:49 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 055779a9ac11e56442cbcdc73da59f8bce7ce57d
      https://github.com/llvm/llvm-project/commit/055779a9ac11e56442cbcdc73da59f8bce7ce57d
  Author: Bob Haarman <llvm at inglorion.net>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    R llvm/test/Transforms/InstCombine/assume-replacing-call.ll
    A llvm/test/Transforms/InstCombine/unused-nonnull.ll

  Log Message:
  -----------
  Revert "[InstCombine] keep assumption before sinking calls"

Summary:
This reverts commit c3b06d0c393e533eab712922911d14e5a079fa5d.

Reason for revert: Caused miscompiles when inserting assume for undef.

Also adds a test to prevent similar breakage in future.

Fixes PR44154.

Reviewers: rnk, jdoerfert, efriedma, xbolva00

Reviewed By: rnk

Subscribers: thakis, hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list