diff options
| author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2021-09-29 21:28:38 -0500 |
|---|---|---|
| committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2021-09-30 05:58:22 -0500 |
| commit | fad14a17a490b1825b0c7c40ace7e83c91af4b8a (patch) | |
| tree | 7e728ae56c62162dba1cab53e211d2f5ab475ff8 /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | 220f314f94abfd201930ed9d491ce55695df2908 (diff) | |
| download | llvm-fad14a17a490b1825b0c7c40ace7e83c91af4b8a.zip llvm-fad14a17a490b1825b0c7c40ace7e83c91af4b8a.tar.gz llvm-fad14a17a490b1825b0c7c40ace7e83c91af4b8a.tar.bz2 | |
[PowerPC] Truncate element index for vec_insert in altivec.h
When a user specifies an out-of-range index for vec_insert, we
just produce IR that has undefined behaviour even though the
documentation states that modulo arithmetic is used. This patch
just truncates the value to a valid index.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
