llvm-project/llvm/lib/Transforms
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
..
AggressiveInstCombine [AggressiveInstCombine] Add `{insert/extract}element` to `TruncInstCombine` DAG 2021-09-16 11:24:31 +03:00
CFGuard llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Coroutines [Transforms] Migrate from getNumArgOperands to arg_size (NFC) 2021-10-01 09:57:40 -07:00
Hello
IPO [OpenMP] Add options to change Attributor max iterations in OpenMPOpt 2021-10-04 09:39:04 -04:00
InstCombine [InstCombine] add helper for "is desirable int type"; NFC 2021-10-04 14:30:18 -04:00
Instrumentation [Transforms] Migrate from getNumArgOperands to arg_size (NFC) 2021-10-01 09:57:40 -07:00
ObjCARC [Transforms] Use make_early_inc_range (NFC) 2021-09-15 19:55:24 -07:00
Scalar [LICM] Bail if checking a global/constant for invariant.start 2021-10-04 14:14:25 -07:00
Utils [TargetLibraryInfo] Refactor size_t checks in isValidProtoForLibFunc. NFC 2021-10-04 15:46:39 +02:00
Vectorize [NFC] Simple tidy-up in LoopVectorizationCostModel::selectEpilogueVectorizationFactor 2021-10-04 10:14:22 +01:00
CMakeLists.txt [NewPM][HelloWorld] Move HelloWorld to Utils 2021-02-03 12:59:40 -08:00