diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-04-15 18:38:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 18:38:54 -0700 |
commit | 5b9af38a03c8119cc2a42ae80d4a25e6f454c721 (patch) | |
tree | 001c8f871662a40ce9c8e32426a9a51ef3ae3b6b /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | dfe12b3fd193318403622a8ae51e0362c27502d1 (diff) | |
download | llvm-5b9af38a03c8119cc2a42ae80d4a25e6f454c721.zip llvm-5b9af38a03c8119cc2a42ae80d4a25e6f454c721.tar.gz llvm-5b9af38a03c8119cc2a42ae80d4a25e6f454c721.tar.bz2 |
[RISCV] Provide a more efficient lowering for experimental.cttz.elts. (#88552)
For experimental.cttz.elts, we can use a vfirst instruction, but we need
to correct the result if input vector can be 0. cttz.elts returns the
vector length while vfirst returns -1.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions