1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00
Petar Avramovic c4354e2d3b [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
2019-10-24 13:45:26 +02:00
..
2018-06-29 16:37:16 +00:00
2018-07-23 23:19:53 +00:00
2019-01-28 14:59:30 +00:00
2017-12-11 11:21:40 +00:00
2017-06-06 15:33:01 +00:00
2019-10-10 12:02:14 +00:00
2017-12-11 11:21:40 +00:00
2017-03-09 11:19:48 +00:00