[PATCH] PR19137: Correct PRE handling of llvm.sadd.with.overflow followed by add.
Erik Verbruggen
erik.verbruggen at me.com
Mon Mar 24 08:18:29 PDT 2014
One-week-ping!
This fixes a failing assert, which some people run into...
-- Erik.
On 17 Mar 2014, at 10:23, Erik Verbruggen <erik.verbruggen at me.com> wrote:
> When PRE finds a leader for a non-intrinsic (e.g. add), where that
> leader is an intrinsic (e.g. llvm.sadd.with.overflow), and the basic
> block for the non-intrinsic has multiple incoming edges, then do not
> insert a phi-node, because the types will be different.
>
> The previous version only/accidentally worked for 2 incoming edges. The
> testcase is changed to test 3 edges.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PR19137-Correct-PRE-handling-of-llvm.sadd.with.overf.patch
Type: application/octet-stream
Size: 3185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140324/44d369bb/attachment.obj>
More information about the llvm-commits
mailing list