Jay Foad
f0c173a27b
[AMDGPU] Make printf lowering faster when there are no printfs
...
Summary:
Printf lowering unconditionally visited every instruction in the module.
To make it faster in the common case where there are no printfs, look up
the printf function (if any) and iterate over its users instead.
Reviewers: rampitec, kzhuravl, alex-t, arsenm
Subscribers: jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68145
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373433 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-02 08:44:15 +00:00
..
2019-09-27 15:41:31 +00:00
2019-07-09 21:43:09 +00:00
2019-08-23 01:00:55 +00:00
2019-06-11 03:21:13 +00:00
2019-09-02 14:40:57 +00:00
2019-08-12 17:12:29 +00:00
2019-08-23 22:09:58 +00:00
2019-07-17 11:22:19 +00:00
2019-03-22 17:22:19 +00:00
2019-01-19 08:50:56 +00:00
2019-09-20 14:31:42 +00:00
2019-01-19 08:50:56 +00:00
2019-06-28 01:52:13 +00:00
2019-09-05 23:07:10 +00:00
2019-10-02 00:26:58 +00:00
2019-10-02 00:26:58 +00:00
2019-08-23 10:07:43 +00:00
2019-08-28 15:00:45 +00:00
2019-09-09 23:06:13 +00:00
2019-09-09 23:06:13 +00:00
2019-08-24 22:17:10 +00:00
2019-04-03 00:01:03 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-10-02 01:02:14 +00:00
2019-10-01 02:07:25 +00:00
2019-07-05 16:05:17 +00:00
2019-08-15 15:54:37 +00:00
2019-07-17 16:51:29 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-09-10 17:17:05 +00:00
2019-08-01 03:41:41 +00:00
2019-10-02 01:02:27 +00:00
2019-10-01 02:23:20 +00:00
2019-08-01 23:27:28 +00:00
2019-09-26 00:16:01 +00:00
2019-09-09 17:13:44 +00:00
2019-10-02 01:02:27 +00:00
2019-10-01 01:06:43 +00:00
2019-09-30 13:34:44 +00:00
2019-08-25 12:47:31 +00:00
2019-02-01 02:28:03 +00:00
2019-01-19 08:50:56 +00:00
2019-06-19 23:54:58 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 19:22:08 +00:00
2019-07-05 20:26:13 +00:00
2019-01-19 08:50:56 +00:00
2019-03-25 20:50:21 +00:00
2019-03-25 20:50:21 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-06-16 17:43:37 +00:00
2019-07-16 04:46:31 +00:00
2019-07-05 21:09:53 +00:00
2019-07-05 20:26:13 +00:00
2019-10-02 08:44:15 +00:00
2019-06-18 12:23:44 +00:00
2019-07-08 18:48:39 +00:00
2019-01-19 08:50:56 +00:00
2019-10-02 01:02:27 +00:00
2019-09-19 16:26:14 +00:00
2019-10-01 16:35:06 +00:00
2019-07-09 21:43:09 +00:00
2019-01-19 08:50:56 +00:00
2019-07-09 19:41:51 +00:00
2019-01-19 08:50:56 +00:00
2019-08-05 09:36:06 +00:00
2019-09-19 20:09:04 +00:00
2019-09-19 16:26:14 +00:00
2019-08-27 00:08:31 +00:00
2019-03-14 22:54:43 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-09-05 02:20:39 +00:00
2019-08-14 18:13:00 +00:00
2019-06-25 18:55:16 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 19:22:08 +00:00
2019-06-17 16:48:56 +00:00
2019-09-19 16:26:14 +00:00
2019-01-19 08:50:56 +00:00
2019-08-12 17:12:29 +00:00
2019-09-19 16:26:14 +00:00
2019-08-01 03:25:52 +00:00
2019-09-06 00:36:10 +00:00
2019-07-12 15:59:40 +00:00
2019-08-15 19:22:08 +00:00
2019-07-11 21:30:34 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 15:54:37 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 19:22:08 +00:00
2019-07-09 18:10:06 +00:00
2019-08-15 19:22:08 +00:00
2019-08-15 19:22:08 +00:00
2019-08-01 23:27:28 +00:00
2019-10-01 15:45:47 +00:00
2019-09-05 22:44:06 +00:00
2019-05-11 00:03:35 +00:00
2019-08-12 22:32:21 +00:00
2019-01-19 08:50:56 +00:00
2019-09-27 12:54:21 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 19:22:08 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 19:22:08 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 19:22:08 +00:00
2019-01-19 08:50:56 +00:00
2019-07-16 17:38:50 +00:00
2019-08-15 19:22:08 +00:00
2019-06-12 17:14:03 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 19:22:08 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 19:22:08 +00:00
2019-08-15 19:22:08 +00:00
2019-04-03 00:01:03 +00:00
2019-08-01 23:27:28 +00:00
2019-06-24 15:50:29 +00:00
2018-06-28 23:47:12 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 19:22:08 +00:00
2019-06-13 23:47:36 +00:00
2019-09-17 17:56:13 +00:00
2019-09-12 19:12:21 +00:00
2019-08-01 23:27:28 +00:00
2019-01-19 08:50:56 +00:00
2019-09-30 15:31:17 +00:00
2019-08-15 19:22:08 +00:00
2019-08-15 19:22:08 +00:00
2019-07-16 15:57:12 +00:00
2019-06-16 17:13:09 +00:00
2019-08-15 15:54:37 +00:00
2019-09-17 17:56:13 +00:00
2019-09-26 22:53:44 +00:00
2019-09-26 22:53:44 +00:00
2019-10-01 02:07:25 +00:00
2019-10-01 02:23:20 +00:00
2019-10-01 01:44:39 +00:00
2019-10-01 01:44:39 +00:00
2019-10-01 17:56:59 +00:00
2019-09-17 09:08:58 +00:00
2019-09-25 14:04:36 +00:00
2019-08-15 19:22:08 +00:00
2019-08-27 18:18:38 +00:00
2019-08-27 18:18:38 +00:00
2019-08-15 15:54:37 +00:00
2019-01-19 08:50:56 +00:00
2019-08-15 15:54:37 +00:00
2019-08-15 15:54:37 +00:00
2019-08-20 17:45:25 +00:00
2019-08-20 17:45:25 +00:00
2019-08-15 19:22:08 +00:00
2019-08-15 19:22:08 +00:00
2019-10-02 00:26:58 +00:00
2019-10-01 23:07:14 +00:00
2019-08-23 22:09:58 +00:00
2019-09-09 18:43:29 +00:00
2019-07-11 21:25:00 +00:00
2019-08-15 19:22:08 +00:00
2019-08-15 19:22:08 +00:00
2019-09-16 00:54:07 +00:00
2019-09-21 02:37:33 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-09-19 16:26:14 +00:00
2019-09-30 06:31:30 +00:00
2019-09-19 16:26:14 +00:00
2019-09-17 17:56:13 +00:00
2019-09-09 18:29:45 +00:00
2019-09-26 21:06:17 +00:00