Jordan Rupprecht
48c08c639e
[DebugInfo][GlobalOpt] Fix -debugify for globalopt shrinking globals to booleans.
...
Summary:
TryToShrinkGlobalToBoolean, when possible, will split store <value> + load <value> into store <bool> + select <bool ? value : 0>. This preserves DebugLoc during that pass.
Fixes PR37959. The test case here is the simplified .ll for:
```
static int foo;
int bar() {
foo = 5;
return foo;
}
```
Reviewers: dblaikie, gbedwell, aprantl
Reviewed By: dblaikie
Subscribers: mehdi_amini, JDevlieghere, dexonsmith, llvm-commits
Tags: #debug-info
Differential Revision: https://reviews.llvm.org/D53531
llvm-svn: 345046
2018-10-23 16:35:51 +00:00
..
2018-01-30 16:17:22 +00:00
2016-05-10 18:22:45 +00:00
2018-08-28 01:18:29 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2017-08-30 18:06:51 +00:00
2016-05-10 18:22:45 +00:00
2016-04-25 23:36:50 +00:00
2016-06-14 21:01:22 +00:00
2016-06-14 21:01:22 +00:00
2016-06-14 21:01:22 +00:00
2018-05-19 02:58:16 +00:00
2016-06-14 21:01:22 +00:00
2016-04-26 00:28:01 +00:00
2018-01-30 16:17:22 +00:00
2016-04-25 23:36:50 +00:00
2016-06-14 21:01:22 +00:00
2018-01-19 17:13:12 +00:00
2016-06-14 21:01:22 +00:00
2016-09-15 20:26:27 +00:00
2016-04-25 23:36:50 +00:00
2018-03-13 10:19:50 +00:00
2018-07-01 11:02:07 +00:00
2018-07-10 16:34:23 +00:00
2018-07-01 11:02:07 +00:00
2017-01-22 20:28:56 +00:00
2018-08-09 17:29:26 +00:00
2018-07-28 08:20:10 +00:00
2018-07-28 08:20:10 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2017-11-08 21:59:51 +00:00
2018-05-09 02:40:45 +00:00
2016-08-13 23:31:24 +00:00
2018-07-02 04:49:30 +00:00
2016-08-13 23:31:24 +00:00
2016-06-14 21:01:22 +00:00
2016-04-25 23:36:50 +00:00
2018-07-09 22:27:23 +00:00
2018-05-09 02:40:45 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2016-08-03 18:19:43 +00:00
2018-02-28 22:28:44 +00:00
2018-02-22 14:42:08 +00:00
2016-04-25 23:36:50 +00:00
2016-06-14 21:01:22 +00:00
2017-07-13 15:55:34 +00:00
2018-05-09 02:40:45 +00:00
2018-10-23 16:35:51 +00:00
2018-04-06 15:54:47 +00:00
2018-07-09 22:27:23 +00:00
2016-04-25 23:36:50 +00:00
2018-07-09 22:27:23 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-06-14 21:01:22 +00:00