aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2022-01-21 17:58:39 +0000
committerFraser Cormack <fraser@codeplay.com>2022-01-24 13:52:08 +0000
commitd42678b453bc2587a42eef1ba4e5782b2c8c5ff1 (patch)
tree591605d2a288363d5dcb853264d4881c72c220e8 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
parentada6d78a7802f8057f1ab7cee0bed25f91fcc4b4 (diff)
downloadllvm-d42678b453bc2587a42eef1ba4e5782b2c8c5ff1.zip
llvm-d42678b453bc2587a42eef1ba4e5782b2c8c5ff1.tar.gz
llvm-d42678b453bc2587a42eef1ba4e5782b2c8c5ff1.tar.bz2
[RISCV] Add side-effect-free vsetvli intrinsics
This patch introduces new intrinsics that enable the use of vsetvli in contexts where only the returned vector length is of interest. The pre-existing intrinsics are marked with side-effects, which prevents even trivial optimizations on/across them. These intrinsics are intended to be used in situations where the vector length is fed in turn to RVV intrinsics or to vector-predication intrinsics during loop vectorization, for example. Those codegen paths ensure that instructions are generated with their own implicit vsetvli, so the vector length and vtype can be relied upon to be correct. No corresponding C builtins are planned at this stage, though that is a possibility for the future if the need arises. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D117910
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions