This is an automated email from the git hooks/post-receive script.
Renato Golin pushed a change to branch linaro-local/renato/aa in repository toolchain/llvm/llvm.
from 791f311a490 [AMDGPU] Use GCNRPTracker dumper methods in scheduler adds 15886e12706 Revert "[ARM] Mark LEApcrel instructions as isAsCheapAsAMove" adds 7457b450301 [MetadataLoader] Remove unused Vector. NFCI. adds 34eb467434a ShrinkWrap: Add skipFunction() call adds acc2c1d71da Elide stores which are overwritten without being observed. adds c4cdac05ab5 Revert "[X86] Replace slow LEA instructions in X86" adds 39f419be0f0 NewGVN: Fix PR 33051 by making sure we remove old store exp [...] adds d0402428aed NewGVN: Only do something in verifyStoreExpressions if asse [...] adds 5bdd161daff In debug builds non-trivial amount of time is spent in Inst [...] adds 27cfb46c45f [InstCombine] auto-generate better checks; NFC adds b1649f1e7c8 Add hasProfileSummary and has{Sample|Instrumentation}Profil [...] adds 1a2e7acb991 [PPC] Lower load acquire/seq_cst trailing fence to cmp + bn [...] adds 00e2e0cf37c Test for r303197 adds 50ecf9b4076 [PPC] Add -ppc-asm-full-reg-names to atomic-2.ll. NFC. adds 6479eca14de [Inliner] Do not mix callsite and callee hotness based updates. adds f69362835a8 Re-commit r302678, fixing PR33053. adds 10dbbfe1c9d The patch exclude a case from zero check skip in CTLZ idio [...] adds 25529caa1bf [InstSimplify] add folds for constant mask of value shifted [...] adds 5073f4684a2 Update doxygen description of a method. NFC adds f15e8cd8138 Add test for FixedStreamArrayIterator::operator-> adds a22acb42e34 llvm/test/Transforms/InstCombine/debuginfo-skip.ll REQUIRES [...] adds 2c5493bf756 [NewGVN] Re-enable test now that the nondeterminism has bee [...] adds 40240a1e6be [IR] Prefer use_empty() to !hasNUsesOrMore(1) for clarity. adds 8d124b04c84 [Support] Ignore OutputDebugString exceptions in our crash [...] adds 04d09e9e473 Fix for compilers with older CRT header libraries. adds 6f423313575 [ADT] Fix some Clang-tidy modernize-use-using warnings; oth [...] adds 1179b5ee404 BitVector: add iterators for set bits adds 733dbc6c18d Added LLVM_DUMP_METHOD attributes for MatchableInfo::dump() [...] adds 7f80f60c161 [coroutines] Handle spills before catchswitch adds 8463e86819e [SCEV][NFC] Replace redundant dyn_cast with cast in getAddExpr adds d15a6186dab [SCEV] Always sort AddRecExprs from different loops by dominance adds f44cb969f0d [APInt] Use getWord to shorten some code. NFC adds 5d9fea6f532 Make sure -optimize-regalloc=false is used correctly by user. adds 28aa6e3bb4f [RuntimeDyld] Fix debug section relocation (pr20457) adds 3bbcbfa0750 [GlobalISel][TableGen] Fix handling of default operands adds e571f1699f7 [DebugInfo/DWARF] - Make comments to be in doxygen style. NFCi. adds 571ecd0259e Fixup r303240: Use llvm::to_string instead of std::to_string adds c2bea59da38 [Sparc] Remove execute permissions from non-executable text files adds dc1b6e19883 [ARM] GlobalISel: Remove dead instruction selection code adds c2b55b10652 Revert "[ARM] GlobalISel: Remove dead instruction selection code" adds e85090784ae [DWARF] - Cleanup relocations proccessing. adds 663da44a76b Reland r303247: [ARM] GlobalISel: Remove dead instruction s [...] adds 7e6b531c1ab [globalisel][tablegen] Require that all registers between i [...] adds 2460452d77d [SystemZ] Modelling of costs of divisions with a constant [...] adds 04f47c753c3 [GlobalISel][X86] Support add i64 in IA32. adds 98d41caf261 [PPC] Properly update register save area offsets adds c5e816b1b1f [x86] Update tests in psubus.ll; NFC adds 4980b7679c4 [globalisel][tablegen] Import rules containing intrinsic_wo_chain. adds cc7e9046bde [InstCombine] add isCanonicalPredicate() helper function an [...] adds 66b46e1a8bb [BitVector] Add find_[first,last]_[set,unset]_in. adds c254cb777d0 [CodeView] Simplify the use of visiting type records & streams. adds e9eda65f4b4 Workaround for incorrect Win32 header on GCC. adds 8d2c1f540ea [CrashRecovery] Use SEH __try instead of VEH when available adds 0f42e5be40e Revert "[CrashRecovery] Use SEH __try instead of VEH when a [...] adds 10c594e3207 [GISel]: Fix undefined behavior in IRTranslator adds aabc86087d1 Re-land r303274: "[CrashRecovery] Use SEH __try instead of [...] adds 919d78ce803 Always use the multiprocess module. adds 7eb7fabda7b Add back a dummy --use-processes. adds 221d5dcd283 [X86][AVX512] Add 512-bit vector bitreverse costs + tests adds f76a315172b AMDGPU: Fix min3/max3 combines for f16/i16 adds ba93e02f258 Revert r303015, because it has the unintended side effect o [...] adds 928b9308a68 AMDGPU: Use appropriate soffset for spilling adds 2a33bdd1e66 [WebAssembly][NFC] Update expected testsuite failures for n [...] adds 2d82d171171 Reapply part of rL303015, fixing just the DynamicLibaryTest [...] adds ace0d94c139 [X86] Split ctpop/ctlz/cttz cost tests adds 572b72726d6 AMDGPU: Try to use op_sel when selecting packed instructions adds a44d688d960 Only enable LiveRangeShrink for x86. adds 3b4043264e7 [X86][AVX512] Add 512-bit vector cttz costs + tests adds 2e0acd15bb9 [BinaryStream] Reduce the amount of boiler plate needed to use. adds f5276374323 [InstSimplify] handle all icmp i1 X, C in one place; NFCI adds 81c9a2995b3 AMDGPU: Make better use of op_sel with high components adds f0bbaf15bf4 Add some helpers for manipulating BinaryStreamRefs. adds 5a6875528ec update the test that should have been updated in r303292. (NFC) adds dc3197d1353 [llvm-pdbdump] in yaml2pdb, generate default output filenam [...] adds 13c0638d33c [X86][AVX512] Add 512-bit vector ctlz costs + tests adds 64444b4dcc8 AMDGPU: Change mubuf soffset register when SP relative adds a799ff4e4f1 AMDGPU: Expand frame indexes to be relative to scratch wave offset adds 42d86b3f77b AMDGPU: Remove old intrinsic uses adds 7e11c73f634 Fix PR33028 adds 011a826e4f7 CodeGen: Power: Add lowering for shifts of v1i128. adds a0540d34689 AMDGPU: Start defining a calling convention adds 4d47ad3d81b [InstCombine] move icmp bool canonicalizations to helper; NFC adds 8095d8250c0 [InstCombine] add test for missing icmp bool fold; NFC adds 9292b008db0 Attempt to pacify ASan and UBSan reports in CrashRecovery tests adds b5ad2b6b0b3 [InstCombine] handle icmp i1 X, C early to avoid creating a [...] adds 0817426586b Revert "[globalisel][tablegen] Import rules containing intr [...] adds 3937e4042ed [Statistics] Use Statistic::operator+= instead of adding an [...] adds 8c1d623c567 [InstCombine] add test for xor-of-icmps; NFC adds 25ccad8dbb0 CodeGen: BlockPlacement: Add Message strings to asserts. NFC adds ad0e6668a7f [Statistics] Add a method to atomically update a statistic [...] adds d7d7e7bc58f Update three tests I missed in r302979 and r302990 adds 695aa32d5ae [Target/X86] Remove unneeded return. NFCI. adds 343e535d9c3 [ThinLTO] Do not assert when adding a module with a differe [...] adds 2a303c70878 [BPI] Reduce the probability of unreachable edge to minimal [...] adds 78ca710b435 [X86] Adding tests for scalar bitcasts from vsetcc. NFC. adds c40271cb754 Fix buildbot failure after rL303327: [BPI] Reduce the proba [...] adds 33642100932 [lib/Object] - Minor API update for llvm::Decompressor. adds 2ee7806ef3e [X86] Replace slow LEA instructions in X86 adds bd4ed0be177 [lib/Object] - Fix build bot after r303331 "[lib/Object] - [...] adds 3b2e0fde75c [DWARF] - Simplify RelocVisitor implementation. adds 406aad85a90 [SCEV][NFC] Remove duplication of isLoopInvariant code adds b0970db834a [X86] Add explicit triple to test invocation adds 1b3695cbc0d Re-commit: [globalisel][tablegen] Import rules containing i [...] adds bf60d089f29 [X86][AVX512] Add 512-bit vector ctpop costs + tests adds db37cbc6f91 [GlobalISel][X86] G_ADD/G_SUB vector legalizer/selector support. adds be169add2e2 [MVT] add v1i1 MVT adds 5190dd7dddc [AMDGPU] SDWA operands should not intersect with potential MIs adds ec761ad75cb [JumpThreading] Dont RAUW condition incorrectly adds dcaf742ea29 Fix some minor issues in PDB parsing library. adds 71f289771fd [git-llvm] Don't attempt to propget files that don't exist [...] adds ae1c8533580 [LegacyPassManager] Remove TargetMachine constructors adds 7db2df6d969 [LSR] Call canonicalize after we generate a new Formula in [...] adds 816047d44c6 [IR] De-virtualize ~Value to save a vptr adds dcc06304afc [InstCombine] move test and use better checks; NFC adds 8762436dd01 Reduce gcc-7 warnings by fall-through comments. adds e6fac20360b [InstSimplify] Add test cases for missing fold (A & B) | ~( [...] adds f4044c1e683 Use existing helper. NFC. adds aade6b806c2 Revert r302938 "Add LiveRangeShrink pass to shrink live ran [...] adds f73a055bca2 LLVM_FALLTHROUGH instead of fall-through comment. adds 54d256ca564 Revert r303375 "LLVM_FALLTHROUGH instead of fall-through comment." adds 0c3c8c6175f [InstSimplify] Make m_Not work for xor -1, X adds 8767cef2225 [InstCombine] add helper to foldXorOfICmps(); NFCI adds d687f9863ae [ADT] Fix some Clang-tidy modernize-use-using warnings; oth [...] adds 32baeeab7fa [NewGVN] Replace predicate info leftovers. adds 7905731e096 [InstCombine] add more tests for xor-of-icmps; NFC adds 2a4f1171a73 [CodeView] Provide a common interface for type collections. adds 47b13b0b780 [llvm-pdbdump] Add the ability to merge PDBs. adds e24978b754d [CodeView] Raise the source to ID map out of the TypeStreamMerger. adds bde49e30815 Fix some build errors and warnings. adds ed2b8bd9f46 [NewGVN] Break infinite recursion in singleReachablePHIPath(). adds 9bfe6978d33 Fix another warning. adds e5313997b56 Fix typo adds c6f33b7e68d LiveIntervalAnalysis: Fix missing case in pruneSubRegValues() adds 943db674050 Fix crasher in CodeView test. adds 586584b84ad Revert "[ADT] Fix some Clang-tidy modernize-use-using warni [...] adds 4f44e8f7460 Fix a broken test. adds bd8c7210cda [NewGVN] Delete the old store when we find congruent to a load. adds ac2e7855196 [CodeView] Reduce memory usage in TypeSerializer. adds 95239b531cd Don't crash if someone tries to visit an empty type stream. adds 27f68cfeafa Revert "[CodeView] Provide a common interface for type coll [...] adds a269f90b327 Fix compilation failure. adds e1b5c7ac773 [APInt] Use b.negate() in place of b = -std::move(b). NFCI adds f7b3312470c [GlobalISel] IRTranslator: Translate ConstantStruct adds fc4cf8d86ea Fix vector pass-through value being unused in IRBuilder::Cr [...] adds e4e1c32fd73 [globalisel][tablegen] Demote OptForSize/OptForMinSize/ForC [...] adds 95bb5cd8a23 [X86][AVX512] Make i1 illegal in the CodeGen adds ede5ffa4d3a [AMDGPU][MC] Fixed bugs in export instruction adds 92e33060a26 [LoopPredication] NFC. Add an early exit if there is no gua [...] adds f7a732400a9 [LoopPredication] NFC. Extract CanExpand helper lambda adds 481df100e8d [LoopPredication] NFC. Extract LoopPredication::expandCheck helper adds 285ad946f75 [LoopPredication] NFC. Extract LoopICmp struct and parseLoo [...] adds 519ca370237 [AMDGPU][MC] Corrected disassembler to decode instructions [...] adds 47c969db7e0 [APInt] Add support for dividing or remainder by a uint64_t [...] adds e7d6bb2063c [InstSimplify] Fix 80 column violation. NFC adds 3ecd7e5faa5 [LoopIdiom] Refactor return value of isLegalStore [NFC] adds 8b927bbc596 [X86][FMA] Tests showing missed fmsubadd opportunities (PR30633) adds 556dc39f390 Fix typo in test adds 3770b2b8484 Rewrite llvm-lto's codegen() using ThinCodeGenerator::run() [...] adds 469e92814e2 ThinLTO: Verify bitcode before lauching the ThinLTOCodeGenerator. adds 54d0694b5b0 [NFC][loopIdiom] Clang format change rL303434 adds 435c118e779 [lit] Take the last error when executing pipelines. adds 04150ba0acc [DAGCombine] (addcarry 0, 0, X) -> (ext/trunc X) adds a55349e67c8 BasicAA: Uninserted instructions have no parent, and notDif [...] adds f3e0e877743 NewGVN: Get rid of most dominating leader check adds c81a193613e Last of the major pieces to NewGVN - yay! adds 9484675111b [InstCombine] Add tests to demonstrate the miscompile in PR33078. adds d32a382ebb8 Resubmit "[CodeView] Provide a common interface for type co [...] adds ef0829e2df9 [InstCombine] *Actually* commit the test showing the miscompile. adds 46742151c40 Fix line-endings. adds d17a1f59218 NewGVN: Print out the StoredValue of a StoreExpression adds 55d8857f8f3 NewGVN: Fix PR32838. This is a complicated bug involving tw [...] adds fc18e2f2363 Added missing break. adds 794ffc40e26 [safestack] Disable stack coloring by default. adds e5180ba874d Added LLVM_FALLTHROUGH to address gcc warning: this stateme [...] adds e6f2078382b Fix off-by-one bug in AttributeList::addAttributes index handling adds 60ecb7fde81 Verifier: Check wchar_size module flag. adds 708626d601f SimplifyLibCalls: Optimize wcslen adds b4067a08330 Revert "ThinLTO: Verify bitcode before lauching the ThinLTO [...] adds 82673ec6c62 Revert "Revert "ThinLTO: Verify bitcode before lauching the [...] adds 971abf15760 Cosmetic. Added braces to address gcc warning: suggest expl [...] adds 2d9c8197c83 [NewGVN] Get rid of an assertion. adds 204f8c0a241 [NewGVN] Create a StoreExpression instead of a VariableExpression. adds e60d79f9d72 Fix breakage after r303461 adds 836dd8e1f01 Add functionality to cvtres to parse all entries in res file. adds 0025fa12f87 llvm-symbolizer: Support multiple CUs in a single DWO file adds 7bfd7c00d76 Fix -Wunneeded-internal-declaration by removing constant ar [...] adds fb8d01efbec [docs] Small style nits. adds 40549e6094b Docs: Fix pluralization in CMake docs adds fcebfdfa41f Fix test typo. NFC adds ec718cbf104 COFF: migrate def parser from LLD to LLVM [1/2] adds 69f0d8825b7 COFF: Fix single StringRef return error adds 445f6b560d8 COFF: Fix another StringRef return error adds 143d7445b5d Add pthread_self function prototype and make it speculatable. adds a9ee0160e60 Revert "Add pthread_self function prototype and make it spe [...] adds 67c14497b15 [SCEV] Clarify behavior around max backedge taken count adds 98709341543 Revert "[SCEV] Clarify behavior around max backedge taken count" adds cd631cca059 [Docs] Fix LangRef links referred in GetElementPtr.rst adds 4d0494d6210 Summary adds a3d26507415 [GlobalISel][X86] Fix G_TRUNC instruction selection. Update [...] adds 68ac6769cc9 [InstCombine] add tests for potential (lshr(sext X), C) folds; NFC adds 4276950084b [InstCombine] Take in account the size in sext->lshr->trunc [...] adds 96cb8145e14 [NewGVN] Add a test for non most dominating leader. adds 5d18059ccfc [NewGVN] Actually check the NewGVN output. adds 5dcdd10cbc7 SmallPtrSetImpl/SmallPtrSet: Add a public value_type and key_type adds efa684722e2 NewGVN: Fix printing of simplified expression adds 06366afa19f NewGVN: Cleanup some repeated code using some templated helpers adds cc24c88dcf1 NewGVN: Fix PR 33116, the memoryphi version of bug 32838. adds eb118f29816 [KnownBits] Use isNegative/isNonNegative to shorten some code. NFC adds 63270bdd55d [SimplifyCFG] Prevent a few APInt copies on method calls th [...] adds 7184d2e1ad6 Add test case for subcarry optimization. adds ba7c7e397f6 Add a test case for large integer subtraction via subcarry. NFC adds 80b8691318d [InstCombine] Cleanup the interface for overflow checks adds c13111a6fda [X86] Add (ix bitcast(vsetcc)) test cases with illegal types. NFC. adds c83e065234b [SCEV] Clarify behavior around max backedge taken count adds 9031fd91990 libDebugInfo/DWARF: Apply relocations for debug_addr addres [...] adds 405d07a3a61 Regenerate expected result for test constant-combines.ll . NFC adds 9d3d9653489 Revert "Fix 24560: assembler does not share constant pool [...] adds 7ff1c268d62 Revert "[ARM] Clear the constant pool cache on explicit .lt [...] adds 3c94f1d059f [MIPS] Add support to match more patterns for DINS instruction adds 4e5148cbb42 Re-apply r286006: Fix 24560: assembler does not share cons [...] adds 11824fc3b43 Re-apply r302416: [ARM] Clear the constant pool cache on ex [...] adds 32e52f525ad Revert r303259 - [globalisel][tablegen] Import rules contai [...] adds 73576b57413 [LoopPredication] NFC. Move a nested struct declaration bef [...] adds 63e5aa71e04 [LoopPredication] NFC. Add extra debug output in case we fa [...] adds 0f6d52d9644 [mips] Support micromips attribute passed by front-end adds 95b4ca6d1b3 [AMDGPU] Fix incorrect register usage tracking in GCNUpwardTracker adds 15f641428cf [X86] Remove target feature info from mul-i256.ll test. NFC. adds 40b1e969f9c [DAG] Rework store merge to loop on load candidates. NFCI. adds f21b185054a Don't generate line&scope debug info for meta-instructions. adds b9e0915b58b [PartialInlining] Add internal options to enable partial in [...] adds 69edad79130 [AMDGPU] Narrow lshl from 64 to 32 bit if possible adds 5afff89c9e4 Revert "Don't generate line&scope debug info for meta-instr [...] adds 326f38ff729 [DataLayout] Add llvm_unreachable to the default of a neste [...] adds edce84feff3 [Hexagon] Fix definitions of vector predicate loads and stores adds f850fed8c85 Fix update VP metadata after inlining for instrumentation PGO adds 14a1dd11de0 Don't generate line&scope debug info for meta-instructions. adds 1f0271a22b7 Make TypeSerializer's StringMap use the same allocator. adds 0897ebf6585 Implement various flavors of type merging. adds 49f70ccea4b Infer relocation model from module flags in relocatable LTO link. adds 506a3c25980 InstructionSimplify: don't speculate about Constants changing. adds 766824e844e [CodeGen] Fix uninitialized variables exposed by r303084 adds 21282be93c3 Added LLVM_FALLTHROUGH to address gcc warning: this stateme [...] adds efb6b106477 [NewPM] Add a temporary cl::opt() to test NewGVN. adds d88c7f02ee5 [NewPM] Fix an innocent but silly typo. Reported by Craig Topper. adds 6135595faad [InstSimplify] Fix the indentation throughout the interface [...] adds 1fd5bb9c53a Support for taking the max of module flags when linking, us [...] adds 9e47896c082 libDebugInfo: Avoid independently parsing the same .dwo fil [...] adds ddfddd8ea50 FIX: Remove debugging assert left in previous commit adds b11f3d3884d Added LLVM_FALLTHROUGH to address gcc warning: this stateme [...] adds 83d2f07814e Added LLVM_FALLTHROUGH to address gcc warning: this stateme [...] adds fe8acda3017 TypeStreamMerger.h: Fix a \param in r303577. [-Wdocumentation] adds b3d3623b915 Cosmetic. Added braces to address gcc warning: suggest expl [...] adds a1986434f82 Update expected result for or-branch.ll . NFC adds 013125cca77 [AArch64] Fix PRR33100. adds 893c346e0c6 libDebugInfo: Support symbolizing using DWP files adds f93293ef42e [LV] Report multiple reasons for not vectorizing under allo [...] adds 5e9f2d0f5d2 [KnownBits] Use !hasConflict() in asserts in place of Zero [...] adds 2bcb4e0921e [GlobalISel][X86] G_LOAD/G_STORE vec256/512 support adds 4cdd2e6d64b [AArch64] Make instruction fusion more aggressive. adds 4abd85d7e59 [AMDGPU] SDWA: Add assembler support for GFX9 adds 6e240d9ba44 [RuntimeDyld, PowerPC] Fix relocation detection overflow adds 0dae0619be0 [JumpThreading] Safely replace uses of condition adds 07df6a5507c [RuntimeDyld, PowerPC] Fix check for external symbols when [...] adds de817123412 [mips] Change type of MipsSubtarget ctor arguments s/std::s [...] adds a250eeb04b0 [mips] Remove unused class field. NFC adds e7ff77144c0 Revert "Make TypeSerializer's StringMap use the same allocator." adds ddde6571389 [AMDGPU] Convert shl (add) into add (shl) adds a30e2b308bb [InstCombine] add icmp-xor tests to show vector neglect; NFC adds 90e7ab1a9dd [IR] Switch AttributeList to use an array for O(1) access adds 60e9cbcea70 [RuntimeDyld, PowerPC] Fix regression from r303637 adds 1010908cf7d Commit AttributeList change that was supposed to be part of [...] adds e065977c4b5 AMDGPU: Fold CI-specific complex SMRD patterns into existin [...] adds 7cc1d8ceffe [InstCombine] Use update_test_checks to regenerate the ctpo [...] adds 3ee62c69307 [InstCombine] allow icmp-xor folds for vectors (PR33138) adds a7f9ccef01b [InstCombine] auto-generate test checks; NFC adds 6ae2b02018d [InstSimplify] auto-generate test checks. NFC adds 9d053875b78 [PDB] Hash types up front when merging types instead of usi [...] adds e4958041583 Refactor DWARF hashing to use a .def file to avoid repetition adds 2d1ebed0995 Speculative build fix for non-Windows adds 91b8ce247b1 [DAG] Add canMergeStoresTo predicate checks. NFCI. adds 3a234a3d30d Fix DIEHash refactoring that dropped the DW_AT_name from the hash adds 476b551be3f [GSoC] Shell autocompletion for clang adds cc7d8d02bb9 [InstSimplify] Add more tests for undef inputs and multiply [...] adds 666fbb42592 [DAG] Add AddressSpace parameter to canMergeStoresTo. NFC. adds 87fb2325ec3 [CodeView] Eliminate redundant hashes and allocations. adds 50acddba236 [globalisel][tablegen] Add support for (set $dst, 1) and te [...] adds 4868a15090d [ARM] Temporarily disable globals promotion to constant poo [...] adds bcb35301da4 [AArch64][Falkor] Fix sched details for FMOV of WZR/XZR. adds 6ff1a723f73 [AMDGPU] Combine and (srl) into shl (bfe) adds d3994aa571c [AArch64][Falkor] Refine sched details for LSLfast/ASRfast. adds 8eeef874d9f Fix unused variable warnings after r303678 adds 6b7bd0e1f96 AMDGPU/SI: Move the local memory usage related checking aft [...] adds 59b664b197b merge-request.sh: Use https url for bugzilla adds 3a50f77d965 AsmPrinter: mark the beginning and the end of a function in [...] adds 6b1d32c6d75 [AMDGPU] Add INDIRECT_BASE_ADDR to R600_Reg32 class (PR33045) adds 78c24559f4d abtest: remove duplicate script adds b9f9e91ad00 Silence MSVC warning about unsigned integer overflow, which [...] adds 5be8b939f0d Sema: allow imaginary constants via GNU extension if UDL ov [...] adds 50bd917fab8 [MSP430] Add subtarget features for hardware multiplier. adds 30395dd6376 [git-llvm] Check if svn is installed. adds f226a627f97 Revert LLVM changes for "Sema: allow imaginary constants vi [...] adds fe601fedc17 Disable coverage opt-out for strong postdominator blocks. adds d2258c9d504 [LIR] Strengthen the check for recurrence variable in popcnt/CTLZ. adds 1f57bbafaf2 Fixes for tests for r303698 adds 1c4a508c0d6 [LIR] Use the newly `getRecurrenceVar()` helper. NFCI. adds 587030b4f5d [SCCP] Use the `hasAddressTaken()` version defined in `Function`. adds d448c732cb5 Don't do a full scan of the type stream before processing records. adds 69916e12b35 git-llvm script should add .exe on Windows. adds 52620719143 Revert "Fixes for tests for r303698" adds c49b255f5f9 Revert "Disable coverage opt-out for strong postdominator blocks." adds 819a5c68c5b Fix broken build. adds 6ff9a78ce54 [NewGVN] Update additionalUsers when we simplify to a value. adds e244393f0c9 [ARM] Add VLDx/VSTx sched defs for machine-schedulers. NFCI adds 69f6762057b Tweak r303678's test to try to fix llvm-clang-x86_64-expens [...] adds 3db1f7b1466 Revert r303720: Tweak r303678's test to try to fix llvm-cla [...] adds 9b5a22370ec [APInt] Use std::end to avoid mentioning the size of a loca [...] adds 6f7f2057b76 Explicitly set CPU and -slow-incdec to try to fix r303678's [...] adds c7e5bebc4af [SCEV] Do not fold dominated SCEVUnknown into AddRecExpr start adds 3bfeab444dc MachineCSE: Respect interblock physreg liveness adds d48d2155c2b [ARM] Remove ThumbTargetMachines. (NFC) adds 376361f40b2 Strip trailing whitespace. NFCI. adds b762e5bdbc6 Demangler: Fix constructor cv qualifier handling adds be57856ccae [SystemZ] Fix register modelling in expandLoadStackGuard() adds a551a28baa6 [LoopVectorizer] Let target prefer scalar addressing compu [...] adds 4338f398047 [Hexagon] Fix comment in HexagonPacketizer::runOnMachineFunction adds 70301d661ac Revert "[SCEV] Do not fold dominated SCEVUnknown into AddRe [...] adds 852ab094ff7 [InstCombine] add tests to document bitcast + bitwise-logic [...] adds 0a21c3c2992 Revert "AMDGPU: Fold CI-specific complex SMRD patterns into [...] adds 577a9934236 [InstCombine] add tests to show potential missing folds; NFC adds 6f94f45297b [MSP430] Fix PR33050: Don't use ADD16ri to lower FrameIndex. adds 9e8c6339d72 [LV] Update type in cost model for scalarization adds 772effdbda0 [AMDGPU] Prevent too large store merges in AMDGPU Subtarget [...] adds 01c176bc599 Add some tips on benchmarking. adds 59a0e24a58f Revert r291254: [AArch64] Reduce vector insert/extract cost [...] adds 76ae1252621 [ValueTracking] Add OptimizationRemarkEmitter to the other [...] adds e3a1116322b [ValueTracking] Convert most of the calls to computeKnownBi [...] adds f9152c247d9 [InstSimplify] Simplify uadd/sadd/umul/smul with overflow i [...] adds a1adbd39e93 Move machine-cse-physreg.mir to test/CodeGen/Thumb adds a9efa933622 [InstCombine] Use less bitwise operations to handle Instruc [...] adds 8abe5967888 P9: D-form vector load/store. Differential Revision: https: [...] adds 4c833e2dc2a Fix a couple of typos in memory intrinsic optimization outp [...] adds bd571bcd530 Revert "Attempt to pacify ASan and UBSan reports in CrashRe [...] adds f0fdd6463d5 Prevent UBSan report in CrashRecovery tests Reverted by mis [...] adds 35596590b53 [InstCombine] Merge together the SimplifyDemandedUseBits im [...] adds fee7735cee0 Revert "Revert "Attempt to pacify ASan and UBSan reports in [...] adds ccbb5fab9c6 [AArch64] Prevent nested ADDs from address calc in splitSto [...] adds 3e49889dd5f [DAG] Prevent crashes when merging constant stores with hig [...] adds f717c76e133 [InstCombine] move tests and use FileCheck; NFC adds 7941a520069 [InstCombine] add tests for icmp eq (mul X, C), (mul Y, C); NFC adds d47a423c5e0 [InstCombine] use m_APInt to allow icmp-mul-mul vector fold adds 1c3064b7b3a [coroutines] Allow rematerialization upto 4 times. Remove i [...] adds 6463296227d [CodeGen] Fix some Clang-tidy modernize-use-using and Inclu [...] adds 89995adbedc Print symbols from COFF import libraries. adds 133fa95ca70 [PowerPC] Fix a performance bug for PPC::XXSLDWI. adds 5d2828c3857 [coroutines] Relocate instructions that maybe spilled after [...] adds fa4cbdddf8e [coroutines] CoroFrame.cpp conform to coding convention (s/ [...] adds f6cb5093853 Fix coverage check for full post-dominator basic blocks. adds c62411d8594 [libFuzzer] Don't replace custom signal handlers. adds ebc10e3a256 Fixed nondeterminism in RuleMatcher::emit. adds 9f6280a85bd [LegacyPM] Make the 'addLoop' method accept a loop to add r [...] adds 5198106235c [SelectionDAG] Fix off by one in a compare in getOperationAction. adds ba01932aa0f [MVT] Fix the identation of the start of the MVT class. NFC adds 2dcd120478d [PM/Unswitch] Fix a bug in the domtree update logic for the [...] adds 4fde77f8f1a [PM] Teach the PGO instrumentation pasess to run GlobalDCE [...] adds 9693a6db681 [GVNSink] GVNSink pass adds bb5d60d7539 [GVNSink] Don't define operator<< in NDEBUG adds ac73777f2eb [GVNSink] Pacify MSVC adds f3cb5d6f7f2 [X86] Adding vpopcntd and vpopcntq instructions adds b88c01b1f75 [AMDGPU] add intrinsic for s_getpc adds 6680feb0be2 [InstCombine] make icmp-mul fold more efficient adds 81a4c4fa699 [InstCombine] Teach isAllocSiteRemovable to look through ad [...] adds 4133415c709 NewGVN: Fix PR 33119, PR 33129, due to regressed undef hand [...] adds ecda7b1922c [llvm-pdbdump] [yaml2pdb] always include object file name i [...] adds 03e10d94601 DebugInfo: Produce debug_{gnu_}pub{names,types} entries whe [...] adds a600582004e Delete an obsolete paragraph in LangRef. adds 674c13e4096 Fix SelectionDAGBuilder::getDbgValue to not expect DW_OP_de [...] adds abf58683895 [AArch64]: add 'a' inline asm operand modifier. adds b6e91f42927 Revert r303859, CodeGen/AMDGPU/llvm.amdgcn.s.getpc.ll fails [...] adds 8f60438bd2f PPC: Correct Size for GETtlsADDR adds f906b5846eb Update the documentation and CMake file for Visual Studio g [...] adds 3f3a4fb6ff3 [CodeView Type Merging] Avoid record deserialization when p [...] adds d4b1dbe69de [WebAssembly] MC: Include unnamed data when writing wasm files adds 63d6d7548d9 Fix a bug in MappedBlockStream. adds ae12b7b3603 [pdb] pad source file name buffer at the end instead of the [...] adds 7814846d2db Make BinaryStreamReader::readCString a bit faster. adds 522178bccc1 [CodeView Type Merging] Don't keep re-allocating temp serializer. adds 064b7cce39d [lld] Fix a bug where we continually re-follow type servers. adds 94c4904dc59 CodeGen: Rename DEBUG_TYPE to match passnames adds 325c68628ed Add constrained intrinsics for some libm-equivalent operations adds d1635911382 [GVN] Add phi-translate support in scalarpre. adds 32c2620ed25 [InstCombine] Add an InstCombine specific wrapper around is [...] adds e55679d86d9 Fix test to handle running on platforms which don't enable [...] adds 7a457502338 [PPC] Fix atomics lowering in DAG lowering. adds a8d58fe0eff DebugInfo: Simplify scopes+subprogram handling since the su [...] adds f061f6ca68a [CV Type Merging] Find nested type indices faster. adds b0019d8f2c4 LivePhysRegs: Skip reserved regs in computeLiveIns; NFCI adds dcf3dde852d LivePhysRegs: Fix addLiveOutsNoPristines() for return block [...] adds c58f672ed11 LTO: Do summary-based prevailing symbol resolution at --lto-O0. adds 5a4717aaf17 [PPC] Add text for assert. adds 3e612404a50 Remove unused member. adds 9cd70d945c3 Return a lit.Test.Result object from TestRunner's executeShTest() adds f9ebd6114be [Examples] Fix some Clang-tidy modernize-use-using and Incl [...] adds 03783217a0a [llvm-pdbdump] Don't crash when displaying padding. adds 88351cb66e4 LivePhysRegs: Follow-up to r303937 adds b62618205f0 Tidy up RelocVisitor.h. adds 88001205b7b [PM] Enable the new simple loop unswitch pass in the new pa [...] adds e4bd195e023 Test for r303938 adds bd265c3ec6f Revert "LivePhysRegs: Skip reserved regs in computeLiveIns; NFCI" adds 55d0a522c44 Revert "LivePhysRegs: Fix addLiveOutsNoPristines() for retu [...] adds a1a0cf0a7b7 [IR] Add an iterator and range accessor for the PHI nodes o [...] adds 515e5d475f3 [InstSimplify] Use m_ConstantInt matchers to short some code. NFC adds 8e55f77ab20 [InstSimplify] Use APInt::isMask isntead of manually implem [...] adds d6cdc20e21c Revert rL303923 since it broke the sanitizer bootstrap build bot. adds b0e29ac6a68 LivePhysRegs: Skip reserved regs in computeLiveIns; NFCI adds 96c95e627d6 Re-enable "[SCEV] Do not fold dominated SCEVUnknown into Ad [...] adds 0559b4fa45c Remove unnecessary double-assignment triggering -Wsequence-point. adds 073ffab1e02 [DWARF] - Make collectAddressRanges() return section index [...] adds e10b16c5df6 Export the required symbol from DynamicLibraryTests adds f1d70be65ee Fix signedness of constant. NFC. adds 1503fe43e0a Revert r303978 "[DWARF] - Make collectAddressRanges() retur [...] adds 88aeae664a5 Recommit r303978 "[DWARF] - Make collectAddressRanges() ret [...] adds 4e545dfae83 Revert "[DWARF] - Make collectAddressRanges() return sectio [...] adds ff777b7559a The fix for PR22004: X86AsmParser.cpp asserts: OperandStack [...] adds 21e2ad75c40 [ARM] Add tests for 6-M memcpy/memset code generation adds a0b8f33f3b5 nits in wide-integer-cmp.ll . NFC adds bafb2e66d85 [ARM] Fix lowering of misaligned memcpy/memset adds f6ed90efa16 [DAG] Move legal type checks in store merge to be checked o [...] adds 8f61a6eb1f6 [DAGCombiner] use narrow vector ops to eliminate concat/ext [...] adds f0ed1790a61 [AMDGPU] SDWA: add disassembler support for GFX9 adds bfcbf6ad002 LivePhysRegs: Fix addLiveOutsNoPristines() for return block [...] adds 843d71cda94 [DWARF] - Make collectAddressRanges() return section index [...] adds f696b320655 AMDGPU/GlobalISel: Mark 32-bit float constants as legal adds b66586857d0 DebugInfo: Don't include locations for debug-having code in [...] adds b6924f09223 Revert "Export the required symbol from DynamicLibraryTests" adds 4eca9e6cb96 Revert r304002 "[DWARF] - Make collectAddressRanges() retur [...] adds 5f10e290fc7 [AMDGPU][MC][GFX9] Corrected encoding of flat_scratch* for [...] adds 3c9e129f1ae [InstCombine] Pass the DominatorTree, AssumptionCache, and [...] adds 5ae6e909e04 PMB: Run the whole-program-devirt pass during LTO at --lto-O0. adds 06983057d0a DebugInfo: Do not emit empty CUs adds 4e6f8d0728b [InstSimplify] Use m_APInt instead of m_ConstantInt in ((V [...] adds e2ab18968ed [InstSimplify] Use commutable matchers to shorten some code adds b655a9ce9b4 [InstSimplify] Move a variable declaration to make simplify [...] adds b0d23233006 Fix the ManagedStatic list ordering when using DynamicLibra [...] adds a0f27f968ed Make helper functions static. NFC. adds 071c0d91bb9 Resubmit r303859 with test fixed. adds b3b19875497 allow_user_segv_handler was already removed adds d178d059f5e [Hexagon] Cleanup of unused function isCalleeSaveReg (NFC) adds 8fab6ef40d7 MachineVerifier: Remove unused set; NFC adds 7c75114e0e9 LivePhysRegs: Add default for removeRegsInMask(Clobbers); NFC adds 4902354d7a5 LivePhysRegs: Doxygen cleanup; NFC adds 5e26a026846 LivePhysRegs: Rework constructor + documentation; NFC adds 859371ccf99 [lib/LTO] Don't reinvent the code for switching linkage. adds bcefdfc495a [Mips] Placate GCC's -Wmisleading-indentation. NFCI. adds b3ad86b916f Fix test broken by r304020 adds d1d54529f3a [bpf] disallow global_addr+off folding adds 996f62f0e82 [InstSimplify] Push commuted op checks for and/or of icmp f [...] adds 4a5238d418e Bitcode: Remove some dead code. Spotted by Teresa. adds 83c5dbf2809 [llvm-pdbdump] pdb2yaml: add an -all option to dump everyth [...] adds abfdee4bbfe AArch64: Fix cmpxchg O0 expansion adds c6a4b1a1de4 BranchRelaxation: computeLiveIns() after creating new block adds c8237e4e744 [GVN] Recommit the patch "Add phi-translate support in scalarpre". adds a407cc079c5 [GlobalISel] Add a localizer pass for target to use adds 6a19144d2b9 [AArch64][GlobalISel] Add the Localizer pass for the O0 pipeline adds bf14f47c785 [Demangler] copy changes made in libcxxabi's r303718 to Ita [...] adds 0248ff99fa4 ScheduleDAGInstrs: Fix fixupKills() adds 65ac22c1e22 [SCEVExpander] Try harder to avoid introducing inttoptr adds 7b853c59069 AArch64/PEI: Do not add reserved regs to liveins adds bfb2ddf65c0 clang-format DomTree unittest adds ad7d2c0d6e6 Rearrange Dom unittest to accommodate multiple tests adds fda9bcb09b1 ScalarEvolution unit test: fix typo that breaks check-all adds 78cdf9846cc [PartialInlining] Replace delete with unique_ptr in compute [...] adds c835f01b1c6 [coroutines] Define getPassName() for coroutine passes adds f6f10854e20 [TableGen] Remove all the static vectors named TheActualPool. adds 8cbe21fcdd1 [DAGCombiner] use narrow load to avoid vector extract adds 4439d654fd0 [SCEV] Assume parameters coming from function calls contain IVs adds 8e1db259e86 [TableGen] Use the correct type for the first template for [...] adds 67886788e22 [TableGen] Prevent DagInit from leaking its Args and ArgNam [...] adds b5ac7008b18 Recommit "[DWARF] - Make collectAddressRanges() return sect [...] adds c60a982fd55 Cloning: Fix debug info cloning adds f1e232d9b0a DebugInfo: Add source code/build instructions for split-dwa [...] adds 3eda9f25f37 Added braces to address gcc warning: suggest explicit brace [...] adds 74cf5860aff Reverted r304083 as it seems there is a desire to address t [...] adds 3a87b521791 [X86] Fixing VPOPCNTDQ feature set lookup. adds 09d9f45186b [X86] Adding FoldGenRegForm helper field (for memory foldin [...] adds 0ccceac14cf [X86] Adding new LLVM TableGen backend that generates the X [...] adds 0dbb1537bcc [InstrProf] Use more ArrayRef/StringRef. adds 206b68cd0d1 [x86] auto-generate better checks; NFC adds fb26ad64d89 [TableGen][X86] getValueAsString returns a std::string not [...] adds 3443b3b2d81 [TableGen][X86] Replace a global std::vector with a regular [...] adds c10cab06836 [TableGen][X86] Remove unnecessary std::string creations. NFC adds 8595928974a [TableGen][X86] Add an llvm_unreachable to a switch so we g [...] adds 3d21edd8146 [TableGen][X86] Improve formatting of the fold table output [...] adds d60f6d272b7 [TableGen][X86] Mark a couple global tables as const. NFC adds 7193e15c386 [TableGen][X86] Use CHAR_BIT with sizeof instead of hardcod [...] adds d2258e404d1 [AArch64][Falkor] Fix some sched details. adds bb4561917a7 [AArch64][Falkor] Combine sched details files into one. NFC. adds 22bea2c1f61 DebugInfo: Omit an empty CU when a subprogram was moved int [...] adds a505cdf4636 Prune trailing whitespace. (To regenerate makefiles) adds 1e9ed47d147 [ItaniumDemangle] Fix a exponential string copying bug adds 1cd10499fc1 [TableGen][X86] Fix formatting I accidentally messed up in [...] adds 87801d8b92d [AVR] Remove SREG from CPI's Uses; authored by Florian Zeitz adds 9ad104d71d1 Support: adjust the default obj format for wasm adds ea7381b5bd8 Attempt to fix buildbots... adds 266f4ffb5da DebugInfo: Include .dwo file name when hashing multiple CUs [...] adds 800305e39ad Disabled implicit-fallthrough warnings for ConvertUTF.cpp. adds 02797965889 Revert "[X86] Adding new LLVM TableGen backend that generat [...] adds 5f67424f80f Resubmit "[X86] Adding new LLVM TableGen backend that gener [...] adds 1fa6eae52df Don't capture a temporary std::string in a StringRef. adds 138f19e1de1 Revert "DebugInfo: Include .dwo file name when hashing mult [...] adds c91ffc6f563 Revert "DebugInfo: Omit an empty CU when a subprogram was m [...] adds fb50bac10d0 Revert "[IfConversion] Keep the CFG updated incrementally i [...] adds d8c1a8e00db DebugInfo: Omit an empty CU when a subprogram was moved int [...] adds 2ef4cb9ee07 DebugInfo: Include .dwo file name when hashing multiple CUs [...] adds 0aa64f381a8 [ARM] GlobalISel: Support array parameters/arguments adds 2f498526c2e [PPC] Fix assertion failure during binary encoding with -mcpu=pwr9 adds 5a31d0a7463 [ARM] GlobalISel: Support array returns adds 1c5b81edd46 [trivial] fix a typo in comment, NFC adds a67ba2c9a13 [ARM] GlobalISel: Extract helper. NFCI. adds 404324ef9b1 [Nios2] Target registration adds 4ca30c7c760 Test commit: fix typos adds d31fe92b61f [SystemZ] Improve buildVector() in SystemZISelLowering.cpp. adds cf2a64aaaf0 [DAGCombiner] fix load narrowing transform to exclude loads [...] adds 10f535273f8 [ManagedStatic] Add a way to pass custom creators/deleters. adds 6d432cf813c [Timer] Move DefaultTimerGroup into a ManagedStatic. adds 107c8c925ef Try to work around MSVC being buggy. Attempt #1. adds 98be03e2e2a [Docs] Add VectorizationPlan to docs/Proposals. adds 3259254476a [X86] Don't fold away the memory operand of an xchg. adds 0666890a33f [wasm] Fix test after r304117. adds bcabbd57dcd Don't destroy ManagedStatics in a unit test. adds 613a9c723b0 [ManagedStatic] Make object_creator/object_deleter visible again. adds cebaae17187 [X86] Replace undef value in flaky test adds f3bd691d3ba [X86] Add tests for (ix bitcast (vxi1 and ...)). NFC. adds dbdee033c30 [GlobalIsel] Fix a warning with GCC 7 -Wpedantic. NFCI. adds e005fa57be0 [ManagedStatic] Avoid putting function pointers in template args. adds 70ac7747fab [TableGen] Introduce DagInit::getArgs that returns an Array [...] adds 04877f744d8 [TableGen] Use StringMap instead of DenseMap<StringRef> to [...] adds ef8c4cd6362 Revert r303763, results in asserts i.e. while building Ruby. adds c927ec6baf6 Reverted r303602, as it will be fixed in gtest. adds 72f550d1889 Added missing line continuation to HANDLE_DIEVALUE_SMALL an [...] adds 38012725da6 Added LLVM_FALLTHROUGH to address warning: this statement m [...] adds 328a635eb4e NewGVN: Fix PR33194, memory corruption by putting temporary [...] adds 0ef24304b86 NewGVN: Compute hash value of expression on demand and use [...] adds 21ff45022b5 Fix PR33031: correct the estimate of maximum offset for ins [...] adds db736ce4a13 [mips] Expansion of LI.S and LI.D Author: smaksimovic Revie [...] adds 94eec101b38 [MC] Fix constant pools with DenseMap sentinel values adds 903a50124a2 [SystemZ] Add missing assembler/disassembler tests adds 002ef9b8478 [SystemZ] Add hexadecimal floating-point instructions adds ccbe1071488 [SystemZ] Add decimal floating-point instructions adds e840b9f2442 [SCEV][NFC] Remove redundant params from isAvailableAtLoopEntry adds a31800bb047 This patch closes PR28513: an optimization of multiplicatio [...] adds 384602a9e40 [SelectionDAG] Set ISD::FPOWI to Expand by default adds 6781296ab73 [AMDGPU] Require waitcnt before barrier for all targets [...] adds 4b1845a38ac [CodeView] Rename ModuleDebugFragment -> DebugSubsection. adds f0c3d71794d [AMDGPU] Allow SDWA in instructions with immediates and SGPRs adds 5e57487f271 [SelectionDAG] Remove special case for ISD::FPOWI from the [...] adds 825457abaab [CodeView] Add more DebugSubsection implementations. adds 79654737d7d [Hexagon] Improve code generation for 32x32-bit multiplication adds 7aecbf8e991 [InstCombine] Add test cases to show missed opportunities t [...] adds 1f0488cec7a Adding parsing ability for .res file. adds e34d6c6de73 [Cloning] Take another pass at properly cloning debug info adds 4ef46c32766 ARM: Add missing flags to TBB_[JH]T pseudo instructions adds 26b413581c7 Revert "[Cloning] Take another pass at properly cloning deb [...] adds 34ca89b089d Added missing break. adds 26ba02bc314 Revert "This patch closes PR28513: an optimization of multi [...] adds 85938b9f71a [Object] Fix pessimizing move. adds 35a9f9117df [Object] Remove unused field + constructor. adds ed4243c350c [LV] Reapply r303763 with fix for PR33193 adds a7be02e4577 [llvm-config] Fix cflags test looking for "warning" adds c832920d4b9 [Localizer] Don't trick to be smart for the insertion point adds cbd4ff93102 [PartialInlining] Shrinkwrap allocas with live range contai [...] adds 837e2e977f4 MIR: remove explicit "noVRegs" property. adds 7d0dde023f8 TargetPassConfig: Keep a reference to an LLVMTargetMachine; NFC adds ea64a9b812c [CodeView] Move CodeView YAML code to ObjectYAML. adds cb10528d9ea Try to fix build. adds 3fd4db31a78 MIR: update test for noVRegs removal. adds 400ba832374 [AntiDepBreaker] Revert r299124 and add a test. adds 4b7a5ae0a4d This patch should fix various clang warnings and a use of t [...] adds cc67b03016e MachineInstr: Do not skip dead def operands when printing. adds 2c4c4094bc2 Fix bug on Big-Endian system, due to reference to vector ou [...] adds 5dc901370c7 [CodeView] Move CodeView symbol yaml logic to ObjectYAML. adds 2579df385ca Try to fix build again. adds 9d3bad0a9e9 Add latency info for Exynos interleaved Load/Store instructions. adds 45da6478a89 Fix misspelling adds 876e5a30fc9 [ObjectYAML] Clean up the CodeView headers a bit. adds 4fb2b268d9a Fix CodeView-related modules build failures post-r304248 adds 1d081e6497c [CodeGen] Fix some Clang-tidy modernize-use-using and Inclu [...] adds 5cc8b8253ed ARM: Do not add reserved registers to block livein lists; NFC adds 6ef5e10ad7e ARM: Fix cmpxchg O0 expansion adds ae8c4eb173d Added LLVM_FALLTHROUGH to address warning: this statement m [...] adds d65b57cf6b4 Mark a test as requiring a default triple adds 9c46696cd48 InstructionSimplify: Remove now-redundant reachability test [...] adds e99d769512f Fix test that wasn't update_test_check'd adds a76241a0a5e NewGVN: Fix PR 33185 by checking whether we need to recursi [...] adds e0a34d1987f Added LLVM_FALLTHROUGH to address warning: this statement m [...] adds 6fbb8ed97df X86FrameLowering: No need to mark FP as live-in everywhere adds 4e7dec89783 [CFLAA] Add missing break; note things are broken. adds 5fb116a9442 [coroutines] Call initializePass in coroutine pass constructors adds 7b436b03dad [ObjectYAML] Split CodeViewYAML into 3 pieces. adds fa336f863c7 [TableGen] Make one of RecordVal's constructors delegate to [...] adds 24c1e7771ad [TableGen] Implement non-const versions of Record::getValue [...] adds 1c7bf566f8b [PowerPC] Eliminate integer compare instructions - vol. 2 adds c9cbe0b424b [AVR] CPIRdK can only work with r16..r31; Authored by Dr. G [...] adds b40677abb70 [AVR] Fix a big in shift operator lowering; Authored by Dr. [...] adds 573099d4c3f [PowerPC] Eliminate integer compare instructions - vol. 3
No new revisions were added by this update.
Summary of changes: CMakeLists.txt | 7 + docs/Benchmarking.rst | 87 + docs/CMake.rst | 4 +- docs/GetElementPtr.rst | 12 +- docs/GettingStartedVS.rst | 4 + docs/LangRef.rst | 477 ++- docs/Proposals/VectorizationPlan.rst | 182 + docs/Vectorizers.rst | 15 +- docs/index.rst | 4 + .../BuildingAJIT/Chapter1/KaleidoscopeJIT.h | 6 +- .../BuildingAJIT/Chapter2/KaleidoscopeJIT.h | 10 +- .../BuildingAJIT/Chapter3/KaleidoscopeJIT.h | 9 +- .../BuildingAJIT/Chapter4/KaleidoscopeJIT.h | 13 +- .../BuildingAJIT/Chapter5/KaleidoscopeJIT.h | 14 +- .../BuildingAJIT/Chapter5/Server/server.cpp | 26 +- examples/Kaleidoscope/include/KaleidoscopeJIT.h | 9 +- include/llvm/ADT/APInt.h | 21 +- include/llvm/ADT/BitVector.h | 273 +- include/llvm/ADT/PostOrderIterator.h | 33 +- include/llvm/ADT/PriorityWorklist.h | 15 +- include/llvm/ADT/SCCIterator.h | 10 +- include/llvm/ADT/Sequence.h | 21 +- include/llvm/ADT/SetVector.h | 22 +- include/llvm/ADT/SmallBitVector.h | 13 + include/llvm/ADT/SmallPtrSet.h | 32 +- include/llvm/ADT/SmallVector.h | 45 +- include/llvm/ADT/SparseBitVector.h | 20 +- include/llvm/ADT/SparseMultiSet.h | 39 +- include/llvm/ADT/SparseSet.h | 22 +- include/llvm/ADT/Statistic.h | 12 + include/llvm/ADT/StringExtras.h | 22 +- include/llvm/ADT/StringMap.h | 88 +- include/llvm/ADT/StringRef.h | 20 +- include/llvm/ADT/StringSet.h | 17 +- include/llvm/ADT/TinyPtrVector.h | 14 +- include/llvm/ADT/Triple.h | 11 + include/llvm/ADT/UniqueVector.h | 15 +- include/llvm/Analysis/InstructionSimplify.h | 269 +- include/llvm/Analysis/LoopPass.h | 5 +- include/llvm/Analysis/MemorySSA.h | 113 +- include/llvm/Analysis/ProfileSummaryInfo.h | 15 + include/llvm/Analysis/ScalarEvolution.h | 31 +- include/llvm/Analysis/TargetLibraryInfo.h | 13 + include/llvm/Analysis/TargetTransformInfo.h | 7 + include/llvm/Analysis/TargetTransformInfoImpl.h | 2 + include/llvm/Analysis/ValueTracking.h | 40 +- include/llvm/CodeGen/AsmPrinter.h | 6 +- include/llvm/CodeGen/AtomicExpandUtils.h | 26 +- include/llvm/CodeGen/DIE.h | 90 +- include/llvm/CodeGen/FaultMaps.h | 35 +- include/llvm/CodeGen/GlobalISel/Localizer.h | 78 + include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h | 2 +- include/llvm/CodeGen/ISDOpcodes.h | 8 + include/llvm/CodeGen/LiveInterval.h | 86 +- include/llvm/CodeGen/LiveIntervalAnalysis.h | 45 +- include/llvm/CodeGen/LiveIntervalUnion.h | 14 +- include/llvm/CodeGen/LivePhysRegs.h | 116 +- include/llvm/CodeGen/LiveRangeEdit.h | 80 +- include/llvm/CodeGen/LiveStackAnalysis.h | 23 +- include/llvm/CodeGen/MIRYamlMapping.h | 2 - include/llvm/CodeGen/MachineBasicBlock.h | 121 +- include/llvm/CodeGen/MachineBlockFrequencyInfo.h | 17 +- include/llvm/CodeGen/MachineConstantPool.h | 17 +- include/llvm/CodeGen/MachineDominanceFrontier.h | 23 +- include/llvm/CodeGen/MachineDominators.h | 18 +- include/llvm/CodeGen/MachineFunction.h | 116 +- include/llvm/CodeGen/MachineFunctionInitializer.h | 6 +- include/llvm/CodeGen/MachineInstr.h | 110 +- include/llvm/CodeGen/MachineInstrBundleIterator.h | 72 +- include/llvm/CodeGen/MachineLoopInfo.h | 24 +- include/llvm/CodeGen/MachineModuleInfo.h | 36 +- include/llvm/CodeGen/MachineRegisterInfo.h | 5 + include/llvm/CodeGen/MachineValueType.h | 236 +- include/llvm/CodeGen/Passes.h | 51 +- include/llvm/CodeGen/ScheduleDAG.h | 6 +- include/llvm/CodeGen/ScheduleDAGInstrs.h | 5 +- include/llvm/CodeGen/SelectionDAG.h | 5 + include/llvm/CodeGen/SelectionDAGNodes.h | 26 + include/llvm/CodeGen/StackProtector.h | 12 +- include/llvm/CodeGen/TargetPassConfig.h | 6 +- include/llvm/CodeGen/ValueTypes.td | 220 +- include/llvm/DebugInfo/CodeView/CVRecord.h | 12 + include/llvm/DebugInfo/CodeView/CVTypeDumper.h | 61 - include/llvm/DebugInfo/CodeView/CVTypeVisitor.h | 64 +- include/llvm/DebugInfo/CodeView/CodeView.h | 36 +- .../{CVSymbolTypes.def => CodeViewSymbols.def} | 0 .../{TypeRecords.def => CodeViewTypes.def} | 0 .../DebugInfo/CodeView/DebugChecksumsSubsection.h | 98 + .../DebugInfo/CodeView/DebugFrameDataSubsection.h | 59 + .../CodeView/DebugInlineeLinesSubsection.h | 105 + .../llvm/DebugInfo/CodeView/DebugLinesSubsection.h | 143 + .../CodeView/DebugStringTableSubsection.h | 86 + include/llvm/DebugInfo/CodeView/DebugSubsection.h | 52 + .../DebugInfo/CodeView/DebugSubsectionRecord.h | 77 + .../DebugInfo/CodeView/DebugSubsectionVisitor.h | 66 + .../DebugInfo/CodeView/DebugSymbolsSubsection.h | 53 + .../DebugInfo/CodeView/DebugUnknownSubsection.h | 32 + .../DebugInfo/CodeView/LazyRandomTypeCollection.h | 103 + .../CodeView/ModuleDebugFileChecksumFragment.h | 95 - .../llvm/DebugInfo/CodeView/ModuleDebugFragment.h | 48 - .../DebugInfo/CodeView/ModuleDebugFragmentRecord.h | 80 - .../CodeView/ModuleDebugFragmentVisitor.h | 68 - .../CodeView/ModuleDebugInlineeLinesFragment.h | 106 - .../DebugInfo/CodeView/ModuleDebugLineFragment.h | 143 - .../CodeView/ModuleDebugUnknownFragment.h | 33 - .../DebugInfo/CodeView/RandomAccessTypeVisitor.h | 103 - include/llvm/DebugInfo/CodeView/StringTable.h | 75 - .../llvm/DebugInfo/CodeView/SymbolDeserializer.h | 13 +- include/llvm/DebugInfo/CodeView/SymbolDumper.h | 8 +- include/llvm/DebugInfo/CodeView/SymbolRecord.h | 2 - .../llvm/DebugInfo/CodeView/SymbolRecordMapping.h | 2 +- include/llvm/DebugInfo/CodeView/SymbolSerializer.h | 13 +- .../CodeView/SymbolVisitorCallbackPipeline.h | 2 +- .../DebugInfo/CodeView/SymbolVisitorCallbacks.h | 2 +- .../DebugInfo/CodeView/SymbolVisitorDelegate.h | 4 +- include/llvm/DebugInfo/CodeView/TypeCollection.h | 38 + include/llvm/DebugInfo/CodeView/TypeDatabase.h | 19 +- .../llvm/DebugInfo/CodeView/TypeDatabaseVisitor.h | 2 +- include/llvm/DebugInfo/CodeView/TypeDeserializer.h | 16 +- include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h | 20 +- include/llvm/DebugInfo/CodeView/TypeIndex.h | 13 + .../llvm/DebugInfo/CodeView/TypeIndexDiscovery.h | 33 + include/llvm/DebugInfo/CodeView/TypeRecord.h | 47 +- .../llvm/DebugInfo/CodeView/TypeRecordMapping.h | 2 +- include/llvm/DebugInfo/CodeView/TypeSerializer.h | 37 +- include/llvm/DebugInfo/CodeView/TypeStreamMerger.h | 74 +- include/llvm/DebugInfo/CodeView/TypeTableBuilder.h | 33 +- .../llvm/DebugInfo/CodeView/TypeTableCollection.h | 42 + .../CodeView/TypeVisitorCallbackPipeline.h | 2 +- .../llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h | 8 +- include/llvm/DebugInfo/DWARF/DWARFAttribute.h | 4 +- include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h | 5 +- include/llvm/DebugInfo/DWARF/DWARFContext.h | 26 +- include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h | 18 +- include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h | 8 +- include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h | 41 +- include/llvm/DebugInfo/DWARF/DWARFDie.h | 47 +- include/llvm/DebugInfo/DWARF/DWARFFormValue.h | 13 +- include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h | 16 +- include/llvm/DebugInfo/DWARF/DWARFRelocMap.h | 16 +- include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h | 5 +- include/llvm/DebugInfo/DWARF/DWARFUnit.h | 38 +- include/llvm/DebugInfo/MSF/MappedBlockStream.h | 16 +- .../PDB/Native/DbiModuleDescriptorBuilder.h | 23 +- include/llvm/DebugInfo/PDB/Native/DbiStream.h | 4 +- .../llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h | 1 + .../llvm/DebugInfo/PDB/Native/ModuleDebugStream.h | 7 +- include/llvm/DebugInfo/PDB/Native/PDBStringTable.h | 4 +- .../DebugInfo/PDB/Native/PDBStringTableBuilder.h | 10 +- .../DebugInfo/PDB/Native/PDBTypeServerHandler.h | 6 +- include/llvm/DebugInfo/PDB/Native/RawConstants.h | 1 - include/llvm/DebugInfo/PDB/Native/TpiHashing.h | 2 +- include/llvm/DebugInfo/PDB/Native/TpiStream.h | 8 + .../llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h | 2 +- include/llvm/IR/Argument.h | 3 +- include/llvm/IR/Attributes.h | 46 +- include/llvm/IR/BasicBlock.h | 51 +- include/llvm/IR/Constant.h | 2 - include/llvm/IR/Constants.h | 14 +- include/llvm/IR/DerivedUser.h | 41 + include/llvm/IR/Function.h | 2 +- include/llvm/IR/GlobalValue.h | 8 +- include/llvm/IR/GlobalVariable.h | 2 +- include/llvm/IR/InlineAsm.h | 3 +- include/llvm/IR/InstrTypes.h | 10 - include/llvm/IR/Instruction.def | 10 +- include/llvm/IR/Instruction.h | 14 +- include/llvm/IR/Instructions.h | 12 - include/llvm/IR/IntrinsicInst.h | 13 + include/llvm/IR/Intrinsics.td | 58 +- include/llvm/IR/IntrinsicsAMDGPU.td | 10 + include/llvm/IR/IntrinsicsPowerPC.td | 2 + include/llvm/IR/Metadata.h | 4 +- include/llvm/IR/Module.h | 5 +- include/llvm/IR/OperandTraits.h | 6 + include/llvm/IR/Operator.h | 7 +- include/llvm/IR/PatternMatch.h | 16 +- include/llvm/IR/User.h | 6 +- include/llvm/IR/Value.def | 17 +- include/llvm/IR/Value.h | 21 +- include/llvm/InitializePasses.h | 3 +- include/llvm/LTO/Config.h | 2 +- include/llvm/MC/ConstantPools.h | 3 +- include/llvm/Object/Binary.h | 8 +- include/llvm/Object/COFF.h | 1 + include/llvm/Object/COFFImportFile.h | 34 +- include/llvm/Object/COFFModuleDefinition.h | 49 + include/llvm/Object/Decompressor.h | 5 +- include/llvm/Object/ELF.h | 5 +- include/llvm/Object/ELFObjectFile.h | 12 + include/llvm/Object/MachO.h | 1 + include/llvm/Object/ObjectFile.h | 6 + include/llvm/Object/RelocVisitor.h | 560 +-- include/llvm/Object/Wasm.h | 1 + include/llvm/Object/WindowsResource.h | 140 + .../llvm/ObjectYAML/CodeViewYAMLDebugSections.h | 91 + include/llvm/ObjectYAML/CodeViewYAMLSymbols.h | 41 + include/llvm/ObjectYAML/CodeViewYAMLTypes.h | 48 + include/llvm/Option/OptTable.h | 8 + include/llvm/PassInfo.h | 21 +- include/llvm/PassSupport.h | 6 - include/llvm/ProfileData/InstrProf.h | 6 +- include/llvm/Support/BinaryStreamReader.h | 29 +- include/llvm/Support/BinaryStreamRef.h | 150 +- include/llvm/Support/BinaryStreamWriter.h | 15 +- include/llvm/Support/FileSystem.h | 2 +- include/llvm/Support/ManagedStatic.h | 20 +- include/llvm/Support/YAMLTraits.h | 38 + include/llvm/TableGen/Record.h | 63 +- include/llvm/Target/TargetLowering.h | 6 +- include/llvm/Transforms/IPO/FunctionImport.h | 3 +- include/llvm/Transforms/Scalar.h | 7 + include/llvm/Transforms/Scalar/GVN.h | 34 +- include/llvm/Transforms/Scalar/GVNExpression.h | 27 +- include/llvm/Transforms/Utils/CodeExtractor.h | 13 +- include/llvm/Transforms/Utils/Local.h | 12 + include/llvm/Transforms/Utils/SimplifyLibCalls.h | 4 + include/llvm/module.modulemap | 4 +- lib/Analysis/BasicAliasAnalysis.cpp | 5 +- lib/Analysis/BranchProbabilityInfo.cpp | 49 +- lib/Analysis/CFLGraph.h | 6 + lib/Analysis/CallGraphSCCPass.cpp | 6 +- lib/Analysis/ConstantFolding.cpp | 7 +- lib/Analysis/DependenceAnalysis.cpp | 33 +- lib/Analysis/InlineCost.cpp | 42 +- lib/Analysis/InstructionSimplify.cpp | 251 +- lib/Analysis/Lint.cpp | 8 +- lib/Analysis/LoopPass.cpp | 23 +- lib/Analysis/MemorySSA.cpp | 23 +- lib/Analysis/ProfileSummaryInfo.cpp | 2 +- lib/Analysis/ScalarEvolution.cpp | 167 +- lib/Analysis/ScalarEvolutionExpander.cpp | 20 +- lib/Analysis/TargetLibraryInfo.cpp | 16 + lib/Analysis/TargetTransformInfo.cpp | 4 + lib/Analysis/ValueTracking.cpp | 128 +- lib/AsmParser/LLParser.cpp | 8 +- lib/Bitcode/Reader/BitcodeReader.cpp | 4 +- lib/Bitcode/Reader/MetadataLoader.cpp | 2 +- lib/Bitcode/Reader/ValueList.cpp | 4 +- lib/Bitcode/Writer/BitcodeWriter.cpp | 34 +- lib/Bitcode/Writer/ValueEnumerator.cpp | 7 +- lib/CodeGen/AggressiveAntiDepBreaker.cpp | 7 +- lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 10 +- lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 66 +- lib/CodeGen/AsmPrinter/CodeViewDebug.h | 2 +- lib/CodeGen/AsmPrinter/DIEHash.cpp | 120 +- lib/CodeGen/AsmPrinter/DIEHash.h | 55 +- lib/CodeGen/AsmPrinter/DIEHashAttributes.def | 55 + .../AsmPrinter/DbgValueHistoryCalculator.cpp | 3 +- lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | 9 +- lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 8 +- lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 4 +- lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 125 +- lib/CodeGen/AsmPrinter/DwarfDebug.h | 9 +- lib/CodeGen/AtomicExpandPass.cpp | 22 +- lib/CodeGen/BasicTargetTransformInfo.cpp | 2 - lib/CodeGen/BranchCoalescing.cpp | 6 +- lib/CodeGen/BranchFolding.cpp | 11 +- lib/CodeGen/BranchFolding.h | 1 + lib/CodeGen/BranchRelaxation.cpp | 6 +- lib/CodeGen/CMakeLists.txt | 1 - lib/CodeGen/CodeGen.cpp | 1 - lib/CodeGen/CodeGenPrepare.cpp | 27 +- lib/CodeGen/CriticalAntiDepBreaker.cpp | 2 +- lib/CodeGen/DeadMachineInstructionElim.cpp | 4 +- lib/CodeGen/DetectDeadLanes.cpp | 3 +- lib/CodeGen/DwarfEHPrepare.cpp | 32 +- lib/CodeGen/EarlyIfConversion.cpp | 8 +- lib/CodeGen/ExpandISelPseudos.cpp | 2 +- lib/CodeGen/ExpandPostRAPseudos.cpp | 2 +- lib/CodeGen/FuncletLayout.cpp | 2 +- lib/CodeGen/GlobalISel/CMakeLists.txt | 5 +- lib/CodeGen/GlobalISel/GlobalISel.cpp | 1 + lib/CodeGen/GlobalISel/IRTranslator.cpp | 31 + lib/CodeGen/GlobalISel/InstructionSelector.cpp | 2 +- lib/CodeGen/GlobalISel/Localizer.cpp | 123 + lib/CodeGen/GlobalMerge.cpp | 5 +- lib/CodeGen/IfConversion.cpp | 33 +- lib/CodeGen/ImplicitNullChecks.cpp | 4 +- lib/CodeGen/InterleavedAccessPass.cpp | 21 +- lib/CodeGen/LLVMTargetMachine.cpp | 20 +- lib/CodeGen/LexicalScopes.cpp | 5 +- lib/CodeGen/LiveDebugValues.cpp | 4 +- lib/CodeGen/LiveDebugVariables.cpp | 6 +- lib/CodeGen/LiveIntervalAnalysis.cpp | 49 +- lib/CodeGen/LivePhysRegs.cpp | 89 +- lib/CodeGen/LiveRangeShrink.cpp | 211 -- lib/CodeGen/LiveStackAnalysis.cpp | 4 +- lib/CodeGen/LocalStackSlotAllocation.cpp | 4 +- lib/CodeGen/LowerEmuTLS.cpp | 24 +- lib/CodeGen/MIRParser/MIRParser.cpp | 2 - lib/CodeGen/MIRPrinter.cpp | 2 - lib/CodeGen/MachineBlockFrequencyInfo.cpp | 6 +- lib/CodeGen/MachineBlockPlacement.cpp | 49 +- lib/CodeGen/MachineCSE.cpp | 12 +- lib/CodeGen/MachineCombiner.cpp | 4 +- lib/CodeGen/MachineCopyPropagation.cpp | 4 +- lib/CodeGen/MachineInstr.cpp | 86 +- lib/CodeGen/MachineLICM.cpp | 10 +- lib/CodeGen/MachineModuleInfo.cpp | 69 +- lib/CodeGen/MachineOutliner.cpp | 2 +- lib/CodeGen/MachinePipeliner.cpp | 4 +- lib/CodeGen/MachineScheduler.cpp | 14 +- lib/CodeGen/MachineSink.cpp | 8 +- lib/CodeGen/MachineTraceMetrics.cpp | 8 +- lib/CodeGen/MachineVerifier.cpp | 7 +- lib/CodeGen/OptimizePHIs.cpp | 4 +- lib/CodeGen/PHIElimination.cpp | 4 +- lib/CodeGen/PostRASchedulerList.cpp | 4 +- lib/CodeGen/ProcessImplicitDefs.cpp | 6 +- lib/CodeGen/PrologEpilogInserter.cpp | 47 +- lib/CodeGen/RegAllocGreedy.cpp | 11 +- lib/CodeGen/RegisterCoalescer.cpp | 8 +- lib/CodeGen/RenameIndependentSubregs.cpp | 4 +- lib/CodeGen/SafeStack.cpp | 24 +- lib/CodeGen/SafeStackColoring.cpp | 3 +- lib/CodeGen/ScalarizeMaskedMemIntrin.cpp | 8 +- lib/CodeGen/ScheduleDAGInstrs.cpp | 206 +- lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 639 ++-- lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 64 +- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 130 +- lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 90 +- lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 2 +- lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 55 +- lib/CodeGen/SelectionDAG/StatepointLowering.cpp | 4 +- lib/CodeGen/SelectionDAG/TargetLowering.cpp | 34 +- lib/CodeGen/ShadowStackGCLowering.cpp | 6 +- lib/CodeGen/ShrinkWrap.cpp | 7 +- lib/CodeGen/SjLjEHPrepare.cpp | 2 +- lib/CodeGen/SlotIndexes.cpp | 2 +- lib/CodeGen/SpillPlacement.cpp | 10 +- lib/CodeGen/StackColoring.cpp | 16 +- lib/CodeGen/StackProtector.cpp | 13 +- lib/CodeGen/StackSlotColoring.cpp | 6 +- lib/CodeGen/TailDuplication.cpp | 3 +- lib/CodeGen/TailDuplicator.cpp | 4 +- lib/CodeGen/TargetLoweringBase.cpp | 3 +- lib/CodeGen/TargetPassConfig.cpp | 55 +- lib/CodeGen/TargetRegisterInfo.cpp | 3 +- lib/CodeGen/TwoAddressInstructionPass.cpp | 6 +- lib/CodeGen/WinEHPrepare.cpp | 10 +- lib/DebugInfo/CodeView/CMakeLists.txt | 24 +- lib/DebugInfo/CodeView/CVSymbolVisitor.cpp | 2 +- lib/DebugInfo/CodeView/CVTypeDumper.cpp | 77 - lib/DebugInfo/CodeView/CVTypeVisitor.cpp | 245 +- .../CodeView/DebugChecksumsSubsection.cpp | 108 + .../CodeView/DebugFrameDataSubsection.cpp | 44 + .../CodeView/DebugInlineeLinesSubsection.cpp | 123 + lib/DebugInfo/CodeView/DebugLinesSubsection.cpp | 159 + .../CodeView/DebugStringTableSubsection.cpp | 78 + lib/DebugInfo/CodeView/DebugSubsection.cpp | 16 + lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp | 81 + lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp | 52 + lib/DebugInfo/CodeView/DebugSymbolsSubsection.cpp | 34 + lib/DebugInfo/CodeView/EnumTables.cpp | 32 +- .../CodeView/LazyRandomTypeCollection.cpp | 229 ++ .../CodeView/ModuleDebugFileChecksumFragment.cpp | 107 - lib/DebugInfo/CodeView/ModuleDebugFragment.cpp | 16 - .../CodeView/ModuleDebugFragmentRecord.cpp | 84 - .../CodeView/ModuleDebugFragmentVisitor.cpp | 52 - .../CodeView/ModuleDebugInlineeLinesFragment.cpp | 123 - lib/DebugInfo/CodeView/ModuleDebugLineFragment.cpp | 161 - lib/DebugInfo/CodeView/RandomAccessTypeVisitor.cpp | 91 - lib/DebugInfo/CodeView/StringTable.cpp | 71 - lib/DebugInfo/CodeView/SymbolDumper.cpp | 21 +- lib/DebugInfo/CodeView/TypeDatabase.cpp | 75 +- lib/DebugInfo/CodeView/TypeDumpVisitor.cpp | 20 +- lib/DebugInfo/CodeView/TypeIndex.cpp | 27 + lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp | 371 ++ lib/DebugInfo/CodeView/TypeSerializer.cpp | 209 +- lib/DebugInfo/CodeView/TypeStreamMerger.cpp | 439 +-- lib/DebugInfo/CodeView/TypeTableCollection.cpp | 82 + lib/DebugInfo/DWARF/DWARFContext.cpp | 198 +- lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp | 8 +- lib/DebugInfo/DWARF/DWARFDie.cpp | 13 +- lib/DebugInfo/DWARF/DWARFFormValue.cpp | 4 +- lib/DebugInfo/DWARF/DWARFUnit.cpp | 54 +- lib/DebugInfo/MSF/MappedBlockStream.cpp | 32 +- .../PDB/Native/DbiModuleDescriptorBuilder.cpp | 18 +- lib/DebugInfo/PDB/Native/DbiStream.cpp | 8 - lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp | 25 +- lib/DebugInfo/PDB/Native/InfoStream.cpp | 1 + lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp | 1 + lib/DebugInfo/PDB/Native/PDBTypeServerHandler.cpp | 21 +- lib/DebugInfo/PDB/Native/TpiStream.cpp | 10 +- lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp | 2 +- lib/Demangle/ItaniumDemangle.cpp | 56 +- lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 10 +- lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 37 +- lib/Fuzzer/FuzzerUtilPosix.cpp | 17 +- lib/Fuzzer/test/fuzzer-segv.test | 2 + lib/IR/AttributeImpl.h | 47 +- lib/IR/Attributes.cpp | 398 +- lib/IR/AutoUpgrade.cpp | 1 + lib/IR/BasicBlock.cpp | 16 +- lib/IR/Constants.cpp | 15 +- lib/IR/ConstantsContext.h | 20 - lib/IR/DataLayout.cpp | 2 +- lib/IR/DebugLoc.cpp | 2 +- lib/IR/Function.cpp | 2 - lib/IR/IRBuilder.cpp | 5 +- lib/IR/InlineAsm.cpp | 4 - lib/IR/Instruction.cpp | 2 - lib/IR/Instructions.cpp | 33 +- lib/IR/IntrinsicInst.cpp | 26 +- lib/IR/LLVMContextImpl.cpp | 21 - lib/IR/Module.cpp | 4 +- lib/IR/PassRegistry.cpp | 2 - lib/IR/User.cpp | 10 - lib/IR/Value.cpp | 29 +- lib/IR/ValueTypes.cpp | 2 + lib/IR/Verifier.cpp | 46 +- lib/LTO/LTO.cpp | 44 +- lib/LTO/LTOBackend.cpp | 21 +- lib/LTO/ThinLTOCodeGenerator.cpp | 72 +- lib/Linker/IRMover.cpp | 43 +- lib/MC/MCCodeView.cpp | 8 +- lib/MC/WasmObjectWriter.cpp | 34 +- lib/Object/Binary.cpp | 4 +- lib/Object/CMakeLists.txt | 3 + lib/Object/COFFImportFile.cpp | 527 +++ lib/Object/COFFModuleDefinition.cpp | 319 ++ lib/Object/COFFObjectFile.cpp | 4 + lib/Object/Decompressor.cpp | 5 - lib/Object/MachOObjectFile.cpp | 4 + lib/Object/WasmObjectFile.cpp | 4 + lib/Object/WindowsResource.cpp | 222 ++ lib/ObjectYAML/CMakeLists.txt | 3 + lib/ObjectYAML/CodeViewYAMLDebugSections.cpp | 127 + lib/ObjectYAML/CodeViewYAMLSymbols.cpp | 496 +++ lib/ObjectYAML/CodeViewYAMLTypes.cpp | 712 ++++ lib/ObjectYAML/LLVMBuild.txt | 2 +- lib/Option/OptTable.cpp | 14 + lib/Passes/PassBuilder.cpp | 34 +- lib/ProfileData/InstrProf.cpp | 16 +- lib/Support/APFloat.cpp | 2 + lib/Support/APInt.cpp | 257 +- lib/Support/BinaryStreamReader.cpp | 57 +- lib/Support/BinaryStreamRef.cpp | 137 + lib/Support/BinaryStreamWriter.cpp | 11 +- lib/Support/CMakeLists.txt | 1 + lib/Support/ConvertUTF.cpp | 31 + lib/Support/CrashRecoveryContext.cpp | 130 +- lib/Support/DebugCounter.cpp | 2 + lib/Support/DynamicLibrary.cpp | 11 +- lib/Support/FormattedStream.cpp | 1 + lib/Support/GraphWriter.cpp | 1 + lib/Support/Host.cpp | 1 + lib/Support/Path.cpp | 1 + lib/Support/Timer.cpp | 13 +- lib/Support/Triple.cpp | 35 +- lib/Support/Unix/Path.inc | 30 +- lib/Support/YAMLParser.cpp | 4 + lib/TableGen/Record.cpp | 71 +- lib/Target/AArch64/AArch64AsmPrinter.cpp | 5 +- lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp | 119 +- lib/Target/AArch64/AArch64FrameLowering.cpp | 49 +- lib/Target/AArch64/AArch64ISelLowering.cpp | 375 +- lib/Target/AArch64/AArch64ISelLowering.h | 1 + lib/Target/AArch64/AArch64InstrInfo.cpp | 127 +- lib/Target/AArch64/AArch64InstrInfo.h | 2 +- lib/Target/AArch64/AArch64InstrInfo.td | 12 +- lib/Target/AArch64/AArch64MacroFusion.cpp | 13 + lib/Target/AArch64/AArch64SchedFalkor.td | 86 +- lib/Target/AArch64/AArch64SchedFalkorDetails.td | 1109 ++++-- lib/Target/AArch64/AArch64SchedFalkorWriteRes.td | 403 -- lib/Target/AArch64/AArch64SchedM1.td | 340 +- lib/Target/AArch64/AArch64Subtarget.cpp | 6 +- lib/Target/AArch64/AArch64Subtarget.h | 6 +- lib/Target/AArch64/AArch64TargetMachine.cpp | 29 +- lib/Target/AArch64/AArch64TargetTransformInfo.cpp | 25 + lib/Target/AArch64/AArch64TargetTransformInfo.h | 3 + lib/Target/AMDGPU/AMDGPU.h | 20 +- lib/Target/AMDGPU/AMDGPU.td | 20 +- lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp | 15 +- lib/Target/AMDGPU/AMDGPUCallLowering.h | 3 +- lib/Target/AMDGPU/AMDGPUCallingConv.td | 50 +- lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp | 24 +- lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | 142 +- lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 204 +- lib/Target/AMDGPU/AMDGPUISelLowering.h | 8 +- lib/Target/AMDGPU/AMDGPUInstrInfo.td | 2 +- lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 2 + lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp | 21 +- lib/Target/AMDGPU/AMDGPUMCInstLower.cpp | 8 +- lib/Target/AMDGPU/AMDGPUMachineFunction.cpp | 17 +- lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp | 242 +- lib/Target/AMDGPU/AMDGPURegisterInfo.cpp | 45 +- lib/Target/AMDGPU/AMDGPURegisterInfo.h | 3 - lib/Target/AMDGPU/AMDGPUSubtarget.h | 14 +- lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | 33 +- lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | 108 +- lib/Target/AMDGPU/BUFInstructions.td | 4 +- .../AMDGPU/Disassembler/AMDGPUDisassembler.cpp | 107 +- .../AMDGPU/Disassembler/AMDGPUDisassembler.h | 7 + lib/Target/AMDGPU/GCNIterativeScheduler.cpp | 2 + lib/Target/AMDGPU/GCNMinRegStrategy.cpp | 2 + lib/Target/AMDGPU/GCNRegPressure.cpp | 146 +- lib/Target/AMDGPU/GCNRegPressure.h | 2 - .../AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h | 12 + lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp | 46 + lib/Target/AMDGPU/R600ClauseMergePass.cpp | 6 +- lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp | 6 +- lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp | 6 +- lib/Target/AMDGPU/R600ISelLowering.cpp | 8 + lib/Target/AMDGPU/R600ISelLowering.h | 2 + lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp | 6 +- lib/Target/AMDGPU/R600Packetizer.cpp | 6 +- lib/Target/AMDGPU/R600RegisterInfo.cpp | 12 + lib/Target/AMDGPU/R600RegisterInfo.h | 2 + lib/Target/AMDGPU/R600RegisterInfo.td | 2 +- lib/Target/AMDGPU/SIDefines.h | 19 +- lib/Target/AMDGPU/SIFoldOperands.cpp | 7 +- lib/Target/AMDGPU/SIFrameLowering.cpp | 20 +- lib/Target/AMDGPU/SIFrameLowering.h | 2 + lib/Target/AMDGPU/SIISelLowering.cpp | 229 +- lib/Target/AMDGPU/SIISelLowering.h | 13 +- lib/Target/AMDGPU/SIInstrFormats.td | 16 +- lib/Target/AMDGPU/SIInstrInfo.cpp | 18 +- lib/Target/AMDGPU/SIInstrInfo.td | 180 +- lib/Target/AMDGPU/SILoadStoreOptimizer.cpp | 8 +- lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | 19 +- lib/Target/AMDGPU/SIMachineFunctionInfo.h | 5 +- lib/Target/AMDGPU/SIPeepholeSDWA.cpp | 88 +- lib/Target/AMDGPU/SIRegisterInfo.cpp | 146 +- lib/Target/AMDGPU/SIRegisterInfo.h | 14 + lib/Target/AMDGPU/SOPInstructions.td | 22 +- lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | 24 +- lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h | 5 +- lib/Target/AMDGPU/VOP1Instructions.td | 33 +- lib/Target/AMDGPU/VOP2Instructions.td | 70 +- lib/Target/AMDGPU/VOP3Instructions.td | 29 +- lib/Target/AMDGPU/VOPCInstructions.td | 37 + lib/Target/AMDGPU/VOPInstructions.td | 114 +- lib/Target/ARM/ARMCallLowering.cpp | 111 +- lib/Target/ARM/ARMCallLowering.h | 5 +- lib/Target/ARM/ARMExpandPseudoInsts.cpp | 132 +- lib/Target/ARM/ARMFrameLowering.cpp | 5 +- lib/Target/ARM/ARMISelLowering.cpp | 12 +- lib/Target/ARM/ARMISelLowering.h | 2 +- lib/Target/ARM/ARMInstrInfo.td | 4 +- lib/Target/ARM/ARMInstrNEON.td | 496 +-- lib/Target/ARM/ARMInstrThumb.td | 5 +- lib/Target/ARM/ARMInstrThumb2.td | 5 +- lib/Target/ARM/ARMInstructionSelector.cpp | 15 - lib/Target/ARM/ARMSchedule.td | 11 + lib/Target/ARM/ARMScheduleA9.td | 9 + lib/Target/ARM/ARMScheduleR52.td | 103 +- lib/Target/ARM/ARMScheduleSwift.td | 10 + lib/Target/ARM/ARMTargetMachine.cpp | 71 +- lib/Target/ARM/ARMTargetMachine.h | 62 +- lib/Target/ARM/ARMTargetObjectFile.cpp | 4 +- lib/Target/ARM/Thumb1FrameLowering.cpp | 22 +- lib/Target/AVR/AVRISelLowering.cpp | 4 +- lib/Target/AVR/AVRInstrInfo.td | 3 +- lib/Target/AVR/AVRTargetMachine.cpp | 4 +- lib/Target/BPF/BPFISelLowering.cpp | 9 +- lib/Target/BPF/BPFISelLowering.h | 4 + lib/Target/BPF/BPFTargetMachine.cpp | 4 +- lib/Target/Hexagon/HexagonFrameLowering.cpp | 2 +- lib/Target/Hexagon/HexagonISelDAGToDAG.cpp | 189 +- lib/Target/Hexagon/HexagonISelLowering.cpp | 8 +- lib/Target/Hexagon/HexagonInstrInfo.cpp | 4 +- lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp | 2 +- lib/Target/Hexagon/HexagonPatterns.td | 59 +- lib/Target/Hexagon/HexagonPseudo.td | 39 +- lib/Target/Hexagon/HexagonRegisterInfo.cpp | 5 - lib/Target/Hexagon/HexagonRegisterInfo.h | 1 - lib/Target/Hexagon/HexagonTargetMachine.cpp | 6 +- lib/Target/Hexagon/HexagonVLIWPacketizer.cpp | 4 +- lib/Target/LLVMBuild.txt | 1 + lib/Target/Lanai/LanaiTargetMachine.cpp | 4 +- lib/Target/MSP430/MSP430.td | 14 + lib/Target/MSP430/MSP430ISelDAGToDAG.cpp | 4 +- lib/Target/MSP430/MSP430ISelLowering.cpp | 27 +- lib/Target/MSP430/MSP430InstrInfo.td | 5 + lib/Target/MSP430/MSP430RegisterInfo.cpp | 2 +- lib/Target/MSP430/MSP430Subtarget.cpp | 27 +- lib/Target/MSP430/MSP430Subtarget.h | 11 + lib/Target/MSP430/MSP430TargetMachine.cpp | 4 +- lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 387 +- lib/Target/Mips/Mips.h | 12 +- lib/Target/Mips/Mips16FrameLowering.cpp | 24 +- lib/Target/Mips/Mips16HardFloat.cpp | 17 +- lib/Target/Mips/MipsDelaySlotFiller.cpp | 14 +- lib/Target/Mips/MipsISelLowering.cpp | 88 +- lib/Target/Mips/MipsInstrFPU.td | 23 + lib/Target/Mips/MipsLongBranch.cpp | 16 +- lib/Target/Mips/MipsModuleISelDAGToDAG.cpp | 18 +- lib/Target/Mips/MipsOptimizePICCall.cpp | 6 +- lib/Target/Mips/MipsOs16.cpp | 4 +- lib/Target/Mips/MipsRegisterInfo.td | 27 + lib/Target/Mips/MipsSubtarget.cpp | 7 +- lib/Target/Mips/MipsSubtarget.h | 7 +- lib/Target/Mips/MipsTargetMachine.cpp | 28 +- lib/Target/NVPTX/NVPTXTargetMachine.cpp | 4 +- lib/Target/Nios2/CMakeLists.txt | 18 + lib/Target/Nios2/LLVMBuild.txt | 61 + lib/Target/Nios2/MCTargetDesc/CMakeLists.txt | 2 + lib/Target/Nios2/MCTargetDesc/LLVMBuild.txt | 25 + .../Nios2/MCTargetDesc/Nios2MCTargetDesc.cpp | 25 + lib/Target/Nios2/MCTargetDesc/Nios2MCTargetDesc.h | 34 + lib/Target/Nios2/Nios2.h | 25 + lib/Target/Nios2/Nios2.td | 29 + lib/Target/Nios2/Nios2InstrFormats.td | 117 + lib/Target/Nios2/Nios2InstrInfo.td | 50 + lib/Target/Nios2/Nios2RegisterInfo.td | 60 + lib/Target/Nios2/Nios2TargetMachine.cpp | 46 + lib/Target/Nios2/Nios2TargetMachine.h | 30 + lib/Target/Nios2/TargetInfo/CMakeLists.txt | 1 + lib/Target/Nios2/TargetInfo/LLVMBuild.txt | 23 + lib/Target/Nios2/TargetInfo/Nios2TargetInfo.cpp | 24 + lib/Target/PowerPC/PPCExpandISEL.cpp | 2 +- lib/Target/PowerPC/PPCFrameLowering.cpp | 23 +- lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 298 +- lib/Target/PowerPC/PPCISelLowering.cpp | 153 +- lib/Target/PowerPC/PPCISelLowering.h | 7 +- lib/Target/PowerPC/PPCInstr64Bit.td | 20 +- lib/Target/PowerPC/PPCInstrAltivec.td | 8 + lib/Target/PowerPC/PPCInstrInfo.cpp | 69 +- lib/Target/PowerPC/PPCInstrInfo.h | 1 + lib/Target/PowerPC/PPCInstrInfo.td | 14 +- lib/Target/PowerPC/PPCInstrVSX.td | 76 +- lib/Target/PowerPC/PPCTargetMachine.cpp | 6 +- lib/Target/RISCV/RISCVTargetMachine.cpp | 2 +- lib/Target/Sparc/DelaySlotFiller.cpp | 2 +- lib/Target/Sparc/LeonFeatures.td | 0 lib/Target/Sparc/LeonPasses.cpp | 17 +- lib/Target/Sparc/LeonPasses.h | 11 +- lib/Target/Sparc/Sparc.h | 2 +- lib/Target/Sparc/SparcSchedule.td | 0 lib/Target/Sparc/SparcTargetMachine.cpp | 18 +- lib/Target/SystemZ/SystemZ.td | 2 + lib/Target/SystemZ/SystemZExpandPseudo.cpp | 2 +- lib/Target/SystemZ/SystemZFeatures.td | 14 +- lib/Target/SystemZ/SystemZISelLowering.cpp | 60 +- lib/Target/SystemZ/SystemZInstrDFP.td | 231 ++ lib/Target/SystemZ/SystemZInstrFP.td | 19 +- lib/Target/SystemZ/SystemZInstrFormats.td | 97 +- lib/Target/SystemZ/SystemZInstrHFP.td | 240 ++ lib/Target/SystemZ/SystemZInstrInfo.cpp | 30 +- lib/Target/SystemZ/SystemZScheduleZ13.td | 232 ++ lib/Target/SystemZ/SystemZScheduleZ196.td | 219 ++ lib/Target/SystemZ/SystemZScheduleZEC12.td | 225 ++ lib/Target/SystemZ/SystemZSubtarget.cpp | 2 + lib/Target/SystemZ/SystemZSubtarget.h | 8 + lib/Target/SystemZ/SystemZTargetMachine.cpp | 4 +- lib/Target/SystemZ/SystemZTargetTransformInfo.cpp | 34 +- lib/Target/SystemZ/SystemZTargetTransformInfo.h | 1 + lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | 4 +- lib/Target/WebAssembly/WebAssemblyRegColoring.cpp | 3 +- .../WebAssembly/WebAssemblyTargetMachine.cpp | 6 +- lib/Target/WebAssembly/known_gcc_test_failures.txt | 3 - lib/Target/X86/AsmParser/X86AsmParser.cpp | 5 +- lib/Target/X86/CMakeLists.txt | 1 + lib/Target/X86/X86.td | 3 + lib/Target/X86/X86CallingConv.td | 42 +- lib/Target/X86/X86FastISel.cpp | 7 - lib/Target/X86/X86FloatingPoint.cpp | 4 +- lib/Target/X86/X86FrameLowering.cpp | 9 +- lib/Target/X86/X86ISelLowering.cpp | 171 +- lib/Target/X86/X86InstrAVX512.td | 284 +- lib/Target/X86/X86InstrArithmetic.td | 24 +- lib/Target/X86/X86InstrFMA.td | 13 +- lib/Target/X86/X86InstrFormats.td | 10 + lib/Target/X86/X86InstrFragmentsSIMD.td | 6 +- lib/Target/X86/X86InstrInfo.cpp | 3410 +---------------- lib/Target/X86/X86InstrInfo.td | 36 +- lib/Target/X86/X86InstrMMX.td | 5 +- lib/Target/X86/X86InstrSSE.td | 66 +- lib/Target/X86/X86InstrTSX.td | 5 + lib/Target/X86/X86InstrXOP.td | 8 +- lib/Target/X86/X86InstructionSelector.cpp | 110 +- lib/Target/X86/X86LegalizerInfo.cpp | 41 +- lib/Target/X86/X86LegalizerInfo.h | 1 + lib/Target/X86/X86RegisterInfo.td | 4 +- lib/Target/X86/X86Subtarget.cpp | 8 +- lib/Target/X86/X86Subtarget.h | 13 +- lib/Target/X86/X86TargetMachine.cpp | 17 +- lib/Target/X86/X86TargetTransformInfo.cpp | 54 + lib/Target/XCore/XCoreTargetMachine.cpp | 6 +- lib/Transforms/Coroutines/CoroCleanup.cpp | 5 +- lib/Transforms/Coroutines/CoroEarly.cpp | 7 +- lib/Transforms/Coroutines/CoroElide.cpp | 5 +- lib/Transforms/Coroutines/CoroFrame.cpp | 61 +- lib/Transforms/Coroutines/CoroSplit.cpp | 90 +- lib/Transforms/IPO/PartialInlining.cpp | 10 +- lib/Transforms/IPO/PassManagerBuilder.cpp | 25 +- lib/Transforms/InstCombine/InstCombineAddSub.cpp | 44 +- lib/Transforms/InstCombine/InstCombineAndOrXor.cpp | 91 +- lib/Transforms/InstCombine/InstCombineCalls.cpp | 8 +- lib/Transforms/InstCombine/InstCombineCasts.cpp | 35 +- lib/Transforms/InstCombine/InstCombineCompares.cpp | 176 +- lib/Transforms/InstCombine/InstCombineInternal.h | 81 +- .../InstCombine/InstCombineMulDivRem.cpp | 19 +- lib/Transforms/InstCombine/InstCombineShifts.cpp | 3 +- .../InstCombine/InstCombineSimplifyDemanded.cpp | 92 +- .../InstCombine/InstructionCombining.cpp | 66 +- .../Instrumentation/PGOInstrumentation.cpp | 2 +- .../Instrumentation/SanitizerCoverage.cpp | 5 +- lib/Transforms/Scalar/CMakeLists.txt | 1 + lib/Transforms/Scalar/ConstantHoisting.cpp | 6 +- lib/Transforms/Scalar/EarlyCSE.cpp | 2 +- lib/Transforms/Scalar/GVN.cpp | 166 +- lib/Transforms/Scalar/GVNSink.cpp | 872 +++++ lib/Transforms/Scalar/GuardWidening.cpp | 4 +- .../Scalar/InductiveRangeCheckElimination.cpp | 7 +- lib/Transforms/Scalar/JumpThreading.cpp | 59 +- lib/Transforms/Scalar/LICM.cpp | 2 +- lib/Transforms/Scalar/LoadCombine.cpp | 2 +- lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 120 +- lib/Transforms/Scalar/LoopPredication.cpp | 86 +- lib/Transforms/Scalar/LoopRotation.cpp | 2 +- lib/Transforms/Scalar/LoopStrengthReduce.cpp | 4 +- lib/Transforms/Scalar/LoopUnswitch.cpp | 7 +- lib/Transforms/Scalar/NewGVN.cpp | 890 +++-- lib/Transforms/Scalar/Reassociate.cpp | 4 +- lib/Transforms/Scalar/SCCP.cpp | 3 +- lib/Transforms/Scalar/SROA.cpp | 10 +- lib/Transforms/Scalar/Scalar.cpp | 1 + lib/Transforms/Scalar/SimpleLoopUnswitch.cpp | 113 +- .../Scalar/StraightLineStrengthReduce.cpp | 2 +- lib/Transforms/Utils/CloneFunction.cpp | 4 +- lib/Transforms/Utils/CodeExtractor.cpp | 83 +- lib/Transforms/Utils/FunctionComparator.cpp | 10 +- lib/Transforms/Utils/InlineFunction.cpp | 7 +- lib/Transforms/Utils/Local.cpp | 68 +- lib/Transforms/Utils/SimplifyCFG.cpp | 56 +- lib/Transforms/Utils/SimplifyLibCalls.cpp | 86 +- lib/Transforms/Vectorize/LoopVectorize.cpp | 163 +- lib/Transforms/Vectorize/SLPVectorizer.cpp | 4 +- test/Analysis/BranchProbabilityInfo/basic.ll | 42 +- .../BranchProbabilityInfo/deopt-intrinsic.ll | 4 +- test/Analysis/BranchProbabilityInfo/noreturn.ll | 22 +- test/Analysis/CFLAliasAnalysis/Andersen/struct.ll | 18 + test/Analysis/CostModel/AArch64/falkor.ll | 26 - test/Analysis/CostModel/SystemZ/div-pow2.ll | 154 + test/Analysis/CostModel/X86/bitreverse.ll | 69 + test/Analysis/CostModel/X86/ctbits-cost.ll | 587 --- test/Analysis/CostModel/X86/ctlz.ll | 377 ++ test/Analysis/CostModel/X86/ctpop.ll | 196 + test/Analysis/CostModel/X86/cttz.ll | 352 ++ .../constant_functions_multi_dim.ll | 80 + test/Analysis/IVUsers/quadradic-exit-value.ll | 36 +- .../ScalarEvolution/different-loops-recs.ll | 64 +- test/Analysis/ScalarEvolution/nsw.ll | 2 +- test/Analysis/ScalarEvolution/trip-count-pow2.ll | 10 +- test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll | 2 +- .../AArch64/GlobalISel/gisel-commandline-option.ll | 5 +- .../GlobalISel/localizer-in-O0-pipeline.mir | 96 + test/CodeGen/AArch64/GlobalISel/localizer.mir | 361 ++ test/CodeGen/AArch64/GlobalISel/select-pr32733.mir | 1 - test/CodeGen/AArch64/aarch64-addv.ll | 63 +- test/CodeGen/AArch64/aarch64-minmaxv.ll | 424 +-- test/CodeGen/AArch64/aarch64-stp-cluster.ll | 2 +- test/CodeGen/AArch64/arm64-ccmp.ll | 2 +- test/CodeGen/AArch64/arm64-csldst-mmo.ll | 2 +- test/CodeGen/AArch64/arm64-inline-asm.ll | 7 + test/CodeGen/AArch64/arm64-ldp-cluster.ll | 4 +- test/CodeGen/AArch64/arm64-misched-basic-A53.ll | 4 +- test/CodeGen/AArch64/arm64-misched-basic-A57.ll | 2 +- .../AArch64/arm64-misched-forwarding-A53.ll | 2 +- test/CodeGen/AArch64/arm64-misched-memdep-bug.ll | 2 +- test/CodeGen/AArch64/arm64-misched-multimmo.ll | 4 +- test/CodeGen/AArch64/arm64-vabs.ll | 66 +- test/CodeGen/AArch64/arm64-vadd.ll | 12 +- test/CodeGen/AArch64/arm64-vmul.ll | 24 +- test/CodeGen/AArch64/arm64-vshift.ll | 12 +- test/CodeGen/AArch64/arm64-vsub.ll | 24 +- test/CodeGen/AArch64/asm-print-comments.ll | 17 + test/CodeGen/AArch64/cmpxchg-O0.ll | 10 +- test/CodeGen/AArch64/fast-isel-cmpxchg.ll | 9 +- test/CodeGen/AArch64/ldst-zero.ll | 23 +- test/CodeGen/AArch64/live-interval-analysis.mir | 4 +- test/CodeGen/AArch64/misched-fusion-aes.ll | 145 +- test/CodeGen/AArch64/misched-stp.ll | 35 +- test/CodeGen/AArch64/optimize-imm.ll | 19 + test/CodeGen/AArch64/reg-scavenge-frame.mir | 52 + test/CodeGen/AArch64/scheduledag-constreg.mir | 2 +- test/CodeGen/AArch64/tailcall_misched_graph.ll | 2 +- .../AMDGPU/GlobalISel/amdgpu-irtranslator.ll | 5 +- .../AMDGPU/GlobalISel/legalize-constant.mir | 20 + test/CodeGen/AMDGPU/add.i16.ll | 3 +- test/CodeGen/AMDGPU/add.v2i16.ll | 34 +- test/CodeGen/AMDGPU/bfe-combine.ll | 49 + test/CodeGen/AMDGPU/bfe-patterns.ll | 4 +- test/CodeGen/AMDGPU/coalescer_distribute.ll | 4 +- test/CodeGen/AMDGPU/commute-compares.ll | 2 +- test/CodeGen/AMDGPU/commute_modifiers.ll | 2 +- test/CodeGen/AMDGPU/copy-illegal-type.ll | 2 +- test/CodeGen/AMDGPU/ctlz.ll | 3 +- test/CodeGen/AMDGPU/ctlz_zero_undef.ll | 3 +- test/CodeGen/AMDGPU/cvt_f32_ubyte.ll | 1 - test/CodeGen/AMDGPU/ds_write2.ll | 4 +- test/CodeGen/AMDGPU/endcf-loop-header.ll | 8 +- test/CodeGen/AMDGPU/extload-align.ll | 4 +- test/CodeGen/AMDGPU/fabs.f64.ll | 4 +- test/CodeGen/AMDGPU/fabs.ll | 4 +- test/CodeGen/AMDGPU/fadd.f16.ll | 18 +- test/CodeGen/AMDGPU/fadd64.ll | 2 +- test/CodeGen/AMDGPU/fcanonicalize.f16.ll | 21 +- test/CodeGen/AMDGPU/fmax3.ll | 103 +- test/CodeGen/AMDGPU/fmed3.ll | 8 +- test/CodeGen/AMDGPU/fmin3.ll | 102 +- test/CodeGen/AMDGPU/fmul.f16.ll | 18 +- test/CodeGen/AMDGPU/fneg-fabs.f16.ll | 17 +- test/CodeGen/AMDGPU/fneg-fabs.f64.ll | 4 +- test/CodeGen/AMDGPU/fneg-fabs.ll | 4 +- test/CodeGen/AMDGPU/fneg.f16.ll | 8 +- test/CodeGen/AMDGPU/fract.f64.ll | 6 +- test/CodeGen/AMDGPU/frame-index-elimination.ll | 124 + test/CodeGen/AMDGPU/fsub.f16.ll | 18 +- test/CodeGen/AMDGPU/fsub64.ll | 2 +- test/CodeGen/AMDGPU/function-args.ll | 734 ++++ test/CodeGen/AMDGPU/function-returns.ll | 514 +++ test/CodeGen/AMDGPU/global-constant.ll | 4 +- test/CodeGen/AMDGPU/hsa-func.ll | 13 +- test/CodeGen/AMDGPU/i1-copy-phi.ll | 6 +- test/CodeGen/AMDGPU/immv216.ll | 61 +- test/CodeGen/AMDGPU/inline-asm.ll | 2 +- test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll | 32 +- test/CodeGen/AMDGPU/kernel-args.ll | 4 +- test/CodeGen/AMDGPU/llvm.amdgcn.atomic.dec.ll | 2 + test/CodeGen/AMDGPU/llvm.amdgcn.atomic.inc.ll | 2 + test/CodeGen/AMDGPU/llvm.amdgcn.div.fixup.f16.ll | 6 +- test/CodeGen/AMDGPU/llvm.amdgcn.div.fmas.ll | 2 +- test/CodeGen/AMDGPU/llvm.amdgcn.fcmp.ll | 4 +- test/CodeGen/AMDGPU/llvm.amdgcn.fmul.legacy.ll | 2 +- test/CodeGen/AMDGPU/llvm.amdgcn.s.barrier.ll | 9 +- test/CodeGen/AMDGPU/llvm.amdgcn.s.getpc.ll | 15 + test/CodeGen/AMDGPU/llvm.fma.f16.ll | 6 +- test/CodeGen/AMDGPU/llvm.fmuladd.f16.ll | 4 +- test/CodeGen/AMDGPU/llvm.maxnum.f16.ll | 18 +- test/CodeGen/AMDGPU/llvm.minnum.f16.ll | 17 +- test/CodeGen/AMDGPU/load-constant-i16.ll | 2 +- test/CodeGen/AMDGPU/load-constant-i8.ll | 2 +- test/CodeGen/AMDGPU/load-global-i16.ll | 4 +- test/CodeGen/AMDGPU/load-global-i8.ll | 4 +- test/CodeGen/AMDGPU/load-local-i16.ll | 2 +- test/CodeGen/AMDGPU/load-local-i8.ll | 2 +- test/CodeGen/AMDGPU/lshl64-to-32.ll | 45 + test/CodeGen/AMDGPU/mad24-get-global-id.ll | 2 +- test/CodeGen/AMDGPU/madak.ll | 4 +- test/CodeGen/AMDGPU/madmk.ll | 4 +- test/CodeGen/AMDGPU/max3.ll | 91 +- test/CodeGen/AMDGPU/merge-m0.mir | 1 - test/CodeGen/AMDGPU/min.ll | 2 +- test/CodeGen/AMDGPU/min3.ll | 133 +- test/CodeGen/AMDGPU/mul.ll | 8 +- test/CodeGen/AMDGPU/packed-op-sel.ll | 693 ++++ test/CodeGen/AMDGPU/parallelandifcollapse.ll | 2 +- test/CodeGen/AMDGPU/r600.bitcast.ll | 2 +- test/CodeGen/AMDGPU/regcoalesce-prune.mir | 31 + test/CodeGen/AMDGPU/schedule-regpressure.mir | 2 +- test/CodeGen/AMDGPU/scratch-simple.ll | 6 +- test/CodeGen/AMDGPU/sdiv.ll | 2 +- test/CodeGen/AMDGPU/sdwa-peephole.ll | 55 +- test/CodeGen/AMDGPU/sdwa-scalar-ops.mir | 408 +++ test/CodeGen/AMDGPU/select.f16.ll | 12 +- test/CodeGen/AMDGPU/setcc.ll | 2 +- test/CodeGen/AMDGPU/shift-and-i128-ubfe.ll | 21 +- test/CodeGen/AMDGPU/shift-and-i64-ubfe.ll | 50 +- test/CodeGen/AMDGPU/shl-add-to-add-shl.ll | 40 + test/CodeGen/AMDGPU/shl.ll | 2 +- test/CodeGen/AMDGPU/sminmax.v2i16.ll | 5 +- test/CodeGen/AMDGPU/sra.ll | 2 +- test/CodeGen/AMDGPU/srem.ll | 2 +- test/CodeGen/AMDGPU/srl.ll | 3 +- test/CodeGen/AMDGPU/store-global.ll | 4 +- test/CodeGen/AMDGPU/store-private.ll | 4 +- test/CodeGen/AMDGPU/sub.i16.ll | 2 +- test/CodeGen/AMDGPU/sub.ll | 2 +- test/CodeGen/AMDGPU/sub.v2i16.ll | 30 +- test/CodeGen/AMDGPU/subreg_interference.mir | 8 + test/CodeGen/AMDGPU/udiv.ll | 6 +- test/CodeGen/AMDGPU/unknown-processor.ll | 4 +- test/CodeGen/AMDGPU/urem.ll | 2 +- test/CodeGen/AMDGPU/use-sgpr-multiple-times.ll | 12 +- test/CodeGen/AMDGPU/v_mac_f16.ll | 11 +- test/CodeGen/AMDGPU/vector-alloca.ll | 22 + .../vgpr-spill-emergency-stack-slot-compute.ll | 4 +- test/CodeGen/AMDGPU/wqm.ll | 2 +- test/CodeGen/ARM/2011-02-04-AntidepMultidef.ll | 16 +- test/CodeGen/ARM/2012-10-04-AAPCS-byval-align8.ll | 2 +- test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll | 384 ++ test/CodeGen/ARM/GlobalISel/arm-unsupported.ll | 12 +- test/CodeGen/ARM/adr-hoist.ll | 31 - test/CodeGen/ARM/adr-remat.ll | 25 - test/CodeGen/ARM/align-sp-adjustment.ll | 6 +- test/CodeGen/ARM/arm-shrink-wrapping.ll | 7 +- test/CodeGen/ARM/cmpxchg-O0.ll | 9 +- test/CodeGen/ARM/constantpool-promote-dbg.ll | 2 +- test/CodeGen/ARM/constantpool-promote-ldrh.ll | 4 +- test/CodeGen/ARM/constantpool-promote.ll | 24 +- test/CodeGen/ARM/cortexr52-misched-basic.ll | 4 +- test/CodeGen/ARM/dag-combine-ldst.ll | 2 +- test/CodeGen/ARM/fastisel-thumb-litpool.ll | 1 + test/CodeGen/ARM/ifcvt-branch-weight-bug.ll | 2 +- test/CodeGen/ARM/memcpy-inline.ll | 13 +- test/CodeGen/ARM/memset-inline.ll | 84 +- test/CodeGen/ARM/misched-copy-arm.ll | 2 +- test/CodeGen/ARM/misched-fp-basic.ll | 6 +- test/CodeGen/ARM/misched-int-basic-thumb2.mir | 6 +- test/CodeGen/ARM/misched-int-basic.mir | 6 +- test/CodeGen/ARM/single-issue-r52.mir | 4 +- test/CodeGen/ARM/v6-jumptable-clobber.mir | 2 - test/CodeGen/ARM/vcombine.ll | 4 +- test/CodeGen/ARM/vext.ll | 8 +- test/CodeGen/AVR/rot.ll | 4 +- .../Generic/opt-codegen-no-target-machine.ll | 3 + test/CodeGen/Hexagon/mul64-sext.ll | 93 + test/CodeGen/Hexagon/post-ra-kill-update.mir | 2 +- .../Lanai/lanai-misched-trivial-disjoint.ll | 2 +- .../ARM/PR32721_ifcvt_triangle_unanalyzable.mir | 24 - test/CodeGen/MSP430/hwmult16.ll | 1 + test/CodeGen/MSP430/hwmult32.ll | 1 + test/CodeGen/MSP430/hwmultf5.ll | 1 + test/CodeGen/MSP430/vararg.ll | 3 +- test/CodeGen/Mips/compactbranches/empty-block.mir | 1 - test/CodeGen/Mips/dins.ll | 70 + test/CodeGen/Mips/micromips-attr.ll | 39 + test/CodeGen/Mips/mips64-f128.ll | 9 +- test/CodeGen/Mips/msa/bmzi_bmnzi.ll | 8 +- test/CodeGen/NVPTX/sched1.ll | 4 +- test/CodeGen/NVPTX/sched2.ll | 4 +- test/CodeGen/NVPTX/vec8.ll | 2 +- test/CodeGen/Nios2/lit.local.cfg | 3 + test/CodeGen/Nios2/target_support.ll | 11 + test/CodeGen/PowerPC/atomic-2.ll | 14 +- test/CodeGen/PowerPC/atomics-constant.ll | 23 + test/CodeGen/PowerPC/atomics-indexed.ll | 14 +- test/CodeGen/PowerPC/atomics-regression.ll | 64 +- test/CodeGen/PowerPC/atomics.ll | 14 +- test/CodeGen/PowerPC/build-vector-tests.ll | 216 +- test/CodeGen/PowerPC/expand-isel.ll | 15 +- test/CodeGen/PowerPC/livephysregs.mir | 52 + test/CodeGen/PowerPC/logic-ops-on-compares.ll | 130 + test/CodeGen/PowerPC/opt-cmp-inst-cr0-live.ll | 33 + test/CodeGen/PowerPC/p8altivec-shuffles-pred.ll | 2 +- test/CodeGen/PowerPC/p9-xxinsertw-xxextractuw.ll | 72 +- test/CodeGen/PowerPC/ppc64-i128-abi.ll | 8 +- test/CodeGen/PowerPC/ppcf128sf.ll | 8 +- test/CodeGen/PowerPC/pr25157-peephole.ll | 2 +- test/CodeGen/PowerPC/pr27078.ll | 8 +- test/CodeGen/PowerPC/pristine-and-livein.mir | 330 -- test/CodeGen/PowerPC/save-bp.ll | 54 + test/CodeGen/PowerPC/save-cr-ppc32svr4.ll | 46 + test/CodeGen/PowerPC/save-crbp-ppc32svr4.ll | 57 + test/CodeGen/PowerPC/shift128.ll | 92 +- test/CodeGen/PowerPC/swaps-le-6.ll | 8 +- test/CodeGen/PowerPC/testComparesieqsll.ll | 134 + test/CodeGen/PowerPC/testComparesiequll.ll | 134 + test/CodeGen/PowerPC/testCompareslleqsll.ll | 133 + test/CodeGen/PowerPC/testComparesllequll.ll | 133 + test/CodeGen/PowerPC/vec_sldwi.ll | 307 ++ test/CodeGen/PowerPC/vsx-ldst-builtin-le.ll | 48 +- test/CodeGen/PowerPC/vsx-ldst.ll | 4 +- test/CodeGen/PowerPC/vsx-p9.ll | 72 +- test/CodeGen/PowerPC/vsx_insert_extract_le.ll | 4 +- test/CodeGen/PowerPC/vsx_shuffle_le.ll | 48 +- test/CodeGen/SPARC/32abi.ll | 16 +- test/CodeGen/SPARC/64abi.ll | 18 +- test/CodeGen/SPARC/LeonCASAInstructionUT.ll | 0 test/CodeGen/SPARC/LeonFixAllFDIVSQRTPassUT.ll | 0 test/CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll | 0 test/CodeGen/SPARC/LeonItinerariesUT.ll | 4 +- test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll | 0 test/CodeGen/SPARC/LeonSMACUMACInstructionUT.ll | 0 test/CodeGen/SPARC/sjlj.ll | 0 test/CodeGen/SystemZ/swift-return.ll | 6 +- test/CodeGen/Thumb/machine-cse-physreg.mir | 35 + test/CodeGen/Thumb/stack-access.ll | 10 +- test/CodeGen/Thumb2/ldr-str-imm12.ll | 4 +- test/CodeGen/Thumb2/tbb-removeadd.mir | 1 - test/CodeGen/WebAssembly/negative-base-reg.ll | 2 +- test/CodeGen/X86/2007-01-08-InstrSched.ll | 4 +- test/CodeGen/X86/2009-02-26-MachineLICMBug.ll | 2 +- test/CodeGen/X86/GlobalISel/add-scalar.ll | 96 +- test/CodeGen/X86/GlobalISel/add-vec.ll | 111 + test/CodeGen/X86/GlobalISel/binop.ll | 8 +- test/CodeGen/X86/GlobalISel/br.ll | 2 +- test/CodeGen/X86/GlobalISel/callingconv.ll | 8 +- test/CodeGen/X86/GlobalISel/cmp.ll | 2 +- test/CodeGen/X86/GlobalISel/constant.ll | 2 +- test/CodeGen/X86/GlobalISel/ext-x86-64.ll | 2 +- test/CodeGen/X86/GlobalISel/ext.ll | 4 +- test/CodeGen/X86/GlobalISel/frameIndex.ll | 12 +- test/CodeGen/X86/GlobalISel/gep.ll | 4 +- test/CodeGen/X86/GlobalISel/irtranslator-call.ll | 1 - test/CodeGen/X86/GlobalISel/legalize-add-v128.mir | 119 + test/CodeGen/X86/GlobalISel/legalize-add-v256.mir | 157 + test/CodeGen/X86/GlobalISel/legalize-add-v512.mir | 139 + test/CodeGen/X86/GlobalISel/legalize-add.mir | 69 +- test/CodeGen/X86/GlobalISel/legalize-sub-v128.mir | 119 + test/CodeGen/X86/GlobalISel/legalize-sub-v256.mir | 120 + test/CodeGen/X86/GlobalISel/legalize-sub-v512.mir | 120 + test/CodeGen/X86/GlobalISel/memop-scalar-x32.ll | 4 +- test/CodeGen/X86/GlobalISel/memop-scalar.ll | 4 +- test/CodeGen/X86/GlobalISel/memop-vec.ll | 113 +- test/CodeGen/X86/GlobalISel/mul-scalar.ll | 2 +- test/CodeGen/X86/GlobalISel/mul-vec.ll | 2 +- test/CodeGen/X86/GlobalISel/regbankselect-AVX2.mir | 110 +- .../X86/GlobalISel/regbankselect-AVX512.mir | 113 +- test/CodeGen/X86/GlobalISel/regbankselect-X32.mir | 36 + test/CodeGen/X86/GlobalISel/select-add-v128.mir | 195 + test/CodeGen/X86/GlobalISel/select-add-v256.mir | 185 + test/CodeGen/X86/GlobalISel/select-add-v512.mir | 130 + test/CodeGen/X86/GlobalISel/select-add-x32.mir | 63 + test/CodeGen/X86/GlobalISel/select-br.mir | 4 +- test/CodeGen/X86/GlobalISel/select-cmp.mir | 2 +- test/CodeGen/X86/GlobalISel/select-constant.mir | 2 +- test/CodeGen/X86/GlobalISel/select-ext-x86-64.mir | 2 +- test/CodeGen/X86/GlobalISel/select-ext.mir | 4 +- test/CodeGen/X86/GlobalISel/select-frameIndex.mir | 6 +- test/CodeGen/X86/GlobalISel/select-gep.mir | 2 +- .../X86/GlobalISel/select-leaf-constant.mir | 96 + test/CodeGen/X86/GlobalISel/select-memop-v256.mir | 188 + test/CodeGen/X86/GlobalISel/select-memop-v512.mir | 127 + test/CodeGen/X86/GlobalISel/select-sub-v128.mir | 195 + test/CodeGen/X86/GlobalISel/select-sub-v256.mir | 185 + test/CodeGen/X86/GlobalISel/select-sub-v512.mir | 130 + test/CodeGen/X86/GlobalISel/select-trunc.mir | 92 +- test/CodeGen/X86/GlobalISel/sub-vec.ll | 111 + test/CodeGen/X86/GlobalISel/trunc.ll | 2 +- test/CodeGen/X86/O0-pipeline.ll | 2 +- test/CodeGen/X86/addcarry.ll | 20 +- test/CodeGen/X86/arg-copy-elide.ll | 7 +- test/CodeGen/X86/avg.ll | 833 +++-- test/CodeGen/X86/avx-intrinsics-fast-isel.ll | 52 +- test/CodeGen/X86/avx-vzeroupper.ll | 221 +- test/CodeGen/X86/avx.ll | 2 +- test/CodeGen/X86/avx512-cmp-kor-sequence.ll | 6 +- test/CodeGen/X86/avx512-cmp.ll | 81 +- test/CodeGen/X86/avx512-cvt.ll | 4 +- test/CodeGen/X86/avx512-ext.ll | 24 +- test/CodeGen/X86/avx512-fsel.ll | 24 +- test/CodeGen/X86/avx512-gather-scatter-intrin.ll | 10 +- test/CodeGen/X86/avx512-i1test.ll | 5 +- test/CodeGen/X86/avx512-insert-extract.ll | 220 +- test/CodeGen/X86/avx512-insert-extract_i1.ll | 5 +- test/CodeGen/X86/avx512-intrinsics-upgrade.ll | 116 +- test/CodeGen/X86/avx512-intrinsics.ll | 422 +-- test/CodeGen/X86/avx512-load-store.ll | 8 +- test/CodeGen/X86/avx512-mask-bugfix.ll | 57 - test/CodeGen/X86/avx512-mask-op.ll | 151 +- test/CodeGen/X86/avx512-mask-spills.ll | 40 +- test/CodeGen/X86/avx512-memfold.ll | 5 - test/CodeGen/X86/avx512-regcall-NoMask.ll | 32 +- test/CodeGen/X86/avx512-scalar_mask.ll | 14 +- test/CodeGen/X86/avx512-select.ll | 4 +- test/CodeGen/X86/avx512bw-intrinsics-upgrade.ll | 12 +- test/CodeGen/X86/avx512bw-intrinsics.ll | 22 +- test/CodeGen/X86/avx512bwvl-intrinsics-upgrade.ll | 24 +- test/CodeGen/X86/avx512cdvl-intrinsics-upgrade.ll | 2 +- test/CodeGen/X86/avx512cdvl-intrinsics.ll | 2 +- test/CodeGen/X86/avx512dq-intrinsics-upgrade.ll | 9 +- test/CodeGen/X86/avx512dq-intrinsics.ll | 14 +- test/CodeGen/X86/avx512dqvl-intrinsics-upgrade.ll | 10 +- test/CodeGen/X86/avx512dqvl-intrinsics.ll | 4 +- test/CodeGen/X86/avx512er-intrinsics.ll | 6 - test/CodeGen/X86/avx512ifma-intrinsics.ll | 8 +- test/CodeGen/X86/avx512ifmavl-intrinsics.ll | 16 +- test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll | 64 +- test/CodeGen/X86/avx512vl-intrinsics.ll | 28 +- test/CodeGen/X86/avx512vpopcntdq-intrinsics.ll | 88 + test/CodeGen/X86/bitcast-and-setcc-128.ll | 1155 ++++++ test/CodeGen/X86/bitcast-and-setcc-256.ll | 403 ++ test/CodeGen/X86/bitcast-setcc-128.ll | 823 +++++ test/CodeGen/X86/bitcast-setcc-256.ll | 363 ++ test/CodeGen/X86/bswap_tree2.ll | 35 +- test/CodeGen/X86/constant-combines.ll | 16 +- test/CodeGen/X86/fast-isel-load-i1.ll | 4 +- test/CodeGen/X86/fast-isel-select-cmp.ll | 10 +- test/CodeGen/X86/fma-fneg-combine.ll | 5 +- test/CodeGen/X86/fmsubadd-combine.ll | 193 + test/CodeGen/X86/fold-tied-op.ll | 7 +- test/CodeGen/X86/fp-intrinsics.ll | 147 + test/CodeGen/X86/fp128-i128.ll | 2 +- test/CodeGen/X86/haddsub-2.ll | 12 +- test/CodeGen/X86/hoist-invariant-load.ll | 2 +- test/CodeGen/X86/leaFixup32.mir | 21 +- test/CodeGen/X86/leaFixup64.mir | 20 +- test/CodeGen/X86/lrshrink.ll | 57 - test/CodeGen/X86/madd.ll | 34 +- test/CodeGen/X86/masked_gather_scatter.ll | 34 +- test/CodeGen/X86/merge-consecutive-loads-128.ll | 16 +- test/CodeGen/X86/misched-copy.ll | 2 +- test/CodeGen/X86/misched-matrix.ll | 4 +- test/CodeGen/X86/mul-i1024.ll | 3871 ++++++++++---------- test/CodeGen/X86/mul-i256.ll | 94 +- test/CodeGen/X86/mul-i512.ll | 705 ++-- test/CodeGen/X86/nontemporal.ll | 72 +- test/CodeGen/X86/oddshuffles.ll | 34 +- test/CodeGen/X86/or-branch.ll | 66 +- test/CodeGen/X86/overflow.ll | 8 +- test/CodeGen/X86/pmul.ll | 55 +- test/CodeGen/X86/pr27591.ll | 18 +- test/CodeGen/X86/pr27681.mir | 2 +- test/CodeGen/X86/pr28173.ll | 20 +- test/CodeGen/X86/pr29112.ll | 8 +- test/CodeGen/X86/pr31088.ll | 2 +- test/CodeGen/X86/pr32241.ll | 68 +- test/CodeGen/X86/pr32256.ll | 36 +- test/CodeGen/X86/pr32284.ll | 12 - test/CodeGen/X86/pr32451.ll | 6 - test/CodeGen/X86/psubus.ll | 1263 +++---- test/CodeGen/X86/rotate.ll | 16 +- test/CodeGen/X86/rtm.ll | 10 +- test/CodeGen/X86/sad.ll | 929 ++--- test/CodeGen/X86/sandybridge-loads.ll | 42 +- test/CodeGen/X86/select.ll | 28 +- test/CodeGen/X86/setcc-lowering.ll | 65 +- test/CodeGen/X86/setcc-wide-types.ll | 56 +- test/CodeGen/X86/shrink_vmul_sse.ll | 2 +- test/CodeGen/X86/sse-intrinsics-fast-isel.ll | 10 +- test/CodeGen/X86/sse-scalar-fp-arith.ll | 8 +- test/CodeGen/X86/sse1.ll | 8 +- test/CodeGen/X86/sse3-avx-addsub-2.ll | 14 +- test/CodeGen/X86/sse41.ll | 8 +- test/CodeGen/X86/sse42-intrinsics-fast-isel.ll | 6 +- test/CodeGen/X86/stack-folding-fp-avx1.ll | 21 +- test/CodeGen/X86/store-narrow.ll | 5 +- test/CodeGen/X86/subcarry.ll | 137 + test/CodeGen/X86/swift-return.ll | 6 +- test/CodeGen/X86/twoaddr-coalesce-2.ll | 2 +- test/CodeGen/X86/vec_int_to_fp.ll | 84 +- test/CodeGen/X86/vector-bitreverse.ll | 6 +- test/CodeGen/X86/vector-blend.ll | 4 +- test/CodeGen/X86/vector-narrow-binop.ll | 63 +- test/CodeGen/X86/vector-popcnt-128.ll | 109 +- test/CodeGen/X86/vector-popcnt-256.ll | 42 + test/CodeGen/X86/vector-popcnt-512.ll | 53 + test/CodeGen/X86/vector-sext.ll | 56 + test/CodeGen/X86/vector-shuffle-512-v16.ll | 3 +- test/CodeGen/X86/vector-shuffle-avx512.ll | 34 +- test/CodeGen/X86/vector-sqrt.ll | 22 +- test/CodeGen/X86/vector-trunc-math.ll | 6 +- test/CodeGen/X86/vector-tzcnt-128.ll | 159 + test/CodeGen/X86/vector-tzcnt-256.ll | 379 +- test/CodeGen/X86/vector-tzcnt-512.ll | 153 + test/CodeGen/X86/wide-integer-cmp.ll | 1 - test/CodeGen/X86/widened-broadcast.ll | 73 +- test/CodeGen/X86/win32-spill-xmm.ll | 2 +- test/CodeGen/X86/win64_sibcall.ll | 4 +- test/CodeGen/X86/win64_vararg.ll | 4 +- test/CodeGen/X86/x86-64-ms_abi-vararg.ll | 4 +- test/CodeGen/X86/x86-interleaved-access.ll | 26 +- test/CodeGen/X86/x87.ll | 11 +- test/CodeGen/X86/xchg-nofold.ll | 37 + test/CodeGen/X86/xmulo.ll | 8 +- test/CodeGen/X86/xor-select-i1-combine.ll | 6 +- test/CodeGen/XCore/epilogue_prologue.ll | 24 +- test/DebugInfo/Generic/empty.ll | 9 +- test/DebugInfo/Generic/nodebug.ll | 13 +- test/DebugInfo/Generic/skeletoncu.ll | 4 +- .../Inputs/split-dwarf-addr-object-relocation.dwo | Bin 0 -> 1056 bytes .../Inputs/split-dwarf-addr-object-relocation.o | Bin 0 -> 2968 bytes test/DebugInfo/Inputs/split-dwarf-dwp.cpp | 12 + test/DebugInfo/Inputs/split-dwarf-dwp.o | Bin 0 -> 2744 bytes test/DebugInfo/Inputs/split-dwarf-dwp.o.dwp | Bin 0 -> 1256 bytes test/DebugInfo/Inputs/split-dwarf-multiple-cu.dwo | Bin 0 -> 1040 bytes test/DebugInfo/Inputs/split-dwarf-multiple-cu.o | Bin 0 -> 2992 bytes test/DebugInfo/MIR/X86/empty-inline.mir | 121 + test/DebugInfo/PDB/Inputs/merge-ids-1.yaml | 36 + test/DebugInfo/PDB/Inputs/merge-ids-2.yaml | 31 + .../PDB/Inputs/merge-ids-and-types-1.yaml | 113 + .../PDB/Inputs/merge-ids-and-types-2.yaml | 143 + test/DebugInfo/PDB/Inputs/merge-types-1.yaml | 52 + test/DebugInfo/PDB/Inputs/merge-types-2.yaml | 52 + test/DebugInfo/PDB/Inputs/source-names-1.yaml | 8 + test/DebugInfo/PDB/Inputs/source-names-2.yaml | 8 + test/DebugInfo/PDB/pdbdump-headers.test | 4 +- .../DebugInfo/PDB/pdbdump-merge-ids-and-types.test | 65 + test/DebugInfo/PDB/pdbdump-mergeids.test | 31 + test/DebugInfo/PDB/pdbdump-mergetypes.test | 24 + test/DebugInfo/PDB/pdbdump-objfilename.yaml | 14 + test/DebugInfo/PDB/pdbdump-source-names.test | 20 + test/DebugInfo/X86/array.ll | 150 +- test/DebugInfo/X86/dbg-value-frame-index.ll | 2 +- test/DebugInfo/X86/debug-loc-offset.ll | 8 +- test/DebugInfo/X86/debug-macro.ll | 72 +- test/DebugInfo/X86/empty.ll | 11 +- test/DebugInfo/X86/fission-hash.ll | 10 +- test/DebugInfo/X86/gnu-public-names-empty.ll | 9 +- test/DebugInfo/X86/gnu-public-names-gmlt.ll | 68 + test/DebugInfo/X86/split-dwarf-multiple-cu-hash.ll | 42 + test/DebugInfo/X86/split-dwarf-omit-empty.ll | 54 + test/DebugInfo/dwo.ll | 4 +- test/DebugInfo/llvm-symbolizer.test | 22 + test/DebugInfo/omit-empty.ll | 13 + test/DebugInfo/skeletoncu.ll | 4 +- test/ExecutionEngine/MCJIT/lit.local.cfg | 3 +- test/ExecutionEngine/OrcMCJIT/lit.local.cfg | 3 +- test/ExecutionEngine/OrcMCJIT/pr32650.ll | 28 + .../RuntimeDyld/X86/ELF_x86-64_debug_frame.s | 20 + test/Feature/fp-intrinsics.ll | 148 + test/Feature/optnone-llc.ll | 1 + test/Instrumentation/MemorySanitizer/csr.ll | 1 + test/Instrumentation/SanitizerCoverage/chains.ll | 33 + .../SanitizerCoverage/postdominator_check.ll | 85 + test/LTO/Resolution/X86/linkonce.ll | 11 + test/LTO/Resolution/X86/type-checked-load.ll | 16 + test/LTO/X86/Inputs/strip-debug-info-bar.ll | 15 + test/LTO/X86/Inputs/strip-debug-info.bc | Bin 852 -> 0 bytes test/LTO/X86/strip-debug-info.ll | 49 +- test/Linker/Inputs/module-flags-pic-2-b.ll | 5 +- test/Linker/module-flags-pic-2-a.ll | 13 +- test/MC/AArch64/ldr-pseudo.s | 12 + test/MC/AMDGPU/exp.s | 12 + test/MC/AMDGPU/vop3-gfx9.s | 24 + test/MC/AMDGPU/vop_sdwa.s | 441 ++- test/MC/Disassembler/AMDGPU/exp_vi.txt | 40 + test/MC/Disassembler/AMDGPU/sdwa_gfx9.txt | 477 +++ test/MC/Disassembler/AMDGPU/sopc_vi.txt | 3 + test/MC/Disassembler/SystemZ/insns-z13.txt | 108 + test/MC/Disassembler/SystemZ/insns.txt | 3260 ++++++++++++++++- test/MC/Disassembler/X86/avx-512.txt | 23 + test/MC/Mips/macro-li.d.s | 443 +++ test/MC/Mips/macro-li.s.s | 198 + test/MC/Sparc/leon-instructions.s | 0 test/MC/SystemZ/insn-bad-z13.s | 146 + test/MC/SystemZ/insn-bad-z196.s | 368 ++ test/MC/SystemZ/insn-bad-zEC12.s | 166 + test/MC/SystemZ/insn-bad.s | 998 +++++ test/MC/SystemZ/insn-good-z13.s | 80 + test/MC/SystemZ/insn-good-z196.s | 336 ++ test/MC/SystemZ/insn-good-zEC12.s | 80 + test/MC/SystemZ/insn-good.s | 2135 +++++++++++ test/MC/WebAssembly/unnamed-data.ll | 53 + test/MC/X86/pr22004.s | 3 + test/MC/X86/x86-64-avx512vpopcntdq.s | 225 ++ test/Other/new-pm-defaults.ll | 1 + test/TableGen/GlobalISelEmitter.td | 66 + test/TableGen/intrinsic-varargs.td | 2 +- test/ThinLTO/X86/Inputs/merge-triple.ll | 1 + test/ThinLTO/X86/merge-triple.ll | 10 + .../CodeExtractor/PartialInlineAlloca.ll | 68 + .../CodeExtractor/PartialInlineAlloca2.ll | 65 + .../CodeExtractor/PartialInlineAlloca4.ll | 67 + .../CodeExtractor/PartialInlineAlloca5.ll | 67 + test/Transforms/Coroutines/coro-catchswitch.ll | 88 + test/Transforms/Coroutines/coro-debug.ll | 142 + test/Transforms/Coroutines/coro-frame.ll | 11 +- test/Transforms/Coroutines/coro-materialize.ll | 52 + test/Transforms/EarlyCSE/const-speculation.ll | 39 + test/Transforms/GVN/PRE/phi-translate-2.ll | 105 + test/Transforms/GVN/PRE/pre-gep-load.ll | 2 +- test/Transforms/GVN/PRE/pre-load.ll | 6 +- test/Transforms/GVNSink/dither.ll | 42 + test/Transforms/GVNSink/indirect-call.ll | 70 + test/Transforms/GVNSink/sink-common-code.ll | 694 ++++ test/Transforms/GVNSink/struct.ll | 71 + test/Transforms/GlobalDCE/externally_available.ll | 19 +- test/Transforms/Inline/inline-hot-callee.ll | 10 +- test/Transforms/Inline/prof-update-instr.ll | 57 + .../{prof-update.ll => prof-update-sample.ll} | 0 .../Transforms/InstCombine/2008-07-10-ICmpBinOp.ll | 19 - .../InstCombine/2008-08-17-ICmpXorSignbit.ll | 87 - .../Transforms/InstCombine/2008-09-29-FoldingOr.ll | 10 - .../{ => AMDGPU}/amdgcn-demanded-vector-elts.ll | 0 .../InstCombine}/NVPTX/lit.local.cfg | 0 .../InstCombine/{ => NVPTX}/nvvm-intrins.ll | 0 test/Transforms/InstCombine/alloca.ll | 7 +- test/Transforms/InstCombine/bitcast-vec-canon.ll | 37 +- test/Transforms/InstCombine/bitcast.ll | 45 + test/Transforms/InstCombine/canonicalize_branch.ll | 513 ++- test/Transforms/InstCombine/cast.ll | 52 + test/Transforms/InstCombine/ctpop.ll | 43 +- test/Transforms/InstCombine/debuginfo-skip.ll | 44 + test/Transforms/InstCombine/icmp-xor-signbit.ll | 228 ++ test/Transforms/InstCombine/icmp.ll | 64 + test/Transforms/InstCombine/intrinsics.ll | 28 + test/Transforms/InstCombine/lshr.ll | 72 + test/Transforms/InstCombine/memchr.ll | 9 + test/Transforms/InstCombine/set.ll | 94 +- test/Transforms/InstCombine/wcslen-1.ll | 191 + test/Transforms/InstCombine/wcslen-2.ll | 18 + test/Transforms/InstCombine/wcslen-3.ll | 197 + test/Transforms/InstSimplify/AndOrXor.ll | 88 +- test/Transforms/InstSimplify/call.ll | 253 +- test/Transforms/InstSimplify/icmp-bool-constant.ll | 171 + test/Transforms/InstSimplify/or.ll | 41 +- test/Transforms/JumpThreading/assume.ll | 173 + test/Transforms/JumpThreading/fold-not-thread.ll | 2 +- test/Transforms/JumpThreading/guards.ll | 97 + test/Transforms/LoopIdiom/pr33114.ll | 35 + .../LoopStrengthReduce/X86/canonical-2.ll | 36 + .../X86/incorrect-offset-scaling.ll | 12 +- .../LoopStrengthReduce/X86/lsr-expand-quadratic.ll | 58 + .../LoopStrengthReduce/lsr-expand-quadratic.ll | 42 - test/Transforms/LoopStrengthReduce/nonintegral.ll | 45 + .../LoopStrengthReduce/post-inc-icmpzero.ll | 4 +- .../AArch64/no_vector_instructions.ll | 49 + test/Transforms/LoopVectorize/AArch64/pr33053.ll | 56 + .../LoopVectorize/AArch64/reduction-small-size.ll | 26 +- .../Transforms/LoopVectorize/SystemZ/addressing.ll | 72 + .../X86/vectorization-remarks-missed.ll | 124 +- test/Transforms/NewGVN/completeness.ll | 432 +++ test/Transforms/NewGVN/pr32403.ll | 3 +- test/Transforms/NewGVN/pr32836.ll | 45 + test/Transforms/NewGVN/pr32838.ll | 157 + test/Transforms/NewGVN/pr32845.ll | 64 + test/Transforms/NewGVN/pr32897.ll | 26 + test/Transforms/NewGVN/pr32934.ll | 1 - test/Transforms/NewGVN/pr32945.ll | 24 + test/Transforms/NewGVN/pr33014.ll | 54 + test/Transforms/NewGVN/pr33086.ll | 59 + test/Transforms/NewGVN/pr33116.ll | 39 + test/Transforms/NewGVN/pr33185.ll | 59 + test/Transforms/NewGVN/storeoverstore.ll | 20 +- .../SLPVectorizer/AArch64/gather-root.ll | 40 +- test/Transforms/SafeStack/X86/coloring-ssp.ll | 2 +- test/Transforms/SafeStack/X86/coloring.ll | 4 +- test/Transforms/SafeStack/X86/coloring2.ll | 4 +- test/Transforms/SafeStack/X86/layout-frag.ll | 2 +- .../SimpleLoopUnswitch/trivial-unswitch.ll | 61 + test/Verifier/fp-intrinsics.ll | 39 +- test/Verifier/module-flags-1.ll | 6 +- test/tools/gold/X86/relocation-model-pic.ll | 63 + test/tools/llvm-config/cflags.test | 2 +- .../Inputs}/cursor_small.bmp | Bin .../Inputs}/okay_small.bmp | Bin test/tools/llvm-cvtres/Inputs/test_resource.rc | 50 + test/tools/llvm-cvtres/Inputs/test_resource.res | Bin 0 -> 2332 bytes test/tools/llvm-cvtres/resource.test | 51 + test/tools/llvm-nm/X86/Inputs/example.lib | Bin 0 -> 2000 bytes test/tools/llvm-nm/X86/importlibrary.test | 7 + test/tools/llvm-profdata/memop-size-prof.proftext | 2 +- tools/gold/gold-plugin.cpp | 6 +- tools/llc/llc.cpp | 4 +- tools/llvm-cvtres/CMakeLists.txt | 1 + tools/llvm-cvtres/llvm-cvtres.cpp | 108 +- tools/llvm-cvtres/llvm-cvtres.h | 6 + tools/llvm-dwp/llvm-dwp.cpp | 2 +- tools/llvm-lto/llvm-lto.cpp | 24 +- tools/llvm-nm/llvm-nm.cpp | 17 +- tools/llvm-pdbdump/Analyze.cpp | 18 +- tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp | 14 +- tools/llvm-pdbdump/C13DebugFragmentVisitor.h | 22 +- tools/llvm-pdbdump/CMakeLists.txt | 3 +- tools/llvm-pdbdump/CompactTypeDumpVisitor.cpp | 12 +- tools/llvm-pdbdump/CompactTypeDumpVisitor.h | 8 +- tools/llvm-pdbdump/LLVMOutputStyle.cpp | 139 +- tools/llvm-pdbdump/LLVMOutputStyle.h | 12 +- tools/llvm-pdbdump/PdbYaml.cpp | 204 +- tools/llvm-pdbdump/PdbYaml.h | 207 +- .../PrettyClassLayoutGraphicalDumper.cpp | 3 +- tools/llvm-pdbdump/YAMLOutputStyle.cpp | 73 +- tools/llvm-pdbdump/YAMLOutputStyle.h | 3 +- tools/llvm-pdbdump/YamlSerializationContext.h | 39 - tools/llvm-pdbdump/YamlSymbolDumper.cpp | 413 --- tools/llvm-pdbdump/YamlSymbolDumper.h | 66 - tools/llvm-pdbdump/YamlTypeDumper.cpp | 614 ---- tools/llvm-pdbdump/YamlTypeDumper.h | 116 - tools/llvm-pdbdump/llvm-pdbdump.cpp | 121 +- tools/llvm-pdbdump/llvm-pdbdump.h | 1 + tools/llvm-profdata/llvm-profdata.cpp | 2 +- tools/llvm-readobj/COFFDumper.cpp | 206 +- tools/llvm-readobj/CodeView.h | 54 - tools/llvm-readobj/ELFDumper.cpp | 1 + tools/obj2yaml/macho2yaml.cpp | 2 + tools/opt/opt.cpp | 12 +- unittests/ADT/APIntTest.cpp | 58 + unittests/ADT/BitVectorTest.cpp | 184 +- unittests/Analysis/ProfileSummaryInfoTest.cpp | 8 + unittests/Analysis/ScalarEvolutionTest.cpp | 88 +- unittests/DebugInfo/CodeView/CMakeLists.txt | 1 + unittests/DebugInfo/CodeView/ErrorChecking.h | 9 + .../DebugInfo/CodeView/RandomAccessVisitorTest.cpp | 82 +- .../DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp | 496 +++ unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | 12 +- unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp | 51 +- unittests/DebugInfo/PDB/TypeServerHandlerTest.cpp | 20 +- unittests/IR/AttributesTest.cpp | 19 + unittests/IR/BasicBlockTest.cpp | 75 + unittests/IR/CMakeLists.txt | 1 + unittests/IR/ConstantsTest.cpp | 17 +- unittests/IR/DominatorTreeTest.cpp | 129 +- unittests/IR/InstructionsTest.cpp | 4 +- unittests/IR/MetadataTest.cpp | 2 +- unittests/Support/BinaryStreamTest.cpp | 62 +- unittests/Support/CMakeLists.txt | 1 + unittests/Support/CrashRecoveryTest.cpp | 83 + unittests/Support/ManagedStatic.cpp | 41 + unittests/Support/ScaledNumberTest.cpp | 6 +- unittests/Target/AArch64/InstSizes.cpp | 3 +- unittests/Transforms/Utils/Cloning.cpp | 11 +- utils/TableGen/AsmMatcherEmitter.cpp | 4 +- utils/TableGen/CMakeLists.txt | 1 + utils/TableGen/CodeGenTarget.cpp | 2 + utils/TableGen/GlobalISelEmitter.cpp | 191 +- utils/TableGen/TableGen.cpp | 6 + utils/TableGen/TableGenBackends.h | 1 + utils/TableGen/X86FoldTablesEmitter.cpp | 727 ++++ utils/abtest.py | 232 ++ utils/abtest/abtest.py | 234 -- utils/abtest/mark_aarch64fns.py | 65 - utils/abtest/mark_armfns.py | 54 - utils/git-svn/git-llvm | 12 + utils/lit/lit/TestRunner.py | 10 +- utils/lit/lit/main.py | 12 +- utils/lit/lit/run.py | 103 +- utils/release/merge-request.sh | 2 +- 1403 files changed, 64188 insertions(+), 26242 deletions(-) create mode 100644 docs/Benchmarking.rst create mode 100644 docs/Proposals/VectorizationPlan.rst create mode 100644 include/llvm/CodeGen/GlobalISel/Localizer.h delete mode 100644 include/llvm/DebugInfo/CodeView/CVTypeDumper.h rename include/llvm/DebugInfo/CodeView/{CVSymbolTypes.def => CodeViewSymbols.def} (100%) rename include/llvm/DebugInfo/CodeView/{TypeRecords.def => CodeViewTypes.def} (100%) create mode 100644 include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h create mode 100644 include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h create mode 100644 include/llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h create mode 100644 include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h create mode 100644 include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h create mode 100644 include/llvm/DebugInfo/CodeView/DebugSubsection.h create mode 100644 include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h create mode 100644 include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h create mode 100644 include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h create mode 100644 include/llvm/DebugInfo/CodeView/DebugUnknownSubsection.h create mode 100644 include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h delete mode 100644 include/llvm/DebugInfo/CodeView/ModuleDebugFileChecksumFragment.h delete mode 100644 include/llvm/DebugInfo/CodeView/ModuleDebugFragment.h delete mode 100644 include/llvm/DebugInfo/CodeView/ModuleDebugFragmentRecord.h delete mode 100644 include/llvm/DebugInfo/CodeView/ModuleDebugFragmentVisitor.h delete mode 100644 include/llvm/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.h delete mode 100644 include/llvm/DebugInfo/CodeView/ModuleDebugLineFragment.h delete mode 100644 include/llvm/DebugInfo/CodeView/ModuleDebugUnknownFragment.h delete mode 100644 include/llvm/DebugInfo/CodeView/RandomAccessTypeVisitor.h delete mode 100644 include/llvm/DebugInfo/CodeView/StringTable.h create mode 100644 include/llvm/DebugInfo/CodeView/TypeCollection.h create mode 100644 include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h create mode 100644 include/llvm/DebugInfo/CodeView/TypeTableCollection.h create mode 100644 include/llvm/IR/DerivedUser.h create mode 100644 include/llvm/Object/COFFModuleDefinition.h create mode 100644 include/llvm/Object/WindowsResource.h create mode 100644 include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h create mode 100644 include/llvm/ObjectYAML/CodeViewYAMLSymbols.h create mode 100644 include/llvm/ObjectYAML/CodeViewYAMLTypes.h create mode 100644 lib/CodeGen/AsmPrinter/DIEHashAttributes.def create mode 100644 lib/CodeGen/GlobalISel/Localizer.cpp delete mode 100644 lib/CodeGen/LiveRangeShrink.cpp delete mode 100644 lib/DebugInfo/CodeView/CVTypeDumper.cpp create mode 100644 lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp create mode 100644 lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp create mode 100644 lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp create mode 100644 lib/DebugInfo/CodeView/DebugLinesSubsection.cpp create mode 100644 lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp create mode 100644 lib/DebugInfo/CodeView/DebugSubsection.cpp create mode 100644 lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp create mode 100644 lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp create mode 100644 lib/DebugInfo/CodeView/DebugSymbolsSubsection.cpp create mode 100644 lib/DebugInfo/CodeView/LazyRandomTypeCollection.cpp delete mode 100644 lib/DebugInfo/CodeView/ModuleDebugFileChecksumFragment.cpp delete mode 100644 lib/DebugInfo/CodeView/ModuleDebugFragment.cpp delete mode 100644 lib/DebugInfo/CodeView/ModuleDebugFragmentRecord.cpp delete mode 100644 lib/DebugInfo/CodeView/ModuleDebugFragmentVisitor.cpp delete mode 100644 lib/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.cpp delete mode 100644 lib/DebugInfo/CodeView/ModuleDebugLineFragment.cpp delete mode 100644 lib/DebugInfo/CodeView/RandomAccessTypeVisitor.cpp delete mode 100644 lib/DebugInfo/CodeView/StringTable.cpp create mode 100644 lib/DebugInfo/CodeView/TypeIndex.cpp create mode 100644 lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp create mode 100644 lib/DebugInfo/CodeView/TypeTableCollection.cpp create mode 100644 lib/Object/COFFImportFile.cpp create mode 100644 lib/Object/COFFModuleDefinition.cpp create mode 100644 lib/Object/WindowsResource.cpp create mode 100644 lib/ObjectYAML/CodeViewYAMLDebugSections.cpp create mode 100644 lib/ObjectYAML/CodeViewYAMLSymbols.cpp create mode 100644 lib/ObjectYAML/CodeViewYAMLTypes.cpp create mode 100644 lib/Support/BinaryStreamRef.cpp delete mode 100644 lib/Target/AArch64/AArch64SchedFalkorWriteRes.td create mode 100644 lib/Target/Nios2/CMakeLists.txt create mode 100644 lib/Target/Nios2/LLVMBuild.txt create mode 100644 lib/Target/Nios2/MCTargetDesc/CMakeLists.txt create mode 100644 lib/Target/Nios2/MCTargetDesc/LLVMBuild.txt create mode 100644 lib/Target/Nios2/MCTargetDesc/Nios2MCTargetDesc.cpp create mode 100644 lib/Target/Nios2/MCTargetDesc/Nios2MCTargetDesc.h create mode 100644 lib/Target/Nios2/Nios2.h create mode 100644 lib/Target/Nios2/Nios2.td create mode 100644 lib/Target/Nios2/Nios2InstrFormats.td create mode 100644 lib/Target/Nios2/Nios2InstrInfo.td create mode 100644 lib/Target/Nios2/Nios2RegisterInfo.td create mode 100644 lib/Target/Nios2/Nios2TargetMachine.cpp create mode 100644 lib/Target/Nios2/Nios2TargetMachine.h create mode 100644 lib/Target/Nios2/TargetInfo/CMakeLists.txt create mode 100644 lib/Target/Nios2/TargetInfo/LLVMBuild.txt create mode 100644 lib/Target/Nios2/TargetInfo/Nios2TargetInfo.cpp mode change 100755 => 100644 lib/Target/Sparc/LeonFeatures.td mode change 100755 => 100644 lib/Target/Sparc/LeonPasses.h mode change 100755 => 100644 lib/Target/Sparc/SparcSchedule.td create mode 100644 lib/Target/SystemZ/SystemZInstrDFP.td create mode 100644 lib/Target/SystemZ/SystemZInstrHFP.td create mode 100644 lib/Transforms/Scalar/GVNSink.cpp create mode 100644 test/Analysis/CFLAliasAnalysis/Andersen/struct.ll delete mode 100644 test/Analysis/CostModel/AArch64/falkor.ll create mode 100644 test/Analysis/CostModel/SystemZ/div-pow2.ll delete mode 100644 test/Analysis/CostModel/X86/ctbits-cost.ll create mode 100644 test/Analysis/CostModel/X86/ctlz.ll create mode 100644 test/Analysis/CostModel/X86/ctpop.ll create mode 100644 test/Analysis/CostModel/X86/cttz.ll create mode 100644 test/Analysis/Delinearization/constant_functions_multi_dim.ll create mode 100644 test/CodeGen/AArch64/GlobalISel/localizer-in-O0-pipeline.mir create mode 100644 test/CodeGen/AArch64/GlobalISel/localizer.mir create mode 100644 test/CodeGen/AArch64/asm-print-comments.ll create mode 100644 test/CodeGen/AArch64/reg-scavenge-frame.mir create mode 100644 test/CodeGen/AMDGPU/bfe-combine.ll create mode 100644 test/CodeGen/AMDGPU/frame-index-elimination.ll create mode 100644 test/CodeGen/AMDGPU/function-args.ll create mode 100644 test/CodeGen/AMDGPU/function-returns.ll create mode 100644 test/CodeGen/AMDGPU/llvm.amdgcn.s.getpc.ll create mode 100644 test/CodeGen/AMDGPU/lshl64-to-32.ll create mode 100644 test/CodeGen/AMDGPU/packed-op-sel.ll create mode 100644 test/CodeGen/AMDGPU/regcoalesce-prune.mir create mode 100644 test/CodeGen/AMDGPU/sdwa-scalar-ops.mir create mode 100644 test/CodeGen/AMDGPU/shl-add-to-add-shl.ll delete mode 100644 test/CodeGen/ARM/adr-hoist.ll delete mode 100644 test/CodeGen/ARM/adr-remat.ll create mode 100644 test/CodeGen/Generic/opt-codegen-no-target-machine.ll create mode 100644 test/CodeGen/Hexagon/mul64-sext.ll delete mode 100644 test/CodeGen/MIR/ARM/PR32721_ifcvt_triangle_unanalyzable.mir create mode 100644 test/CodeGen/Mips/dins.ll create mode 100644 test/CodeGen/Mips/micromips-attr.ll create mode 100644 test/CodeGen/Nios2/lit.local.cfg create mode 100644 test/CodeGen/Nios2/target_support.ll create mode 100644 test/CodeGen/PowerPC/atomics-constant.ll create mode 100644 test/CodeGen/PowerPC/livephysregs.mir create mode 100644 test/CodeGen/PowerPC/logic-ops-on-compares.ll delete mode 100644 test/CodeGen/PowerPC/pristine-and-livein.mir create mode 100644 test/CodeGen/PowerPC/save-bp.ll create mode 100644 test/CodeGen/PowerPC/save-cr-ppc32svr4.ll create mode 100644 test/CodeGen/PowerPC/save-crbp-ppc32svr4.ll create mode 100644 test/CodeGen/PowerPC/testComparesieqsll.ll create mode 100644 test/CodeGen/PowerPC/testComparesiequll.ll create mode 100644 test/CodeGen/PowerPC/testCompareslleqsll.ll create mode 100644 test/CodeGen/PowerPC/testComparesllequll.ll create mode 100644 test/CodeGen/PowerPC/vec_sldwi.ll mode change 100755 => 100644 test/CodeGen/SPARC/LeonCASAInstructionUT.ll mode change 100755 => 100644 test/CodeGen/SPARC/LeonFixAllFDIVSQRTPassUT.ll mode change 100755 => 100644 test/CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll mode change 100755 => 100644 test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll mode change 100755 => 100644 test/CodeGen/SPARC/LeonSMACUMACInstructionUT.ll mode change 100755 => 100644 test/CodeGen/SPARC/sjlj.ll create mode 100644 test/CodeGen/Thumb/machine-cse-physreg.mir create mode 100644 test/CodeGen/X86/GlobalISel/add-vec.ll create mode 100644 test/CodeGen/X86/GlobalISel/legalize-add-v128.mir create mode 100644 test/CodeGen/X86/GlobalISel/legalize-add-v256.mir create mode 100644 test/CodeGen/X86/GlobalISel/legalize-add-v512.mir create mode 100644 test/CodeGen/X86/GlobalISel/legalize-sub-v128.mir create mode 100644 test/CodeGen/X86/GlobalISel/legalize-sub-v256.mir create mode 100644 test/CodeGen/X86/GlobalISel/legalize-sub-v512.mir create mode 100644 test/CodeGen/X86/GlobalISel/regbankselect-X32.mir create mode 100644 test/CodeGen/X86/GlobalISel/select-add-v128.mir create mode 100644 test/CodeGen/X86/GlobalISel/select-add-v256.mir create mode 100644 test/CodeGen/X86/GlobalISel/select-add-v512.mir create mode 100644 test/CodeGen/X86/GlobalISel/select-add-x32.mir create mode 100644 test/CodeGen/X86/GlobalISel/select-leaf-constant.mir create mode 100644 test/CodeGen/X86/GlobalISel/select-memop-v256.mir create mode 100644 test/CodeGen/X86/GlobalISel/select-memop-v512.mir create mode 100644 test/CodeGen/X86/GlobalISel/select-sub-v128.mir create mode 100644 test/CodeGen/X86/GlobalISel/select-sub-v256.mir create mode 100644 test/CodeGen/X86/GlobalISel/select-sub-v512.mir create mode 100644 test/CodeGen/X86/GlobalISel/sub-vec.ll delete mode 100644 test/CodeGen/X86/avx512-mask-bugfix.ll create mode 100644 test/CodeGen/X86/avx512vpopcntdq-intrinsics.ll create mode 100644 test/CodeGen/X86/bitcast-and-setcc-128.ll create mode 100644 test/CodeGen/X86/bitcast-and-setcc-256.ll create mode 100644 test/CodeGen/X86/bitcast-setcc-128.ll create mode 100644 test/CodeGen/X86/bitcast-setcc-256.ll create mode 100644 test/CodeGen/X86/fmsubadd-combine.ll delete mode 100644 test/CodeGen/X86/lrshrink.ll create mode 100644 test/CodeGen/X86/subcarry.ll create mode 100644 test/CodeGen/X86/xchg-nofold.ll create mode 100644 test/DebugInfo/Inputs/split-dwarf-addr-object-relocation.dwo create mode 100644 test/DebugInfo/Inputs/split-dwarf-addr-object-relocation.o create mode 100644 test/DebugInfo/Inputs/split-dwarf-dwp.cpp create mode 100644 test/DebugInfo/Inputs/split-dwarf-dwp.o create mode 100644 test/DebugInfo/Inputs/split-dwarf-dwp.o.dwp create mode 100644 test/DebugInfo/Inputs/split-dwarf-multiple-cu.dwo create mode 100644 test/DebugInfo/Inputs/split-dwarf-multiple-cu.o create mode 100644 test/DebugInfo/MIR/X86/empty-inline.mir create mode 100644 test/DebugInfo/PDB/Inputs/merge-ids-1.yaml create mode 100644 test/DebugInfo/PDB/Inputs/merge-ids-2.yaml create mode 100644 test/DebugInfo/PDB/Inputs/merge-ids-and-types-1.yaml create mode 100644 test/DebugInfo/PDB/Inputs/merge-ids-and-types-2.yaml create mode 100644 test/DebugInfo/PDB/Inputs/merge-types-1.yaml create mode 100644 test/DebugInfo/PDB/Inputs/merge-types-2.yaml create mode 100644 test/DebugInfo/PDB/Inputs/source-names-1.yaml create mode 100644 test/DebugInfo/PDB/Inputs/source-names-2.yaml create mode 100644 test/DebugInfo/PDB/pdbdump-merge-ids-and-types.test create mode 100644 test/DebugInfo/PDB/pdbdump-mergeids.test create mode 100644 test/DebugInfo/PDB/pdbdump-mergetypes.test create mode 100644 test/DebugInfo/PDB/pdbdump-objfilename.yaml create mode 100644 test/DebugInfo/PDB/pdbdump-source-names.test create mode 100644 test/DebugInfo/X86/gnu-public-names-gmlt.ll create mode 100644 test/DebugInfo/X86/split-dwarf-multiple-cu-hash.ll create mode 100644 test/DebugInfo/X86/split-dwarf-omit-empty.ll create mode 100644 test/DebugInfo/omit-empty.ll create mode 100644 test/ExecutionEngine/OrcMCJIT/pr32650.ll create mode 100644 test/ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_debug_frame.s create mode 100644 test/Instrumentation/SanitizerCoverage/chains.ll create mode 100644 test/Instrumentation/SanitizerCoverage/postdominator_check.ll create mode 100644 test/LTO/Resolution/X86/linkonce.ll create mode 100644 test/LTO/Resolution/X86/type-checked-load.ll create mode 100644 test/LTO/X86/Inputs/strip-debug-info-bar.ll delete mode 100644 test/LTO/X86/Inputs/strip-debug-info.bc create mode 100644 test/MC/Disassembler/AMDGPU/exp_vi.txt create mode 100644 test/MC/Disassembler/AMDGPU/sdwa_gfx9.txt create mode 100644 test/MC/Mips/macro-li.d.s create mode 100644 test/MC/Mips/macro-li.s.s mode change 100755 => 100644 test/MC/Sparc/leon-instructions.s create mode 100644 test/MC/WebAssembly/unnamed-data.ll create mode 100644 test/MC/X86/pr22004.s create mode 100644 test/MC/X86/x86-64-avx512vpopcntdq.s create mode 100644 test/ThinLTO/X86/Inputs/merge-triple.ll create mode 100644 test/ThinLTO/X86/merge-triple.ll create mode 100644 test/Transforms/CodeExtractor/PartialInlineAlloca.ll create mode 100644 test/Transforms/CodeExtractor/PartialInlineAlloca2.ll create mode 100644 test/Transforms/CodeExtractor/PartialInlineAlloca4.ll create mode 100644 test/Transforms/CodeExtractor/PartialInlineAlloca5.ll create mode 100644 test/Transforms/Coroutines/coro-catchswitch.ll create mode 100644 test/Transforms/Coroutines/coro-debug.ll create mode 100644 test/Transforms/Coroutines/coro-materialize.ll create mode 100644 test/Transforms/EarlyCSE/const-speculation.ll create mode 100644 test/Transforms/GVN/PRE/phi-translate-2.ll create mode 100644 test/Transforms/GVNSink/dither.ll create mode 100644 test/Transforms/GVNSink/indirect-call.ll create mode 100644 test/Transforms/GVNSink/sink-common-code.ll create mode 100644 test/Transforms/GVNSink/struct.ll create mode 100644 test/Transforms/Inline/prof-update-instr.ll rename test/Transforms/Inline/{prof-update.ll => prof-update-sample.ll} (100%) delete mode 100644 test/Transforms/InstCombine/2008-07-10-ICmpBinOp.ll delete mode 100644 test/Transforms/InstCombine/2008-08-17-ICmpXorSignbit.ll delete mode 100644 test/Transforms/InstCombine/2008-09-29-FoldingOr.ll rename test/Transforms/InstCombine/{ => AMDGPU}/amdgcn-demanded-vector-elts.ll (100%) copy test/{Analysis/DivergenceAnalysis => Transforms/InstCombine}/NVPTX/lit.local. [...] rename test/Transforms/InstCombine/{ => NVPTX}/nvvm-intrins.ll (100%) create mode 100644 test/Transforms/InstCombine/debuginfo-skip.ll create mode 100644 test/Transforms/InstCombine/icmp-xor-signbit.ll create mode 100644 test/Transforms/InstCombine/wcslen-1.ll create mode 100644 test/Transforms/InstCombine/wcslen-2.ll create mode 100644 test/Transforms/InstCombine/wcslen-3.ll create mode 100644 test/Transforms/InstSimplify/icmp-bool-constant.ll create mode 100644 test/Transforms/LoopIdiom/pr33114.ll create mode 100644 test/Transforms/LoopStrengthReduce/X86/canonical-2.ll create mode 100644 test/Transforms/LoopStrengthReduce/X86/lsr-expand-quadratic.ll delete mode 100644 test/Transforms/LoopStrengthReduce/lsr-expand-quadratic.ll create mode 100644 test/Transforms/LoopStrengthReduce/nonintegral.ll create mode 100644 test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll create mode 100644 test/Transforms/LoopVectorize/AArch64/pr33053.ll create mode 100644 test/Transforms/LoopVectorize/SystemZ/addressing.ll create mode 100644 test/Transforms/NewGVN/completeness.ll create mode 100644 test/Transforms/NewGVN/pr32836.ll create mode 100644 test/Transforms/NewGVN/pr32838.ll create mode 100644 test/Transforms/NewGVN/pr32845.ll create mode 100644 test/Transforms/NewGVN/pr32897.ll create mode 100644 test/Transforms/NewGVN/pr32945.ll create mode 100644 test/Transforms/NewGVN/pr33014.ll create mode 100644 test/Transforms/NewGVN/pr33086.ll create mode 100644 test/Transforms/NewGVN/pr33116.ll create mode 100644 test/Transforms/NewGVN/pr33185.ll create mode 100644 test/tools/gold/X86/relocation-model-pic.ll copy test/tools/{llvm-readobj/Inputs/resources => llvm-cvtres/Inputs}/cursor_small [...] copy test/tools/{llvm-readobj/Inputs/resources => llvm-cvtres/Inputs}/okay_small.b [...] create mode 100644 test/tools/llvm-cvtres/Inputs/test_resource.rc create mode 100644 test/tools/llvm-cvtres/Inputs/test_resource.res create mode 100644 test/tools/llvm-cvtres/resource.test create mode 100644 test/tools/llvm-nm/X86/Inputs/example.lib create mode 100644 test/tools/llvm-nm/X86/importlibrary.test delete mode 100644 tools/llvm-pdbdump/YamlSerializationContext.h delete mode 100644 tools/llvm-pdbdump/YamlSymbolDumper.cpp delete mode 100644 tools/llvm-pdbdump/YamlSymbolDumper.h delete mode 100644 tools/llvm-pdbdump/YamlTypeDumper.cpp delete mode 100644 tools/llvm-pdbdump/YamlTypeDumper.h delete mode 100644 tools/llvm-readobj/CodeView.h create mode 100644 unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp create mode 100644 unittests/IR/BasicBlockTest.cpp create mode 100644 unittests/Support/CrashRecoveryTest.cpp create mode 100644 utils/TableGen/X86FoldTablesEmitter.cpp create mode 100755 utils/abtest.py delete mode 100755 utils/abtest/abtest.py delete mode 100755 utils/abtest/mark_aarch64fns.py delete mode 100755 utils/abtest/mark_armfns.py