diff options
author | Caroline Concatto <caroline.concatto@arm.com> | 2021-05-05 15:20:16 +0100 |
---|---|---|
committer | Caroline Concatto <caroline.concatto@arm.com> | 2021-07-22 12:48:27 +0100 |
commit | 5a4de84d55faa5502de38b4f7ec6c6ed43d90043 (patch) | |
tree | dd934fc53566528aaf63f88d9c7ed688fa25e6ce /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
parent | 842e718b666f028e8fd3ea72d999fb5848767a02 (diff) | |
download | llvm-5a4de84d55faa5502de38b4f7ec6c6ed43d90043.zip llvm-5a4de84d55faa5502de38b4f7ec6c6ed43d90043.tar.gz llvm-5a4de84d55faa5502de38b4f7ec6c6ed43d90043.tar.bz2 |
[LoopVectorize] Fix crash for predicated instruction with scalable VF
This patch avoids computing discounts for predicated instructions when the
VF is scalable.
There is no support for vectorization of loops with division because the
vectorizer cannot guarantee that zero divisions will not happen.
This loop now does not use VF scalable
```
for (long long i = 0; i < n; i++)
if (cond[i])
a[i] /= b[i];
```
Differential Revision: https://reviews.llvm.org/D101916
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions