diff options
author | jacquesguan <Jianjian.Guan@streamcomputing.com> | 2022-01-15 17:14:38 +0800 |
---|---|---|
committer | jacquesguan <Jianjian.Guan@streamcomputing.com> | 2022-01-29 11:07:53 +0800 |
commit | 1276678982a0c9d0d7aba6afdc83d34ee42f397c (patch) | |
tree | 5db5c0235c0202105a46dcba0ef831b9481fc3a2 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | bf4cab29f5a88b622e200d59d9156f2ca31165eb (diff) | |
download | llvm-1276678982a0c9d0d7aba6afdc83d34ee42f397c.zip llvm-1276678982a0c9d0d7aba6afdc83d34ee42f397c.tar.gz llvm-1276678982a0c9d0d7aba6afdc83d34ee42f397c.tar.bz2 |
[RISCV] Improve extract_vector_elt for fixed mask registers.
Now the backend promotes mask vector to an i8 vector and extract element from that. We could bitcast to a widen element vector, and extract from it to GPR, then use I instruction to extract the certain bit.
Differential Revision: https://reviews.llvm.org/D117389
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions