diff options
author | Petar Avramovic <Petar.Avramovic@rt-rk.com> | 2019-10-24 13:45:26 +0200 |
---|---|---|
committer | Petar Avramovic <Petar.Avramovic@rt-rk.com> | 2019-10-24 13:45:26 +0200 |
commit | e3b49df50e4f463f1b0bed5a0a476eafafd1d426 (patch) | |
tree | 20a60da18537df99a5cc6b5259a575d9e0d5ea76 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | 1ae8e8d25fd87048d3d8d7429308e52b236c79a1 (diff) | |
download | llvm-e3b49df50e4f463f1b0bed5a0a476eafafd1d426.zip llvm-e3b49df50e4f463f1b0bed5a0a476eafafd1d426.tar.gz llvm-e3b49df50e4f463f1b0bed5a0a476eafafd1d426.tar.bz2 |
[MIPS GlobalISel] Select MSA vector generic and builtin fabs
selectImpl is able to select G_FABS when we set bank for vector
operands to fprb. Add detailed tests.
Note: G_FABS is generated from llvm-ir intrinsics llvm.fabs.*,
and at the moment MIPS is not able to generate this intrinsic for
vector type (some targets generate vector llvm.fabs.* from calls
to a builtin function).
We can handle fabs using __builtin_msa_fmax_a_<format> and passing
same vector as both arguments. __builtin_msa_fmax_a_<format> will
be directly selected into FMAX_A_<format> in legalizeIntrinsic.
Differential Revision: https://reviews.llvm.org/D69346
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions