Arthur Eubanks
7f28b4d5b7
[LICM] Bail if checking a global/constant for invariant.start
...
When we check if a load is loop invariant by finding a dominating
invariant.start call, we strip bitcasts until we get to an i8* Value,
and look for an invariant.start use of the i8* Value.
We may accidentally end up at an i8 global and look at a global's uses,
which we shouldn't do in a loop pass. Although we could make this
logic work with globals, that's not currently intended.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D111098
2021-10-04 14:14:25 -07:00
..
2021-08-17 22:41:31 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-09-25 10:50:54 +01:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-14 21:21:07 +02:00
2021-08-18 20:21:53 +02:00
2021-08-14 21:21:07 +02:00
2021-08-14 21:21:07 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-10-04 14:14:25 -07:00
2021-08-18 20:21:53 +02:00
2021-08-17 22:41:31 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-14 21:21:07 +02:00
2021-08-14 21:21:07 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-17 22:41:31 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-07-26 10:51:00 -07:00
2021-08-18 20:21:53 +02:00
2021-07-24 17:04:42 +02:00
2021-08-14 21:21:07 +02:00
2021-08-18 20:21:53 +02:00
2021-08-18 20:21:53 +02:00
2021-07-09 20:57:44 +02:00
2021-08-18 20:21:53 +02:00
2021-09-04 16:45:51 -07:00
2021-08-18 20:21:53 +02:00