llvm-project/llvm/lib
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
..
Analysis [BasicAA] Ignore CanBeFreed in minimal extent reasoning 2021-10-04 22:08:57 +02:00
AsmParser Fixed warnings in target/parser codes produced by -Wbitwise-instead-of-logicala 2021-10-03 15:04:01 +02:00
BinaryFormat [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
Bitcode [NFC][AttributeList] Replace index_begin/end with an iterator 2021-10-01 10:17:41 -07:00
Bitstream
CodeGen Delay outgoing register assignments to last. 2021-10-04 12:33:20 -07:00
DWARFLinker [dsymutil] Track incompleteness across unions 2021-09-24 14:26:37 -07:00
DWP [DWP] Refactoring llvm-dwp in to a library part 2 2021-07-22 14:23:29 -07:00
DebugInfo [DWARF][NFC] add ParentIdx and SiblingIdx to DWARFDebugInfoEntry for faster navigation. 2021-10-02 08:11:06 +03:00
Demangle [Demangle][Rust] Parse non-ASCII identifiers 2021-10-01 22:08:32 +02:00
ExecutionEngine [ORC] Remove ORC RPC. 2021-10-01 11:17:33 -07:00
Extensions
FileCheck [FileCheck] Use StringRef for MatchRegexp to fix crash. 2021-09-01 14:27:14 +02:00
Frontend [openmp] Add addrspacecast to getOrCreateIdent 2021-09-30 21:36:31 +01:00
FuzzMutate [NewPM][FuzzMutate] Fix renaming 'unswitch' to 'simple-loop-unswitch' 2021-07-09 12:24:12 +02:00
Fuzzer
IR [IR] Migrate from getNumArgOperands to arg_size (NFC) 2021-10-04 08:40:25 -07:00
IRReader
InterfaceStub [llvm] Remove redundant calls to str() and c_str() (NFC) 2021-08-30 09:05:05 -07:00
LTO Revert "[LTO][Legacy] Add -debug-pass-manager option to enable pass run/skip trace." 2021-09-29 19:43:35 +00:00
LineEditor
Linker Copy Elementtype Attribute to IR at Link step 2021-09-07 11:41:43 -07:00
MC [SystemZ][z/OS] Introduce initial support for GOFF asm parser 2021-10-01 10:29:14 -04:00
MCA [MCA] Fix a warning 2021-09-20 09:46:38 -07:00
Object Revert "Extract LC_CODE_SIGNATURE related implementation out of LLD" 2021-10-01 17:19:50 -07:00
ObjectYAML [llvm-objdump/llvm-readobj/obj2yaml/yaml2obj] Support STO_RISCV_VARIANT_CC and DT_RISCV_VARIANT_CC 2021-09-29 16:56:52 -07:00
Option [llvm/OptTable] Add named param comment for GroupedShortOption 2021-09-27 11:33:29 -04:00
Passes [BPI] Keep BPI available in loop passes through LoopStandardAnalysisResults 2021-09-30 10:27:05 -04:00
ProfileData [llvm][profile] Add padding after binary IDs 2021-09-28 11:50:50 -07:00
Remarks
Support [APFloat] Common up some assertions. NFC. 2021-10-04 11:38:53 +01:00
TableGen [TableGen] Record::checkRecordAssertions() - Use const-ref iterator in for-range loop. NFCI. 2021-09-17 12:11:53 +01:00
Target Delay outgoing register assignments to last. 2021-10-04 12:33:20 -07:00
Testing Fix for error "'Run' overrides a member function but is not marked 2021-06-11 06:56:00 -07:00
TextAPI [llvm] Use drop_begin (NFC) 2021-09-16 08:46:26 -07:00
ToolDrivers [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
Transforms [LICM] Bail if checking a global/constant for invariant.start 2021-10-04 14:14:25 -07:00
WindowsManifest Make WindowsManifestMerger::merge() take a MemoryBufferRef 2021-08-24 16:39:20 -04:00
XRay
CMakeLists.txt [DWP] Refactoring llvm-dwp in to a library part 2 2021-07-22 14:23:29 -07:00