llvm-project/llvm/test/Transforms/VectorCombine
Florian Hahn d4c070d801
[VectorCombine] Freeze index unless it is known to be non-poison.
If the index itself is already poison, the poison propagates through
instructions clamping the index to a valid range. This still causes
introducing a load of poison, as flagged by Alive2 and pointed out
at 575e2aff55.

This patch updates the code to freeze the index, unless it is proven to
not be poison.

Reviewed By: nlopes

Differential Revision: https://reviews.llvm.org/D103378
2021-06-01 10:40:57 +01:00
..
AArch64 [VectorCombine] Freeze index unless it is known to be non-poison. 2021-06-01 10:40:57 +01:00
AMDGPU [IR] Let IRBuilder's CreateVectorSplat/CreateShuffleVector use poison as placeholder 2020-12-30 04:21:04 +09:00
Hexagon Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
X86 [CostModel][X86] Improve accuracy of vector non-uniform shift costs on XOP/AVX2 targets 2021-05-24 14:18:21 +01:00
load-insert-store.ll [VectorCombine] Use constant range info for index scalarization legality. 2021-05-25 13:58:42 +01:00