Skip to content
Commit 055779a9 authored by Bob Haarman's avatar Bob Haarman
Browse files

Revert "[InstCombine] keep assumption before sinking calls"

Summary:
This reverts commit c3b06d0c.

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
parent 52812f2a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment