[PATCH] D15580: [SLPVectorizer] Ensure dominated reduction values.

Charlie Turner via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 16 09:43:28 PST 2015


chatur01 created this revision.
chatur01 added reviewers: nadav, materi.
chatur01 added a subscriber: llvm-commits.
chatur01 set the repository for this revision to rL LLVM.

```
    When considering incoming values as part of a reduction phi, ensure the
    incoming value is dominated by said phi.
    
    Failing to ensure this property causes miscompiles.
    
    Fixes PR25787.
    
    Many thanks to Mattias Eriksson for reporting, reducing and analyzing the
    problem for me.
```

Repository:
  rL LLVM

http://reviews.llvm.org/D15580

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/AArch64/pr25787.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15580.43023.patch
Type: text/x-patch
Size: 3651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151216/aac356bd/attachment.bin>


More information about the llvm-commits mailing list