diff options
| author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-05-05 01:54:42 +0000 |
|---|---|---|
| committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-05-05 01:54:42 +0000 |
| commit | a670a0a3aafba2ce41faffe070880807d69940d8 (patch) | |
| tree | 91af1839d664d2967c124075e7b97c66455c22e7 /llvm/lib/Transforms/Vectorize/VecUtils.cpp | |
| parent | 010316ce34b857d415c9f30a79ef7d27f7beb866 (diff) | |
| download | bcm5719-llvm-a670a0a3aafba2ce41faffe070880807d69940d8.tar.gz bcm5719-llvm-a670a0a3aafba2ce41faffe070880807d69940d8.zip | |
LoopVectorize: We don't need an identity element for min/max reductions
We can just use the initial element that feeds the reduction.
max(max(x, y), z) == max(max(x,y), max(x,z))
radar://13723044
llvm-svn: 181141
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/VecUtils.cpp')
0 files changed, 0 insertions, 0 deletions

