aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2020-12-10 17:35:25 -0800
committerCraig Topper <craig.topper@sifive.com>2020-12-10 19:48:03 -0800
commitb90e2d850e780d290b554963db1cd264625a73a4 (patch)
tree122ccae6dc92cf2bc7c95dfbae7f7a392f288972 /clang/lib/Frontend/CompilerInvocation.cpp
parent8c5ca7c6e62c203b9642dca2a1d9118c36777ad5 (diff)
downloadllvm-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