diff options
author | Craig Topper <craig.topper@sifive.com> | 2020-12-10 17:35:25 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2020-12-10 19:48:03 -0800 |
commit | b90e2d850e780d290b554963db1cd264625a73a4 (patch) | |
tree | 122ccae6dc92cf2bc7c95dfbae7f7a392f288972 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8c5ca7c6e62c203b9642dca2a1d9118c36777ad5 (diff) | |
download | llvm-b90e2d850e780d290b554963db1cd264625a73a4.zip llvm-b90e2d850e780d290b554963db1cd264625a73a4.tar.gz llvm-b90e2d850e780d290b554963db1cd264625a73a4.tar.bz2 |
[RISCV] Use tail agnostic policy for vsetvli instruction emitted in the custom inserter
The compiler is making no effort to preserve upper elements. To do so would require another source operand tied with the destination and a different intrinsic interface to give control of this source to the programmer.
This patch changes the tail policy to agnostic so that the CPU doesn't need to make an effort to preserve them.
This is consistent with the RVV intrinsic spec here https://github.com/riscv/rvv-intrinsic-doc/blob/master/rvv-intrinsic-rfc.md#configuration-setting
Differential Revision: https://reviews.llvm.org/D93080
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions