diff options
author | Min-Yih Hsu <minyihh@uci.edu> | 2020-05-26 06:27:34 +0000 |
---|---|---|
committer | Min-Yih Hsu <minyihh@uci.edu> | 2020-06-02 16:35:42 +0000 |
commit | 4431d64c10cb681986e752420f1136f259daa5a7 (patch) | |
tree | 95acb763e1760654c990017dba8c325bf6cccf53 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | de04375ac59e6e9290b361b3ffcf4558e688e8a9 (diff) | |
download | llvm-4431d64c10cb681986e752420f1136f259daa5a7.zip llvm-4431d64c10cb681986e752420f1136f259daa5a7.tar.gz llvm-4431d64c10cb681986e752420f1136f259daa5a7.tar.bz2 |
Support ExtVectorType conditional operator
Extension vectors now can be used in element-wise conditional selector.
For example:
```
R[i] = C[i]? A[i] : B[i]
```
This feature was previously only enabled in OpenCL C. Now it's also
available in C. Not that it has different behaviors than GNU vectors
(i.e. __vector_size__). Extension vectors selects on signdness of the
vector. GNU vectors on the other hand do normal bool conversions. Also,
this feature is not available in C++.
Differential Revision: https://reviews.llvm.org/D80574
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions