diff options
author | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2024-09-23 16:05:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 16:05:55 +0100 |
commit | 50a1ab12abbe948e6d3f8418f11bfa1951c8d19e (patch) | |
tree | 3984518ecb63c5c0e200cd1abc7ee68ffa246a65 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | 606557ddd68bcb082fb82fd21b0afb260222ae14 (diff) | |
download | llvm-50a1ab12abbe948e6d3f8418f11bfa1951c8d19e.zip llvm-50a1ab12abbe948e6d3f8418f11bfa1951c8d19e.tar.gz llvm-50a1ab12abbe948e6d3f8418f11bfa1951c8d19e.tar.bz2 |
[LAA] Don't assume libcalls with output/input pointers can be vectorized (#108980)
LoopAccessAnalysis currently does not check/track aliasing from the
output pointers, but assumes vectorizing library calls with a mapping is
safe.
This can result in incorrect codegen if something like the following is
vectorized:
```
for(int i=0; i<N; i++) {
// No aliasing between input and output pointers detected.
sincos(cos_out[0], sin_out+i, cos_out+i);
}
```
Where for VF >= 2 `cos_out[1]` to `cos_out[VF-1]` is the cosine of the
original value of `cos_out[0]` not the updated value.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions