diff options
| author | David Sherwood <david.sherwood@arm.com> | 2021-10-25 15:26:54 +0100 |
|---|---|---|
| committer | David Sherwood <david.sherwood@arm.com> | 2021-11-26 11:30:54 +0000 |
| commit | e20391fc5d6a72e712449142e803fb81b8a75153 (patch) | |
| tree | aa35fc4442fc1bb3b68a67f9e66591e37dac9836 /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp | |
| parent | 12eafd944e0ffccae93402ddbe2855beb7a939ff (diff) | |
[LoopVectorize] When tail-folding, don't always predicate uniform loads
In VPRecipeBuilder::handleReplication if we believe the instruction
is predicated we then proceed to create new VP region blocks even
when the load is uniform and only predicated due to tail-folding.
I have updated isPredicatedInst to avoid treating a uniform load as
predicated when tail-folding, which means we can do a single scalar
load and a vector splat of the value.
Tests added here:
Transforms/LoopVectorize/AArch64/tail-fold-uniform-memops.ll
Differential Revision: https://reviews.llvm.org/D112552
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions
