HomePhabricator

[LV] Fix PR34248 - recommit D32871 after revert r311304

Authored by Ayal on Aug 27 2017, 5:55 AM.

Description

[LV] Fix PR34248 - recommit D32871 after revert r311304

Original commit r311077 of D32871 was reverted in r311304 due to failures
reported in PR34248.

This recommit fixes PR34248 by restricting the packing of predicated scalars
into vectors only when vectorizing, avoiding doing so when unrolling w/o
vectorizing. Added a test derived from the reproducer of PR34248.

llvm-svn: 311849

Details

Committed
AyalAug 27 2017, 5:55 AM
Parents
rG8cb2e3245c68: [Polly][GPGPU] Fixed undefined reference for CUDA's managed memory in Runtimeā€¦
Branches
Unknown
Tags
Unknown