Heejin Ahn
0af7542135
Reapply "[WebAssembly] Fix phi handling for Wasm SjLj ( #99730 )"
...
This reapplies #99730 . #99730 contained a nondeterministic iteration
which failed the reverse-iteration bot
(https://lab.llvm.org/buildbot/#/builders/110/builds/474 ) and reverted
in
f3f0d9928f .
The fix is make the order of iteration of new predecessors
determintistic by using `SmallSetVector`.
```diff
--- a/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
@@ -1689,7 +1689,7 @@ void WebAssemblyLowerEmscriptenEHSjLj::handleLongjmpableCallsForWasmSjLj(
}
}
- SmallDenseMap<BasicBlock *, SmallPtrSet<BasicBlock *, 4>, 4>
+ SmallDenseMap<BasicBlock *, SmallSetVector<BasicBlock *, 4>, 4>
UnwindDestToNewPreds;
for (auto *CI : LongjmpableCalls) {
// Even if the callee function has attribute 'nounwind', which is true for
```
2024-07-25 00:00:59 +00:00
..
2024-06-04 08:31:03 +02:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-02-14 15:20:06 -05:00
2023-02-14 15:20:06 -05:00
2022-12-19 13:07:59 +01:00
2024-07-01 19:12:01 -07:00
2022-12-19 13:07:59 +01:00
2023-04-05 01:42:36 -07:00
2024-01-13 14:55:54 -08:00
2019-03-29 19:36:51 +00:00
2024-05-28 13:26:36 -07:00
2023-01-05 13:21:20 +01:00
2024-02-05 14:07:09 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-11-02 12:51:28 -07:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2020-06-15 08:31:56 -07:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2024-02-01 07:26:58 +08:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2024-05-28 16:27:04 -07:00
2024-06-18 21:56:41 -07:00
2023-01-05 13:21:20 +01:00
2024-06-06 10:44:53 +01:00
2021-07-14 11:17:08 -07:00
2022-06-20 10:57:41 +01:00
2022-06-20 10:57:41 +01:00
2022-06-20 10:57:41 +01:00
2022-06-20 10:57:41 +01:00
2022-09-27 09:16:30 +02:00
2022-09-27 09:16:30 +02:00
2022-06-20 10:57:41 +01:00
2022-06-20 10:57:41 +01:00
2021-07-14 11:17:08 -07:00
2023-06-23 14:07:11 -07:00
2023-06-23 14:07:11 -07:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2024-06-04 08:31:03 +02:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2020-08-26 09:20:46 +01:00
2023-07-11 15:17:26 -07:00
2022-08-31 14:54:13 -07:00
2023-02-07 15:56:10 +00:00
2022-06-20 10:57:41 +01:00
2022-06-20 10:57:41 +01:00
2022-09-27 09:16:30 +02:00
2022-09-27 09:16:30 +02:00
2022-09-27 09:16:30 +02:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-01-16 10:30:00 +01:00
2023-01-05 13:21:20 +01:00
2024-07-01 19:12:01 -07:00
2022-12-19 13:07:59 +01:00
2024-02-05 14:07:09 +01:00
2022-12-19 13:07:59 +01:00
2024-07-24 11:55:36 -07:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2023-08-03 10:21:43 +01:00
2021-07-14 11:17:08 -07:00
2024-02-05 17:38:54 -08:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-07-11 10:36:25 -04:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2024-07-19 10:18:58 -04:00
2024-06-11 10:43:51 -04:00
2023-05-17 17:03:15 +02:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2024-04-23 17:48:59 +09:00
2024-05-28 11:36:48 -07:00
2024-03-28 04:41:29 +00:00
2022-12-19 13:07:59 +01:00
2024-05-19 14:59:03 +01:00
2024-03-25 18:11:56 -07:00
2024-03-25 18:11:56 -07:00
2024-03-28 04:41:29 +00:00
2024-07-25 00:00:59 +00:00
2024-03-25 18:11:56 -07:00
2024-03-25 18:11:56 -07:00
2023-07-12 14:35:55 +02:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2022-11-02 12:51:28 -07:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2024-04-04 16:47:25 +02:00
2024-04-23 17:48:59 +09:00
2024-04-23 17:48:59 +09:00
2024-04-23 17:48:59 +09:00
2023-05-17 10:48:52 +02:00
2024-04-23 17:48:59 +09:00
2022-11-02 12:51:28 -07:00
2022-12-19 13:07:59 +01:00
2024-02-21 03:35:36 +09:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-01-26 10:26:24 +00:00
2022-12-19 13:07:59 +01:00
2024-05-09 15:38:13 -07:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2023-09-13 12:33:39 +01:00
2023-03-30 20:14:11 -07:00
2024-03-20 08:42:42 -07:00
2023-02-09 18:45:20 +03:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2022-06-20 10:57:41 +01:00
2024-04-23 17:57:49 +09:00
2024-05-28 16:10:11 -07:00
2024-05-28 16:10:11 -07:00
2024-07-01 19:12:01 -07:00
2024-07-16 20:56:18 +01:00
2023-01-26 10:26:24 +00:00
2024-01-09 23:54:43 -06:00
2022-11-02 12:51:28 -07:00
2024-07-24 09:23:49 +01:00
2024-07-23 11:50:56 -07:00
2021-07-14 11:17:08 -07:00
2023-06-09 08:42:27 -07:00
2023-01-26 14:26:02 +00:00
2023-01-04 15:07:47 +00:00
2021-07-14 11:17:08 -07:00
2022-09-13 16:03:18 -07:00
2022-11-02 12:51:28 -07:00
2022-12-19 13:07:59 +01:00
2023-06-09 08:42:27 -07:00
2023-06-09 08:42:27 -07:00
2022-12-19 10:37:19 +00:00
2023-01-26 10:26:24 +00:00
2023-05-03 16:00:20 -07:00
2023-01-04 15:07:47 +00:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2023-06-09 08:42:27 -07:00
2023-01-04 15:07:47 +00:00
2023-07-12 14:35:55 +02:00
2021-07-14 11:17:08 -07:00
2021-07-14 11:17:08 -07:00
2023-01-04 15:07:47 +00:00
2023-08-25 08:13:27 -07:00
2023-10-24 12:35:43 +02:00
2022-12-19 13:07:59 +01:00
2024-06-14 17:18:20 -04:00
2023-06-30 11:30:18 -07:00
2021-12-15 09:22:40 -08:00
2024-04-04 16:47:25 +02:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2023-01-26 10:26:24 +00:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2024-02-06 09:07:58 +08:00
2024-07-01 19:12:01 -07:00
2022-12-19 13:07:59 +01:00
2021-07-14 11:17:08 -07:00
2020-07-30 10:52:16 -07:00
2022-11-23 18:45:52 +01:00
2022-11-23 18:45:52 +01:00
2022-11-23 18:45:52 +01:00
2022-11-23 18:45:52 +01:00
2023-03-22 09:28:48 -07:00
2024-06-26 13:28:55 -07:00
2024-07-01 19:12:01 -07:00
2024-04-10 16:24:02 -07:00
2024-04-10 16:24:02 -07:00
2024-07-16 20:56:18 +01:00
2023-01-26 10:26:24 +00:00
2024-04-28 10:13:02 +08:00
2022-12-19 13:07:59 +01:00
2024-02-05 14:07:09 +01:00
2024-06-06 10:44:53 +01:00
2022-12-19 13:07:59 +01:00
2024-07-24 09:23:49 +01:00
2022-12-19 13:07:59 +01:00
2022-12-19 13:07:59 +01:00
2024-02-13 13:43:21 -08:00
2022-12-19 13:07:59 +01:00
2024-02-06 12:39:48 +00:00