Juneyoung Lee
3cd755e246
[CodeGenPrepare] Freeze condition when transforming select to br
...
Summary:
This is a simple fix for CodeGenPrepare that freezes branch condition when transforming select to branch.
If it is not frozen, instsimplify or the later pipeline can potentially exploit undefined behavior.
The diff shows optimized form becase D75859 and D76048 already made a few changes to CodeGenPrepare for optimizing freeze(cmp).
Reviewers: jdoerfert, spatel, lebedev.ri, efriedma
Reviewed By: lebedev.ri
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D76179
2020-03-16 12:46:20 +09:00
..
2019-12-24 15:57:33 -08:00
2019-12-24 16:27:51 -08:00
2020-02-12 15:09:38 +02:00
2019-12-14 00:29:38 -06:00
2019-12-11 19:44:47 +05:30
2020-03-13 11:17:33 -05:00
2019-11-21 13:53:10 -08:00
2020-02-13 10:16:06 -08:00
2020-02-09 12:25:21 +02:00
2020-03-16 12:46:20 +09:00
2019-12-24 16:27:51 -08:00
2020-03-04 18:27:20 +01:00
2020-03-05 14:43:50 +08:00
2020-03-15 11:23:46 +00:00
2019-12-16 11:41:21 +01:00
2020-01-06 10:50:26 +00:00
2020-02-27 14:43:01 -08:00
2020-02-28 20:35:20 +09:00
2020-03-09 10:40:52 +01:00
2019-12-02 15:36:29 +00:00
2020-02-13 10:16:06 -08:00
2020-02-13 10:16:06 -08:00
2020-01-23 11:36:01 -08:00
2020-01-04 16:42:38 +03:00
2020-01-23 11:36:01 -08:00
2019-11-21 10:46:16 -08:00
2020-03-01 07:32:05 +09:00
2019-12-24 16:27:51 -08:00
2020-02-17 15:57:50 -08:00
2020-03-05 16:27:59 -05:00
2019-12-02 15:36:29 +00:00
2020-03-13 17:35:47 +01:00
2020-03-11 15:45:58 -04:00
2020-03-12 13:22:41 -07:00
2019-12-08 10:37:29 +00:00
2020-02-20 22:48:58 +01:00
2020-02-06 12:44:43 +03:00
2020-03-14 17:19:59 +00:00
2020-01-23 15:53:53 +07:00
2020-03-03 12:29:39 +09:00
2020-02-11 18:35:00 -05:00
2020-01-30 18:02:22 +00:00
2020-03-13 15:59:37 -04:00
2020-01-17 15:40:02 +03:00
2019-12-24 15:57:33 -08:00
2020-03-05 16:32:37 +07:00
2020-01-11 11:02:24 +01:00
2019-12-24 16:27:51 -08:00
2020-03-12 17:23:07 +07:00
2020-01-16 09:00:56 -08:00
2020-03-06 21:39:07 +03:00
2020-03-11 17:40:08 +00:00
2020-02-28 15:20:51 +00:00
2020-01-14 20:55:41 +01:00
2019-12-24 16:27:51 -08:00
2019-12-24 16:27:51 -08:00
2020-03-13 13:52:14 -07:00
2020-03-13 00:28:14 -05:00
2020-01-24 11:20:53 -08:00
2020-03-06 21:39:07 +03:00
2020-02-27 09:06:03 -08:00
2020-03-06 16:28:49 -05:00
2019-12-24 16:27:51 -08:00
2020-02-18 17:58:32 -08:00
2019-12-24 16:27:51 -08:00
2020-03-14 17:19:59 +00:00
2020-01-17 12:22:52 -05:00
2020-02-28 11:10:46 +09:00
2020-03-13 14:39:31 -04:00
2020-03-13 11:23:31 -07:00
2020-02-28 10:38:40 +01:00
2019-12-24 16:27:51 -08:00
2020-03-05 10:33:15 +05:30
2020-03-05 18:09:33 -08:00
2019-12-22 11:27:11 -08:00
2020-03-10 18:02:39 +01:00
2020-03-08 09:57:55 -04:00
2020-03-09 14:05:15 +03:00