[llvm] r195773 - PR18060 - When we RAUW values with ExtractElement instructions in some cases

Joerg Sonnenberger joerg at britannica.bec.de
Tue Dec 3 17:47:17 PST 2013


On Tue, Nov 26, 2013 at 05:29:19PM -0000, Nadav Rotem wrote:
> Author: nadav
> Date: Tue Nov 26 11:29:19 2013
> New Revision: 195773
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=195773&view=rev
> Log:
> PR18060 - When we RAUW values with ExtractElement instructions in some cases
> we generate PHI nodes with multiple entries from the same basic block but
> with different values. Enabling CSE on ExtractElement instructions make sure
> that all of the RAUWed instructions are the same.

Bisect shows that this is responsible for the crash in the attached
code. Compile with -O2. This also affects 3.4 release and is hit quite
often.

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stemdb.c
Type: text/x-csrc
Size: 262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131204/1091845f/attachment.c>


More information about the llvm-commits mailing list