Benjamin Maxwell
c3260c65e8
[IR] Add llvm.sincos intrinsic ( #109825 )
...
This adds the `llvm.sincos` intrinsic, legalization, and lowering.
The `llvm.sincos` intrinsic takes a floating-point value and returns
both the sine and cosine (as a struct).
```
declare { float, float } @llvm.sincos.f32(float %Val)
declare { double, double } @llvm.sincos.f64(double %Val)
declare { x86_fp80, x86_fp80 } @llvm.sincos.f80(x86_fp80 %Val)
declare { fp128, fp128 } @llvm.sincos.f128(fp128 %Val)
declare { ppc_fp128, ppc_fp128 } @llvm.sincos.ppcf128(ppc_fp128 %Val)
declare { <4 x float>, <4 x float> } @llvm.sincos.v4f32(<4 x float> %Val)
```
The lowering is built on top of the existing FSINCOS ISD node, with
additional type legalization to allow for f16, f128, and vector values.
2024-10-29 10:52:20 +00:00
..
2024-10-14 18:28:54 +05:30
2024-08-04 23:20:45 +03:00
2024-10-17 20:25:06 +08:00
2024-06-14 10:35:50 -04:00
2024-10-17 20:25:06 +08:00
2024-10-25 09:34:08 +01:00
2024-10-25 09:34:08 +01:00
2024-07-01 03:35:39 +08:00
2024-06-11 06:04:09 -07:00
2024-03-21 13:45:44 +00:00
2024-06-08 11:31:13 +02:00
2024-10-17 20:25:06 +08:00
2024-09-05 09:26:53 +02:00
2024-09-05 09:26:53 +02:00
2024-09-02 08:54:10 +01:00
2024-10-17 20:25:06 +08:00
2024-09-02 08:54:10 +01:00
2024-09-06 16:19:20 +01:00
2024-09-05 09:26:53 +02:00
2024-09-07 14:09:29 +08:00
2024-09-13 10:59:57 +01:00
2024-07-24 10:49:50 +01:00
2024-06-07 11:03:32 +01:00
2024-10-17 20:25:06 +08:00
2024-04-11 12:29:29 -07:00
2024-09-02 08:54:10 +01:00
2024-09-02 08:54:10 +01:00
2024-10-14 15:48:12 +01:00
2024-06-20 10:22:01 +01:00
2024-06-20 10:22:01 +01:00
2024-06-14 11:20:45 +02:00
2024-06-26 15:40:10 +02:00
2024-05-07 11:48:30 +01:00
2024-06-07 11:03:32 +01:00
2024-10-17 20:25:06 +08:00
2024-08-12 09:00:22 +02:00
2024-10-17 20:25:06 +08:00
2024-07-11 22:57:34 +01:00
2024-09-24 08:11:21 +01:00
2024-10-17 20:25:06 +08:00
2024-10-19 06:13:15 -07:00
2024-06-14 10:35:50 -04:00
2024-06-14 10:35:50 -04:00
2024-10-25 09:34:08 +01:00
2024-10-25 09:34:08 +01:00
2024-10-28 14:07:32 +07:00
2024-05-07 11:48:30 +01:00
2024-06-07 10:58:10 +01:00
2024-10-17 20:25:06 +08:00
2024-06-09 12:28:20 +01:00
2024-05-07 11:48:30 +01:00
2024-05-14 16:36:39 +01:00
2024-10-17 20:25:06 +08:00
2024-06-25 10:25:48 -07:00
2024-10-17 20:25:06 +08:00
2024-10-29 10:52:20 +00:00
2024-10-10 09:17:50 +01:00
2024-06-07 11:03:32 +01:00
2024-06-07 06:50:13 -07:00
2024-06-07 06:50:13 -07:00
2024-06-14 09:29:21 +02:00
2024-06-07 06:50:13 -07:00
2024-06-07 06:50:13 -07:00
2024-08-08 01:12:45 +03:00
2024-10-10 08:39:25 +08:00
2024-04-15 10:58:30 +01:00
2024-06-07 11:03:32 +01:00
2024-06-07 11:03:32 +01:00
2024-06-07 11:03:32 +01:00
2024-10-25 09:34:09 +01:00
2024-10-18 09:35:42 +04:00
2024-08-08 11:39:05 +01:00
2024-03-21 20:24:57 -04:00
2024-08-29 17:53:32 +01:00
2024-04-30 15:29:07 +01:00
2024-04-30 15:29:07 +01:00
2024-04-30 15:29:07 +01:00
2024-10-14 18:28:54 +05:30
2024-08-02 16:38:31 +03:00
2024-10-20 13:53:26 +01:00
2024-09-24 11:26:06 +01:00
2024-06-07 11:03:32 +01:00
2024-06-07 12:22:42 +08:00
2024-06-14 08:51:56 +01:00
2024-04-05 10:18:22 +01:00
2024-07-16 20:56:18 +01:00
2024-07-08 14:18:38 +08:00
2024-04-05 10:18:22 +01:00
2024-09-27 12:00:50 +01:00
2024-03-21 13:45:44 +00:00
2024-08-07 10:24:17 +01:00
2024-07-10 11:32:41 +02:00
2024-04-12 16:18:12 +02:00
2024-06-07 11:03:32 +01:00
2024-08-14 08:44:57 -07:00
2024-10-17 20:25:06 +08:00
2024-10-09 09:34:17 -07:00
2024-10-17 20:25:06 +08:00
2024-09-27 09:08:05 +01:00
2024-10-17 20:25:06 +08:00
2024-08-27 11:17:17 +01:00
2024-10-23 09:06:12 +01:00
2024-07-16 20:56:18 +01:00
2024-10-23 13:37:02 +02:00
2024-04-16 01:28:28 +08:00
2024-06-07 11:03:32 +01:00
2024-10-17 20:25:06 +08:00
2024-06-07 14:31:15 +01:00
2024-06-07 14:31:15 +01:00
2024-09-25 10:03:39 +01:00
2024-06-09 12:28:20 +01:00
2024-06-09 11:30:05 +01:00
2024-06-14 10:35:50 -04:00
2024-09-07 14:09:29 +08:00
2024-07-29 15:53:42 +01:00
2024-04-05 10:18:22 +01:00