Jasmine Tang
10d9e7b1b7
Reapply "[WebAssembly] Constant fold wasm.dot" ( #153070 )
...
In #149619 , for the test of `@dot_follow_modulo_spec_2`, constant
folding the addition of two i32 1073741824 causes an overflow from 2^32
to -2^32=-2147483648, which triggers the UB sanitizer. This PR reapplies
the previous PR, explicitly casting the addition operand to int64_t
first before performing the addition before producing a int32 number via
`Constant *C = get(cast<IntegerType>(Ty->getScalarType()), V, isSigned)`
2025-08-14 18:52:35 -07:00
..
2025-08-14 18:52:35 -07:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-07-16 11:40:04 +02:00
2024-11-06 11:53:33 +00:00
2025-02-04 22:53:33 +01:00
2024-12-10 15:42:05 +00:00
2024-11-06 11:53:33 +00:00
2025-07-04 22:55:07 +01:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-11-14 11:55:19 +01:00
2024-11-21 11:21:12 +00:00
2025-06-03 19:51:21 +08:00
2025-01-07 13:17:36 +00:00
2025-01-07 13:17:36 +00:00
2025-01-16 14:38:51 +00:00
2025-08-01 10:31:43 +01:00
2024-06-13 20:20:27 +01:00
2025-01-30 20:58:38 +00:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-11-15 14:19:50 +00:00
2025-05-30 11:27:18 +01:00
2024-11-06 11:53:33 +00:00
2025-07-19 19:37:21 -07:00
2024-11-21 12:39:53 +00:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2025-03-09 21:10:35 +08:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2025-08-10 22:55:04 +08:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2025-07-19 19:37:21 -07:00
2024-11-21 11:21:12 +00:00
2025-06-11 13:27:14 +02:00
2024-11-06 11:53:33 +00:00
2025-05-01 14:21:59 -07:00
2025-04-30 15:01:00 +02:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2025-03-01 12:02:57 -05:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-07-09 14:44:48 -07:00
2025-01-29 23:14:36 +08:00
2024-11-06 11:53:33 +00:00
2024-11-19 20:10:40 +08:00
2025-05-02 07:49:27 +08:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-12-09 16:44:05 +01:00
2024-11-07 14:09:45 +01:00
2024-11-06 11:53:33 +00:00
2025-01-20 12:19:07 -05:00
2024-11-06 11:53:33 +00:00
2024-07-15 09:26:03 +02:00
2024-11-06 11:53:33 +00:00
2024-11-15 14:19:50 +00:00
2024-11-06 11:53:33 +00:00
2025-07-04 22:55:07 +01:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2024-10-14 14:08:12 +01:00
2024-12-17 10:58:52 +01:00
2025-02-02 19:04:23 +08:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2025-02-01 08:48:32 +01:00
2025-08-04 14:51:03 +05:30
2024-11-06 11:53:33 +00:00
2025-04-10 19:29:28 +02:00
2024-11-06 11:53:33 +00:00
2025-06-10 12:50:16 -07:00
2024-12-09 16:44:05 +01:00
2025-07-16 08:35:13 -07:00
2024-11-06 11:53:33 +00:00
2025-01-11 15:10:42 -06:00
2025-06-22 13:32:19 +08:00
2024-11-06 11:53:33 +00:00
2024-11-06 11:53:33 +00:00
2025-04-03 18:03:16 +01:00
2024-11-06 11:53:33 +00:00
2025-06-16 10:07:56 -07:00
2025-04-03 16:24:56 +01:00
2025-04-03 16:24:56 +01:00
2024-11-06 11:53:33 +00:00