This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_bmk_tx1/llvm-master-aarch64-spec2k6-Os_LTO in repository toolchain/ci/llvm-project.
from 7ad46cfe415 [NFC][test] Refine tests for branch align adds 7824768b2e7 [mlir][Pass] Add a new `Pass::getArgument` hook adds 9c1842d8aff Change FastISel::CallLoweringInfo::CS to be an ImmutableCal [...] adds a517191a474 [mlir][NFC] Refactor ClassID into a TypeID class. adds efeb35e1956 tsan: disable ASLR in Go test on NetBSD adds 1624be938dd tsan: fix leak of ThreadSignalContext memory mapping when d [...] adds 76503cb3e1b [PDB] Remove defunct PDBFileBuilder::commitFpm declaration. NFC. adds c65e6079fc9 tsan: add newline in test file adds 8340c844aee Analysis.h - remove unused SDNode/SDValue/SelectionDAG forw [...] adds fcabd7530f6 CallingConvLower.h - remove unused llvm::TargetMachine forw [...] adds a2519be0e92 ExecutionDomainFix.h - remove unused llvm::MachineBasicBloc [...] adds 595c28e6182 IntrinsicLowering.h - remove unused llvm::Module forward de [...] adds 6aa85d5214e PredicateInfo.h - remove unused llvm::Instruction/MemoryAcc [...] adds feed674deca [OpenMP] Introduce stream pool to make sure the correctness [...] adds ca23d14fa20 Passes.h - remove unused llvm::LoopPass/Pass/PassInfo forwa [...] adds e3b47c5adc8 OptimizationRemarkEmitter.h - remove unused llvm::DebugLoc/ [...] adds 566359193d8 SyntheticCountsUtils.h - remove unused llvm::CallGraph/Func [...] adds 78730a68400 ObjCARCAnalysisUtils.h - remove unused llvm::raw_ostream fo [...] adds 142dd80d098 PhiValues.h - remove unused llvm::Use forward declaration. NFC. adds 9eacd000cbc Local.h - remove unnecessary Twine.h include. NFC. adds 89f6ca05b74 CodeGen/EdgeBundles - move Twine.h include down into EdgeBu [...] adds 7cc6d0cc90e [TSAN] Fix infinite loop on targets where char is unsigned adds 719846c469e [VPlan] Drop redundant private: at beginning of class defs (NFC). adds 512600e3c0d [PowerPC] Handle f16 as a storage type only adds 5ef2cb3df4c [FormatVariadic] Reduce allocations adds e590bd6b921 [argpromote] Use formatv to simplify code. NFCI. adds 0292ddc7114 [FormatVariadic] Put back return type in an attempt to make [...] adds adb456b8d32 TargetLoweringObjectFileImpl.h - replace MCExpr.h and Modul [...] adds 1318ddbc14c [VectorUtils] rename scaleShuffleMask to narrowShuffleMaskE [...] adds cbcb12fd44d [MLIR] Handle in-place folding properly in greedy pattern r [...] adds 612f23857f3 [scudo][standalone] Work with -Werror=class-memaccess adds cf29333f40e AMDGPU/GlobalISel: Work around forming illegal zextload aft [...] adds 2f7707db025 [mlir][toy][docs] Reword for better sentence flow. NFC adds 3737be8902b [mlir][toy][docs] Fix reference to generated ToyCombine.inc. NFC adds 015ebd2930b [mlir][toy] Fix comment typo. NFC adds 0dbaafaa3a6 [mlir][docs] Explain the EDSC acronym. NFC adds a50df668f68 [clangd] Remove redundant code in test. NFC adds 52dcbcbfe07 Simplify string joins. NFCI. adds d2e5157c1f0 [MC] Add UseIntegratedAssembler = false. NFC adds 0a55d3f557a [MC] Default MCAsmInfo::UseIntegratedAssembler to true adds 470eb62d7bc [libc++][test] Silence "unused variable" warning adds 55de49ac1c3 [mlir][docs] Refactor the layout of the docs folder adds b96b9335aea Use more LLVM_ENABLE_ABI_BREAKING_CHECKS in Error.h adds 11455a79059 [CodeGen] Allow partial tail duplication in Machine Block P [...] adds c5497e53999 AMDGPU/GlobalISel: Fix legalizing <3 x s16> vselects adds 1747ba25b23 GlobalISel: Fix typo in assert message adds d34a91a10f7 [clangd][test] Provide registered targets to lit tests adds 806763efcff [CallSite removal][SelectionDAGBuilder] Use CallBase instea [...] adds 5d5671242eb [clangd] Disable failing target_info test adds 1b76c4cade5 ModuleUtils.h - include and forward declaration cleanup. NFC. adds 89b007037fd [mlir][docs] Remove the MLIR prefix from several titles. adds 4e86e5eedc6 [DenseMap] Add assertion that end() iterator isn't derefenced. adds 21a7d08e72d [X86] Move code that replaces ISD::VSELECT with X86ISD::BLE [...] adds d1da1b53ff8 [X86] Cleanup ISD::BRIND handling code in X86DAGToDAGISel:: [...] adds 75ea9e4e40c [MLIR][NFC] add doc cross links from/to std.alloca adds ac8d51a3c68 AMDGPU/GlobalISel: Legalize 16-bit shift amounts to s16 adds ab31797e166 This is a test commit. adds 61d39b627a8 Revert "This is a test commit." adds 7a45aeacf3a Revert "llvm-dwarfdump: Report errors when failing to parse [...] adds 96819011caa AMDGPU/GlobalISel: Fix RegBankSelect for v2s16 shifts adds 9225ff62789 [lld][WebAssembly] Add test for --export of empty string adds 72ffeb2d38f [LoopTerminology] LCSSA: Fix typo in code sample adds d3465e06912 [X86] Enable shuffle combining for AVX512 unless the root i [...] adds 5b423990297 [CallSite removal][FastISel] Remove uses of CallSite. adds 0031c7f7dab Implement some micro-optimizations for Identifier. NFC adds ed87d9d6434 Change the implementation of mlir::hash_value(Identifier) t [...] adds 4c18e1d3afe [MLIR] add cmake abstraction for translation libraries adds 4956871c0e6 [MLIR] CMake cleanup for mlir-opt adds aef4ec00f99 Change the identifier table in MLIRContext to use StringSet [...] adds d985b0bf5c8 A few cosmetic cleanups to StringMap/StringSet.h, including [...] adds 1fc6efaf6aa [mlir][StorageUniquer] Replace all usages of std::function [...] adds 8938dea44ad [mlir][IR] Manually register command line options for MLIRC [...] adds 3e8de2ed744 [MLIR] Fix MLIR_MAIN_[SRC|INCLUDE]_DIR variables adds 40581a0a2b6 [X86] Use isAnyZero shuffle mask helper where possible. NFC. adds ae1e353a258 [VPlan] Turn classes with all public members into structs (NFC). adds 0bd13e98cb4 ParallelCG.h - replace TargetMachine.h include with forward [...] adds 9ad67737907 SelectionDAGISel.h - remove Pass.h include and forward decl [...] adds c46e65fa803 VirtRegMap.h - remove unnecessary MCRegisterInfo.h include. NFC adds d02bc5e1506 Pass.h - replace StringRef.h include with forward declarati [...] adds 688ac00bb22 IPO.h - replace SmallVector.h include with forward declarat [...] adds 2b74755ec52 TrigramIndex.h - remove unnecessary StringMap.h include. NFC adds 101a69d71b9 [clangd] Reland target_info_test adds c23cbefd9d7 [VectorUtils] add IR-level analysis for widening of shuffle mask adds d04db4825a4 [x86] use vector instructions to lower FP->int->FP casts adds 617b08ff9be Refactor StringMap.h, splitting StringMapEntry out to its o [...] adds d2f1cd5d971 [llvm][NFC] Refactor uses of CallSite to CallBase - call promotion adds 41f13f1f64d reland: [DAG] Fix PR45049: LegalizeTypes crash adds 95192f548d0 [CallSite removal][TargetLowering] Use CallBase instead of [...] adds 42fc7852f53 [X86] Print k-mask in FMA3 comments. adds 8e2daa0c7f2 [NFC] Silence compiler warning [-Wmissing-braces]. adds 672207c319a [clang-tidy] Convert config options that are bools to use t [...] adds 38c271f6f92 [MC][test] Reorganize macro tests adds 4bde7c5986e [NFC] Use VectorType::isScalable to align with ongoing Vect [...] adds cfb844265aa [GlobalOpt] Explicitly set alignment of bool load/store ope [...] adds 89c8ffd5422 NFC: Clean up the implementation of StringPool a bit, and r [...] adds 4d9f5f135fa clang format one more line. adds dbb272b0a3e [CallSite removal][FastISel] Use CallBase instead of CallSi [...] adds decac2d9ea9 [mlir][EnumGen] Generate utility symbolizeEnum and stringif [...] adds aa081721d45 [NFC][PowerPC] Add a new test case early-ret-verify.mir adds eab9a4f1192 [AMDGPU] Don't assert on partial exec copy adds 8dda0f91995 Remove dependency between test files. adds 835c2aa7a68 [MC] Reorganize and improve macro tests adds 42487eafa6c [CallSite removal][CodeGen] Use CallBase instead of Immutab [...] adds 83208cdd57d [CallSite removal][CodeGen] Use CallBase instead of Immutab [...] adds e59162960ce [CallSite removal][CodeGen] Use CallBase instead of Immutab [...] adds 5889c5a8142 [CallSite removal][CodeGen] Use CallBase instead of Immutab [...] adds f06cf9da892 [CallSite removal][CodeGen] Use CallBase instead of CallSit [...] adds 43cf489cf5c [mlir][SymbolDCE][NFC] Fix the visibility of the symbols wi [...] adds 18138e02529 [VPlan] Introduce VPWidenSelectRecipe (NFC). adds 2e8188ff482 [mlir][NFC] Mark a debug only variable as (void) to avoid u [...] adds 06408451bf1 Revert "[SCCP] Use SimplifyBinOp for non-integer constant/e [...] adds 29bb046fe91 [LLDB] Remove xfail aarch64/linux from TestThreadPlanCommands.py adds 813f438baaa [AssumeBundles] adapt Assumption cache to assume bundles adds 41ed5d856c1 [LV] Clean up vectorizeInterleaveGroup (NFCI) adds 48d851a92e9 [clangd] Update TUStatus test to handle async PreambleThread adds 0fffece463b fix some doc typos to cycle bots adds bab5908df54 Normalize working directory when running llvm-mc in test adds 4d62c34402c Typos correction. adds fdd9ff9700a [X86][AVX] Create splitVectorIntBinary helper. adds 39e19588fa2 IVDescriptors.h - include and forward declaration cleanup. NFC. adds ad57286232e CodeMetrics.h - include and forward declaration cleanup. NFC. adds ebd5290ff2b Address sphinx warnings adds ec938c2a830 [X86][AVX] Add some masked variable shuffle tests adds 401cbe373b0 [X86][AVX] Attempt to scale masked shuffles to match the root type adds 072ae7c1e64 [clang-format] Always break line after enum opening brace adds 3b379246c36 [clang-format] A Minor change to clang-format-diff.py adds e8111502d86 [clang-format] use spaces for alignment with UT_ForContinua [...] adds bc78baec4cc [X86] Improve combineVectorShiftImm adds 40f7ab507b3 [llvm-objdump] Fix incomplete relocation output for -D -r mode adds a59ba3384e9 Fix an indent. adds dd3feecd730 [lit] Print substitutions with --show-suites adds 17bc995388f [llvm] Fix more missing FileCheck directive colons adds 8c0f1cf98d8 [llvm] Fix another missing FileCheck colon adds 0b0bb1969fa [llvm] Fix yet more missing FileCheck colons adds 6dbf1a1229b [X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and rem [...] adds e6605a209cc DAG: Fix wrong legality check for ISD::FMAD adds 68eb08646c0 [CallSite removal][GlobalISel] Use CallBase instead of Call [...] adds 4031bb982b7 [OpenMP] Refined CUDA plugin to put all CUDA operations into class adds 01df04fb598 [ADT] Reduce the requirements for the simple loop in DenseM [...] adds 32e6cbe2032 [mlir][spirv] Add missing interface storage classes in serializer adds 353347288bc [CostModel][X86] Remove comments that begin with a filechec [...] adds 31db1e0bd1e [clangd] Send the correct error code when cancelling requests. adds d63036c0efd Reimplement mlir::Identifier to be a wrapper around 'String [...] adds 95e6f5c655f [llvm-xray][test] Combine two AArch64 tests adds 122a6bfb07e [Debugify] Strip added metadata in the -debugify-each pipeline adds 4831f4b7bde [InstCombine] Fix debug variance issue in tryToMoveFreeBefo [...] adds 6b4cd6b62d7 [gn build] (manually) merge 6dbf1a1229ba adds 6cdcb9b4024 [SanCov] Disable whitelist/blacklist test on Darwin. adds a290c3af9dd [mlir][spirv] Improve stride support in array types adds ed6c452edc8 Add missing dependencies on the flang test target adds 8a49ed21333 [mlir][Transforms][docs] Add a description blurb for variou [...] adds 500e03881be [MLIR] NFC clean up simplify-affine-structures test case adds 42ada5fee9f [MLIR] NFC cleanup/modernize memref-dataflow-opt / getNestingDepth adds ec228d722c0 [InstCombine] Use SmallBitVector for convienently checking [...] adds 0d4ec16d3db Extend BasicBlock sections to allow specifying clusters of [...] adds dc89a3efb43 HIP: Fix handling of denormal mode adds 74e6a5b2a3b Eliminate all uses of Identifier::is() in the source tree, [...] adds cc4d7dced9f [AMDGPU] Fix comment for llvm.amdgcn.div.scale. NFC. adds 5c7bbe3659a [MachinePipeliner] Refine the RecMII calculation adds 4ddf7ab454b Revert "Extend BasicBlock sections to allow specifying clus [...] adds 05192e585ce Extend BasicBlock sections to allow specifying clusters of [...] adds 3297e9b7c3d Clean up usages of asserting vector getters in Type adds 359541ed4fd Remove the Identifier::is() method, it is now equivalent to [...] adds a9cb529a841 [mlir][spirv] NFC: use Optional to replace SPV_Optional adds ec99d6e62f0 [mlir][spirv] Add a `spirv::InterfaceVarABIAttr`. adds e823068306e [Support] Add support RTTI support for open class hierarchies. adds 840a23b0b5c [ORC] Update ORCv2 docs to reflect removal of ExecutionSess [...] adds f22fbe3a152 Clean up usages of asserting vector getters in Type adds 596b63ad401 [clangd] Rebuild dependent files when a header is saved. adds eac56724fd9 Fix target_info.test on Windows with a hack adds dffbeffa39f [Support] Fix CMakeLists after e823068306e98e9 adds 03391df90ed [mlir][Linalg] Add loop.parallel lowering for all Linalg Ops. adds 3b2f26ab05a [mlir][Linalg] NFC : Fix check for scalar case handling in [...] adds 2a99e700e0f [mlir][Linalg] NFC: Add utility function to tile, fuse and [...] adds 12c9e2f1110 [LLD] [COFF] Fix alignment of thunks for ARM/ARM64 adds 255cc202ea6 [Support] Add missing files from e823068306e. adds c88a567279a [gn build] Port 255cc202ea6 adds bb0e6cc1dd1 [gn build] Port e823068306e adds 2169568d9f5 [Sanitizer Common] Show command used to launch symbolizer p [...] adds 8efc3ccaf80 [Darwin] Fix a bug where the symbolizer would examine the w [...] adds 89e0662dee5 Make IRBuilder automatically set alignment on load/store/alloca. adds 113f37a1f9e [CallSite removal][TargetLowering] Replace ImmutableCallSit [...] adds 4537ba4978d [libc++] NFC: Remove unused method call adds 215e6bfcfb5 Use a temporary file, to allow running on read-only file systems adds 4d4fef22dac Revert a few unsuccessful attempts at fixing bots. adds f1542efd977 [CHR] Clean up some code and reduce copying. NFCI. adds 9d8c22587b9 [libc++] NFC: Remove unused Lit features in the test suite adds d3588d0814c [mlir][NFC] Replace mlir/Support/Functional.h with llvm equ [...] adds 961914eeb95 [libc++] Mark test failing with macos < 10.13 as unsupported adds d5143e3f102 Remove '<' from test for better yam2obj input consumption adds 5f7a0301628 [libunwind] Enable the new libc++ testing format by default adds cfc002714a2 [AVR] Support aliases in non-zero address space adds 9b1a0d300e5 Fix a typo in the error message for an incorrect prototype. adds ba40896f99f [WebAssembly] Fix try placement in fixing unwind mismatches adds 8c635ba4a84 [CUDA] Fix missed CUDA version mappings. adds a69b3e010c6 [AMDGPU][GlobalISel] Fix div_scale in FDIV lowering adds 10df1563d60 Move ModuleSummaryAnalysis from libAnalysis to libObject to [...] adds 0ba40d4ccf9 AMDGPU/GlobalISel: Combines for V_CVT_F32_UBYTE[0-3] adds 5f9166525b7 [gn build] Port 10df1563d60 adds eab73dfed9b [SVE] Change return type of getNumElements to unsigned adds e27894c99eb [gn build] (manually) merge 10df1563d some more adds 384ca190ae7 Revert "Move ModuleSummaryAnalysis from libAnalysis to libO [...] adds e124e83db68 [gn build] Port 384ca190ae7 adds f3da6b7ab56 Add duplex to R_HEX_GOT_16_X adds f48fe2c36e8 GlobalISel: Fix casted unmerge of G_CONCAT_VECTORS adds d1a677cd33e [VE] Adapt D77995 CallSite removal adds 23f896a096c [lit] Update local test objects "in place" from remote test [...] adds b37b1840eb9 [X86] Add truncate cost model tests to min-legal-vector-wid [...] adds 071c64d68d1 [X86] Add a more accurate truncate cost for v8i64->v8i8 adds 535a566a01e [X86] Split AVX512 getCastInstrCost into tables that requir [...] adds 2f60fbce6cd [X86] Use a more realisitic cost for truncate v16i64->v16i8 [...] adds ac047d9fcea [MLIR] Remove dead affine.applys while generating pointwise copies adds 0a54887dac4 Fix MLIR test case failure caused by 89e0662dee5fa541f284e6 [...] adds 4aae4e3f48b [llvm][NFC] CallSite removal from inliner-related files adds 1beffb92d17 Fix the MLIR integer attribute parser to be correct in the [...] adds 4113e388c82 [XRay] Define uint64_t Address = Sled.Address; NFC adds fe8a2ad4a0e [llvm][NFC][CallSite] Remove CallSite from CGSCCPassManager adds 30430938225 [CallSite removal][CodeGen] Replace ImmutableCallSite with [...] adds 37db04dda67 [VE] Remove unnecessary iz pattern adds 54d13b5b2d9 [libc] Remove <functional> dependency in syscall_test.cpp adds 99aea579284 [libc] Add very basic stdio FILE and fwrite adds 37ac1c19bed [Analyzer][VLASize] Support multi-dimensional arrays. adds 0c61e911007 [SanitizerCoverage] The section name for inline-bool-flag w [...] adds e0dbd025131 [lldb/test] Make TestLoadUnload compatible with windows adds 31c8e118961 [MC][ARM] Emit R_ARM_BASE_PREL for _GLOBAL_OFFSET_TABLE_ ex [...] adds 36c76de6789 [AArch64][SVE] Add a pass for SVE intrinsic optimisations adds 2fff0fd0dcb [gn build] Port 36c76de6789 adds 09331fd742e [LLD][ELF][Test] - Fixed the broken test case. adds f2b5e60dfd0 [Analyzer][StreamChecker] Added evaluation of fseek. adds 1d2b76a8fc3 [AssumeBundles] adapte GVN to assume bundles adds c35194b800c [AssumeBundles] preserve information in LICM adds de4dc275f5d [AssumeBundles] preserve information in NewGVN adds 086de7673e3 [AssumeBundles] preserve knowledge in DSE adds 3bdfa966ecd [AssumeBundles] preserve knowledge in DCE adds 38609fa9e42 Recommit "[SCCP] Use SimplifyBinOp for non-integer constant [...] adds 96573859603 [AST] Dont invalide VarDecl even the default initializaiton [...] adds 58516718fc6 [MLIR] Constant fold multiplies in deriveStaticUpperBound. adds 1647ff6e275 [ADT/STLExtras.h] - Add llvm::is_sorted wrapper and update [...] adds 01cfe88a17d [LLDB] Remove xfail aarch64-linux from test_step_over_load* adds e833e583000 [ValueLattice] Remove unused DataLayout parameter of mergeIn, NFC adds 2c4d914eeba [Test] Add failing test that demonstrates buggy behavior of ADCE adds f0be92ebcd8 [lldb/test] Fix TestLoadUnload adds 426f37584ec [TTI][X86] Add X86TTIImpl::getScalarizationOverhead impleme [...] adds 025641342b9 [libc++] NFC: Minor cleanups in config.py adds 80aea8e4a8d [libc++] Simplify how with_system_cxx_lib and availability [...] adds 440b445fff8 [clang-objc-fuzzer] Add LLVMFuzzerInitialize to fix msvc bu [...]
No new revisions were added by this update.
Summary of changes: .../clang-tidy/bugprone/ArgumentCommentCheck.cpp | 20 +- .../bugprone/NotNullTerminatedResultCheck.cpp | 2 +- .../bugprone/NotNullTerminatedResultCheck.h | 2 +- .../clang-tidy/bugprone/SizeofExpressionCheck.cpp | 8 +- .../clang-tidy/bugprone/StringConstructorCheck.cpp | 2 +- .../bugprone/SuspiciousEnumUsageCheck.cpp | 2 +- .../bugprone/SuspiciousStringCompareCheck.cpp | 5 +- .../clang-tidy/cppcoreguidelines/MacroUsageCheck.h | 4 +- .../NarrowingConversionsCheck.cpp | 4 +- .../SpecialMemberFunctionsCheck.cpp | 8 +- .../clang-tidy/hicpp/MultiwayPathsCoveredCheck.h | 2 +- .../clang-tidy/misc/UnusedParametersCheck.cpp | 2 +- .../clang-tidy/modernize/AvoidBindCheck.cpp | 2 +- .../clang-tidy/modernize/PassByValueCheck.cpp | 2 +- .../clang-tidy/modernize/UseAutoCheck.cpp | 2 +- .../modernize/UseDefaultMemberInitCheck.cpp | 4 +- .../clang-tidy/modernize/UseEmplaceCheck.cpp | 4 +- .../clang-tidy/modernize/UseEqualsDefaultCheck.cpp | 2 +- .../clang-tidy/modernize/UseEqualsDeleteCheck.h | 2 +- .../modernize/UseTransparentFunctorsCheck.cpp | 2 +- .../clang-tidy/performance/ForRangeCopyCheck.cpp | 2 +- .../InefficientStringConcatenationCheck.cpp | 2 +- .../clang-tidy/portability/SIMDIntrinsicsCheck.cpp | 2 +- .../readability/IdentifierNamingCheck.cpp | 4 +- .../InconsistentDeclarationParameterNameCheck.h | 4 +- .../readability/RedundantMemberInitCheck.h | 2 +- .../readability/RedundantSmartptrGetCheck.h | 2 +- .../readability/SimplifyBooleanExprCheck.cpp | 5 +- .../readability/UppercaseLiteralSuffixCheck.cpp | 2 +- clang-tools-extra/clangd/Cancellation.cpp | 17 +- clang-tools-extra/clangd/Cancellation.h | 16 +- clang-tools-extra/clangd/ClangdLSPServer.cpp | 31 +- clang-tools-extra/clangd/ClangdLSPServer.h | 11 +- clang-tools-extra/clangd/ClangdServer.cpp | 4 +- clang-tools-extra/clangd/JSONTransport.cpp | 17 +- clang-tools-extra/clangd/Protocol.cpp | 5 + clang-tools-extra/clangd/Protocol.h | 7 + clang-tools-extra/clangd/TUScheduler.cpp | 7 +- .../clangd/test/initialize-params.test | 6 +- clang-tools-extra/clangd/test/lit.cfg.py | 11 +- clang-tools-extra/clangd/test/target_info.test | 10 +- .../clangd/unittests/CancellationTests.cpp | 11 +- .../clangd/unittests/ClangdLSPServerTests.cpp | 21 + .../clangd/unittests/JSONTransportTests.cpp | 14 +- .../clangd/unittests/SerializationTests.cpp | 3 - .../clangd/unittests/TUSchedulerTests.cpp | 78 +- clang/docs/ClangFormatStyleOptions.rst | 6 +- clang/docs/LanguageExtensions.rst | 2 +- clang/include/clang/Driver/ToolChain.h | 3 +- clang/include/clang/Format/Format.h | 6 +- .../clang/StaticAnalyzer/Core/AnalyzerOptions.h | 4 +- clang/lib/Basic/Cuda.cpp | 4 + clang/lib/CodeGen/CGAtomic.cpp | 5 +- clang/lib/CodeGen/CGBuiltin.cpp | 180 +-- clang/lib/CodeGen/CGExpr.cpp | 3 +- clang/lib/CodeGen/CGExprScalar.cpp | 15 +- clang/lib/CodeGen/CGObjCMac.cpp | 2 +- clang/lib/CodeGen/CodeGenModule.cpp | 3 +- clang/lib/CodeGen/PatternInit.cpp | 11 +- clang/lib/CodeGen/TargetInfo.cpp | 2 +- clang/lib/Driver/ToolChains/AMDGPU.cpp | 14 +- clang/lib/Driver/ToolChains/AMDGPU.h | 3 +- clang/lib/Driver/ToolChains/Clang.cpp | 12 +- clang/lib/Driver/ToolChains/Cuda.cpp | 6 +- clang/lib/Driver/ToolChains/Cuda.h | 3 +- clang/lib/Driver/ToolChains/Linux.cpp | 8 +- clang/lib/Driver/ToolChains/Linux.h | 5 +- clang/lib/Driver/ToolChains/PS4CPU.h | 5 +- clang/lib/Format/BreakableToken.cpp | 7 +- clang/lib/Format/ContinuationIndenter.cpp | 7 +- clang/lib/Format/ContinuationIndenter.h | 21 +- clang/lib/Format/Format.cpp | 4 +- clang/lib/Format/SortJavaScriptImports.cpp | 2 +- clang/lib/Format/UnwrappedLineFormatter.cpp | 4 +- clang/lib/Format/WhitespaceManager.cpp | 59 +- clang/lib/Format/WhitespaceManager.h | 10 +- clang/lib/Sema/Sema.cpp | 10 +- clang/lib/Sema/SemaDecl.cpp | 7 +- .../lib/StaticAnalyzer/Checkers/StreamChecker.cpp | 246 +++- .../lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp | 178 ++- .../StaticAnalyzer/Frontend/CheckerRegistry.cpp | 3 +- clang/lib/Tooling/Syntax/Tokens.cpp | 15 +- clang/test/AST/ast-dump-invalid-initialized.cpp | 19 + clang/test/Analysis/stream-error.c | 31 + clang/test/Analysis/vla.c | 44 +- clang/test/CXX/class.access/p4.cpp | 12 +- clang/test/CXX/drs/dr3xx.cpp | 4 +- clang/test/CXX/special/class.ctor/p5-0x.cpp | 34 +- .../CodeCompletion/invalid-initialized-class.cpp | 15 + clang/test/CodeGen/alias-avr.c | 8 + clang/test/CodeGen/arm_neon_intrinsics.c | 216 +-- clang/test/Driver/cuda-flush-denormals-to-zero.cu | 26 +- clang/test/Driver/rocm-device-libs.cl | 32 +- clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp | 18 +- clang/test/SemaCXX/virtual-base-used.cpp | 19 + clang/test/SemaObjCXX/arc-0x.mm | 40 +- clang/test/Unit/lit.site.cfg.py.in | 14 +- clang/test/lit.cfg.py | 2 +- clang/test/lit.site.cfg.py.in | 18 +- clang/tools/clang-format/clang-format-diff.py | 2 +- clang/tools/clang-fuzzer/ClangObjectiveCFuzzer.cpp | 2 + clang/tools/driver/cc1as_main.cpp | 7 +- clang/unittests/Format/FormatTest.cpp | 316 ++++- .../lib/sanitizer_common/sanitizer_linux.cpp | 4 +- .../sanitizer_common/sanitizer_symbolizer_mac.cpp | 13 +- .../sanitizer_symbolizer_posix_libcdep.cpp | 10 + compiler-rt/lib/scudo/standalone/mutex.h | 2 +- compiler-rt/lib/scudo/standalone/quarantine.h | 7 +- compiler-rt/lib/scudo/standalone/stats.h | 4 +- compiler-rt/lib/tsan/go/buildgo.sh | 4 + .../lib/tsan/rtl/tsan_interceptors_posix.cpp | 7 +- compiler-rt/lib/tsan/rtl/tsan_platform.h | 1 + compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp | 3 + compiler-rt/lib/xray/xray_powerpc64.cpp | 16 +- compiler-rt/lib/xray/xray_x86_64.cpp | 63 +- ...print-stack-trace-in-code-loaded-after-fork.cpp | 60 + .../sanitizer_coverage_whitelist_blacklist.cpp | 2 +- .../TestCases/symbolize_debug_argv.cpp | 9 + compiler-rt/test/tsan/fiber_cleanup.cpp | 71 + flang/test/CMakeLists.txt | 2 +- libc/config/linux/api.td | 9 +- libc/include/CMakeLists.txt | 8 + .../uchar_h.pass.cpp => libc/include/stdio.h.def | 18 +- libc/spec/stdc.td | 17 +- libc/src/CMakeLists.txt | 1 + libc/src/stdio/CMakeLists.txt | 10 + libc/src/stdio/FILE.h | 27 + libc/src/stdio/fwrite.cpp | 30 + libc/src/stdio/fwrite.h | 22 + libc/test/config/linux/x86_64/syscall_test.cpp | 24 +- libc/test/src/CMakeLists.txt | 1 + libc/test/src/stdio/CMakeLists.txt | 14 + libc/test/src/stdio/fwrite_test.cpp | 28 + libc/utils/CPP/CMakeLists.txt | 2 + libc/utils/CPP/Functional.h | 30 + libcxx/docs/DesignDocs/AvailabilityMarkup.rst | 9 +- .../sequences/array/array.zero/db_back.pass.cpp | 2 +- .../sequences/array/array.zero/db_front.pass.cpp | 2 +- .../array/array.zero/db_indexing.pass.cpp | 2 +- .../sequences/list/list.cons/db_copy.pass.cpp | 2 +- .../sequences/list/list.cons/db_move.pass.cpp | 2 +- .../list/list.modifiers/emplace_db1.pass.cpp | 2 +- .../list/list.modifiers/erase_iter_db1.pass.cpp | 2 +- .../list/list.modifiers/erase_iter_db2.pass.cpp | 2 +- .../list.modifiers/erase_iter_iter_db1.pass.cpp | 2 +- .../list.modifiers/erase_iter_iter_db2.pass.cpp | 2 +- .../list.modifiers/erase_iter_iter_db3.pass.cpp | 2 +- .../list.modifiers/erase_iter_iter_db4.pass.cpp | 2 +- .../insert_iter_iter_iter_db1.pass.cpp | 2 +- .../list.modifiers/insert_iter_rvalue_db1.pass.cpp | 2 +- .../insert_iter_size_value_db1.pass.cpp | 2 +- .../list.modifiers/insert_iter_value_db1.pass.cpp | 2 +- .../list/list.modifiers/pop_back_db1.pass.cpp | 2 +- .../list/list.ops/db_splice_pos_list.pass.cpp | 2 +- .../list/list.ops/db_splice_pos_list_iter.pass.cpp | 2 +- .../list.ops/db_splice_pos_list_iter_iter.pass.cpp | 2 +- .../db_associative_container_tests.pass.cpp | 2 +- ...quence_container_iterators.multithread.pass.cpp | 2 +- .../db_sequence_container_iterators.pass.cpp | 2 +- .../libcxx/debug/containers/db_string.pass.cpp | 2 +- .../containers/db_unord_container_tests.pass.cpp | 2 +- libcxx/test/libcxx/debug/db_string_view.pass.cpp | 2 +- libcxx/test/libcxx/debug/debug_abort.pass.cpp | 2 +- .../test/libcxx/debug/debug_helper_test.pass.cpp | 2 +- libcxx/test/libcxx/debug/debug_register.pass.cpp | 2 +- .../test/libcxx/iterators/advance.debug1.pass.cpp | 2 +- libcxx/test/libcxx/iterators/next.debug1.pass.cpp | 2 +- libcxx/test/libcxx/iterators/prev.debug1.pass.cpp | 4 +- .../test/std/depr/depr.c.headers/uchar_h.pass.cpp | 2 +- .../fstreams/filebuf.members/open_path.pass.cpp | 2 +- .../fstreams/fstream.cons/path.pass.cpp | 2 +- .../fstreams/fstream.members/open_path.pass.cpp | 2 +- .../fstreams/ifstream.cons/path.pass.cpp | 2 +- .../fstreams/ifstream.members/open_path.pass.cpp | 2 +- .../fstreams/ofstream.cons/path.pass.cpp | 2 +- .../fstreams/ofstream.members/open_path.pass.cpp | 2 +- .../std/input.output/filesystems/lit.local.cfg | 3 - .../get_long_double_fr_FR.pass.cpp | 2 +- .../get_long_double_ru_RU.pass.cpp | 2 +- .../put_long_double_fr_FR.pass.cpp | 2 +- .../put_long_double_ru_RU.pass.cpp | 2 +- .../locale.moneypunct.byname/curr_symbol.pass.cpp | 2 +- .../locale.moneypunct.byname/grouping.pass.cpp | 2 +- .../locale.moneypunct.byname/neg_format.pass.cpp | 2 +- .../locale.moneypunct.byname/pos_format.pass.cpp | 2 +- .../memory/temporary.buffer/overaligned.pass.cpp | 9 + .../time/time.clock/time.clock.file/now.pass.cpp | 2 +- .../tuple.cnstr/alloc_const_Types.pass.cpp | 2 +- libcxx/utils/libcxx/test/config.py | 67 +- libcxx/utils/libcxx/test/target_info.py | 3 +- libunwind/test/lit.cfg | 9 +- lld/COFF/Chunks.h | 10 +- lld/COFF/DLL.cpp | 16 +- lld/ELF/Arch/Hexagon.cpp | 15 +- lld/test/COFF/arm64-import2.test | 20 +- lld/test/ELF/hexagon-shared.s | 6 + lld/test/ELF/x86-64-tls-gdie.s | 4 +- lld/test/wasm/export-empty.test | 4 + lld/wasm/InputFiles.cpp | 13 +- .../Python/lldbsuite/test/lldbplatformutil.py | 9 +- .../Python/lldbsuite/test/make/Makefile.rules | 2 +- lldb/packages/Python/lldbsuite/test/make/dylib.h | 55 + .../Python/lldbsuite/test/make/test_common.h | 13 +- lldb/test/API/functionalities/load_unload/Makefile | 3 +- .../functionalities/load_unload/TestLoadUnload.py | 64 +- lldb/test/API/functionalities/load_unload/a.cpp | 2 +- lldb/test/API/functionalities/load_unload/b.cpp | 6 +- lldb/test/API/functionalities/load_unload/d.cpp | 6 +- lldb/test/API/functionalities/load_unload/main.cpp | 121 +- .../thread_plan/TestThreadPlanCommands.py | 1 - llvm/cmake/modules/AddLLVM.cmake | 13 +- llvm/docs/CommandGuide/llvm-profdata.rst | 2 +- llvm/docs/CommandGuide/llvm-symbolizer.rst | 5 +- llvm/docs/Extensions.rst | 4 +- llvm/docs/HowToSetUpLLVMStyleRTTI.rst | 55 + llvm/docs/LoopTerminology.rst | 1 - llvm/docs/ORCv2.rst | 40 +- llvm/include/llvm/ADT/CoalescingBitVector.h | 8 +- llvm/include/llvm/ADT/DenseMap.h | 8 +- llvm/include/llvm/ADT/STLExtras.h | 12 + llvm/include/llvm/ADT/StringMap.h | 207 +-- llvm/include/llvm/ADT/StringMapEntry.h | 134 ++ llvm/include/llvm/ADT/StringSet.h | 65 +- llvm/include/llvm/Analysis/AssumptionCache.h | 42 +- llvm/include/llvm/Analysis/CGSCCPassManager.h | 13 +- llvm/include/llvm/Analysis/CodeMetrics.h | 4 +- llvm/include/llvm/Analysis/IVDescriptors.h | 11 - llvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h | 4 - .../llvm/Analysis/OptimizationRemarkEmitter.h | 4 - llvm/include/llvm/Analysis/Passes.h | 3 - llvm/include/llvm/Analysis/PhiValues.h | 1 - llvm/include/llvm/Analysis/SyntheticCountsUtils.h | 3 - llvm/include/llvm/Analysis/Utils/Local.h | 1 - llvm/include/llvm/Analysis/ValueLattice.h | 2 +- llvm/include/llvm/Analysis/VectorUtils.h | 34 +- llvm/include/llvm/CodeGen/Analysis.h | 5 +- llvm/include/llvm/CodeGen/AsmPrinter.h | 4 + llvm/include/llvm/CodeGen/BasicTTIImpl.h | 11 +- llvm/include/llvm/CodeGen/CallingConvLower.h | 1 - llvm/include/llvm/CodeGen/EdgeBundles.h | 1 - llvm/include/llvm/CodeGen/ExecutionDomainFix.h | 1 - llvm/include/llvm/CodeGen/FastISel.h | 14 +- .../include/llvm/CodeGen/GlobalISel/CallLowering.h | 2 +- .../include/llvm/CodeGen/GlobalISel/IRTranslator.h | 3 +- .../GlobalISel/LegalizationArtifactCombiner.h | 35 +- llvm/include/llvm/CodeGen/IntrinsicLowering.h | 1 - llvm/include/llvm/CodeGen/LiveInterval.h | 2 +- llvm/include/llvm/CodeGen/MachineBasicBlock.h | 79 +- llvm/include/llvm/CodeGen/MachineFunction.h | 22 +- llvm/include/llvm/CodeGen/MachinePipeliner.h | 20 +- llvm/include/llvm/CodeGen/ParallelCG.h | 5 +- llvm/include/llvm/CodeGen/SelectionDAGISel.h | 8 - llvm/include/llvm/CodeGen/TargetLowering.h | 25 +- .../llvm/CodeGen/TargetLoweringObjectFileImpl.h | 9 +- llvm/include/llvm/CodeGen/VirtRegMap.h | 1 - .../llvm/DebugInfo/PDB/Native/PDBFileBuilder.h | 1 - llvm/include/llvm/IR/DerivedTypes.h | 2 +- llvm/include/llvm/IR/IRBuilder.h | 42 +- llvm/include/llvm/IR/IntrinsicInst.h | 22 +- llvm/include/llvm/IR/IntrinsicsAMDGPU.td | 4 +- llvm/include/llvm/Pass.h | 2 +- llvm/include/llvm/Support/Error.h | 6 + llvm/include/llvm/Support/ExtensibleRTTI.h | 135 ++ llvm/include/llvm/Support/FormatVariadic.h | 63 +- llvm/include/llvm/Support/LowLevelTypeImpl.h | 14 + llvm/include/llvm/Support/PointerLikeTypeTraits.h | 7 +- llvm/include/llvm/Support/StringPool.h | 197 +-- llvm/include/llvm/Support/TrigramIndex.h | 1 - .../include/llvm/Target/TargetLoweringObjectFile.h | 4 - llvm/include/llvm/Target/TargetSelectionDAG.td | 9 + llvm/include/llvm/Transforms/IPO.h | 2 +- llvm/include/llvm/Transforms/IPO/Inliner.h | 11 +- .../llvm/Transforms/Utils/AssumeBundleBuilder.h | 3 +- .../llvm/Transforms/Utils/CallPromotionUtils.h | 18 +- llvm/include/llvm/Transforms/Utils/Cloning.h | 8 +- llvm/include/llvm/Transforms/Utils/Debugify.h | 6 + llvm/include/llvm/Transforms/Utils/ModuleUtils.h | 4 +- llvm/include/llvm/Transforms/Utils/PredicateInfo.h | 3 - llvm/lib/Analysis/AssumptionCache.cpp | 64 +- llvm/lib/Analysis/BasicAliasAnalysis.cpp | 2 +- llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp | 2 +- llvm/lib/Analysis/CallGraph.cpp | 6 +- llvm/lib/Analysis/CodeMetrics.cpp | 1 + llvm/lib/Analysis/LazyValueInfo.cpp | 8 +- llvm/lib/Analysis/LoopCacheAnalysis.cpp | 8 +- llvm/lib/Analysis/TargetLibraryInfo.cpp | 9 +- llvm/lib/Analysis/VectorUtils.cpp | 67 +- llvm/lib/Bitcode/Writer/ValueEnumerator.cpp | 6 +- llvm/lib/CodeGen/Analysis.cpp | 19 +- llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 91 +- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 +- llvm/lib/CodeGen/BBSectionsPrepare.cpp | 434 +++--- llvm/lib/CodeGen/CodeGenPrepare.cpp | 6 +- llvm/lib/CodeGen/EdgeBundles.cpp | 1 + llvm/lib/CodeGen/GlobalISel/CallLowering.cpp | 37 +- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 19 +- llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp | 2 +- llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp | 2 +- llvm/lib/CodeGen/IntrinsicLowering.cpp | 15 +- llvm/lib/CodeGen/MIRParser/MIParser.cpp | 39 +- llvm/lib/CodeGen/MIRParser/MIRParser.cpp | 2 +- llvm/lib/CodeGen/MIRPrinter.cpp | 16 +- llvm/lib/CodeGen/MachineBasicBlock.cpp | 50 +- llvm/lib/CodeGen/MachineBlockPlacement.cpp | 8 +- llvm/lib/CodeGen/MachineFunction.cpp | 42 +- llvm/lib/CodeGen/MachineStripDebug.cpp | 29 +- llvm/lib/CodeGen/SafeStack.cpp | 27 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 10 +- llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 47 +- .../CodeGen/SelectionDAG/FunctionLoweringInfo.cpp | 8 +- llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | 2 + llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h | 33 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 116 +- .../lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 5 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 15 +- llvm/lib/CodeGen/SwiftErrorValueTracking.cpp | 5 +- llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp | 6 +- llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 52 +- llvm/lib/CodeGen/WinEHPrepare.cpp | 14 +- llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp | 4 +- llvm/lib/Frontend/OpenMP/OMPContext.cpp | 4 +- llvm/lib/IR/AsmWriter.cpp | 6 +- llvm/lib/IR/Attributes.cpp | 23 +- llvm/lib/IR/Function.cpp | 3 +- llvm/lib/IR/Value.cpp | 9 +- llvm/lib/IR/ValueSymbolTable.cpp | 13 +- llvm/lib/MC/MCAsmInfo.cpp | 2 +- llvm/lib/MC/MCAsmInfoCOFF.cpp | 2 - llvm/lib/MC/MCAsmInfoDarwin.cpp | 2 - llvm/lib/MC/MCParser/AsmParser.cpp | 6 +- llvm/lib/MC/MCSubtargetInfo.cpp | 8 +- llvm/lib/Support/CMakeLists.txt | 1 + llvm/lib/Support/ExtensibleRTTI.cpp | 13 + llvm/lib/Support/FormatVariadic.cpp | 4 +- llvm/lib/Support/StringMap.cpp | 52 +- llvm/lib/Support/StringPool.cpp | 24 +- llvm/lib/Support/TrigramIndex.cpp | 1 + llvm/lib/Support/Triple.cpp | 8 +- llvm/lib/Target/AArch64/AArch64.h | 2 + llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 4 +- llvm/lib/Target/AArch64/AArch64TargetMachine.cpp | 10 + llvm/lib/Target/AArch64/CMakeLists.txt | 1 + .../AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp | 2 - llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp | 277 ++++ llvm/lib/Target/AMDGPU/AMDGPUCombine.td | 24 +- .../Target/AMDGPU/AMDGPUFixFunctionBitcasts.cpp | 5 +- llvm/lib/Target/AMDGPU/AMDGPUInline.cpp | 37 +- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 28 +- .../Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp | 54 + llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 30 +- .../Target/AMDGPU/AMDGPUTargetTransformInfo.cpp | 5 +- .../Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp | 2 + llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 20 +- llvm/lib/Target/AMDGPU/SIISelLowering.h | 3 +- .../Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp | 4 +- llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | 3 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 6 +- llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 3 +- .../Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp | 9 +- llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp | 5 - llvm/lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.cpp | 1 - llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h | 2 + llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 4 +- .../Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp | 1 + .../Target/Lanai/MCTargetDesc/LanaiMCAsmInfo.cpp | 3 - .../Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp | 1 - .../lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp | 1 - llvm/lib/Target/Mips/MipsCCState.cpp | 6 +- llvm/lib/Target/Mips/MipsISelLowering.cpp | 2 +- .../Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp | 2 + llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp | 30 +- llvm/lib/Target/NVPTX/NVPTXISelLowering.h | 4 +- .../Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp | 3 +- llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 85 +- llvm/lib/Target/PowerPC/PPCISelLowering.h | 23 +- llvm/lib/Target/PowerPC/PPCInstrVSX.td | 10 + .../Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp | 1 + llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 2 +- .../Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp | 2 - llvm/lib/Target/Sparc/SparcISelLowering.cpp | 12 +- .../SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp | 2 - llvm/lib/Target/TargetLoweringObjectFile.cpp | 6 - llvm/lib/Target/VE/MCTargetDesc/VEMCAsmInfo.cpp | 1 + llvm/lib/Target/VE/VEISelLowering.cpp | 2 +- llvm/lib/Target/VE/VEInstrInfo.td | 13 - .../Target/WebAssembly/WebAssemblyCFGStackify.cpp | 23 +- .../Target/WebAssembly/WebAssemblyISelLowering.cpp | 6 +- llvm/lib/Target/X86/CMakeLists.txt | 1 - llvm/lib/Target/X86/LLVMBuild.txt | 4 +- llvm/lib/Target/X86/MCTargetDesc/CMakeLists.txt | 1 + llvm/lib/Target/X86/MCTargetDesc/LLVMBuild.txt | 2 +- .../Target/X86/MCTargetDesc/X86InstComments.cpp | 12 +- llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp | 10 - .../{Utils => MCTargetDesc}/X86ShuffleDecode.cpp | 0 .../X86/{Utils => MCTargetDesc}/X86ShuffleDecode.h | 0 llvm/lib/Target/X86/Utils/CMakeLists.txt | 3 - llvm/lib/Target/X86/Utils/LLVMBuild.txt | 22 - llvm/lib/Target/X86/X86EvexToVex.cpp | 6 +- llvm/lib/Target/X86/X86FastISel.cpp | 24 +- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 36 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 311 +++-- llvm/lib/Target/X86/X86InstrFMA3Info.cpp | 7 +- llvm/lib/Target/X86/X86InstrFoldTables.cpp | 40 +- llvm/lib/Target/X86/X86InterleavedAccess.cpp | 8 +- llvm/lib/Target/X86/X86IntrinsicsInfo.h | 6 +- llvm/lib/Target/X86/X86MCInstLower.cpp | 2 +- .../Target/X86/X86ShuffleDecodeConstantPool.cpp | 2 +- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 120 +- llvm/lib/Target/X86/X86TargetTransformInfo.h | 1 + .../Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp | 2 + llvm/lib/Transforms/IPO/AlwaysInliner.cpp | 21 +- llvm/lib/Transforms/IPO/ArgumentPromotion.cpp | 10 +- llvm/lib/Transforms/IPO/CalledValuePropagation.cpp | 3 +- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 10 +- llvm/lib/Transforms/IPO/InlineSimple.cpp | 15 +- llvm/lib/Transforms/IPO/Inliner.cpp | 16 +- llvm/lib/Transforms/IPO/PartialInlining.cpp | 81 +- llvm/lib/Transforms/IPO/SampleProfile.cpp | 9 +- .../InstCombine/InstCombineVectorOps.cpp | 7 +- .../InstCombine/InstructionCombining.cpp | 2 +- .../Instrumentation/ControlHeightReduction.cpp | 140 +- .../Instrumentation/IndirectCallPromotion.cpp | 16 +- .../Instrumentation/SanitizerCoverage.cpp | 2 +- llvm/lib/Transforms/Scalar/DCE.cpp | 2 + .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 3 + llvm/lib/Transforms/Scalar/EarlyCSE.cpp | 16 +- llvm/lib/Transforms/Scalar/GVN.cpp | 6 +- llvm/lib/Transforms/Scalar/LICM.cpp | 2 + llvm/lib/Transforms/Scalar/NewGVN.cpp | 5 +- llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp | 2 +- llvm/lib/Transforms/Scalar/SCCP.cpp | 17 +- llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp | 8 +- llvm/lib/Transforms/Utils/CallPromotionUtils.cpp | 100 +- llvm/lib/Transforms/Utils/Debugify.cpp | 55 +- llvm/lib/Transforms/Utils/InlineFunction.cpp | 250 ++-- llvm/lib/Transforms/Utils/VNCoercion.cpp | 2 +- .../Vectorize/LoopVectorizationPlanner.h | 12 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 158 ++- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 6 +- llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h | 10 +- llvm/lib/Transforms/Vectorize/VPlan.cpp | 7 + llvm/lib/Transforms/Vectorize/VPlan.h | 51 +- llvm/lib/Transforms/Vectorize/VPlanTransforms.h | 4 +- llvm/lib/Transforms/Vectorize/VPlanValue.h | 5 +- llvm/lib/Transforms/Vectorize/VPlanVerifier.h | 5 +- llvm/lib/Transforms/Vectorize/VectorCombine.cpp | 17 +- llvm/test/Analysis/BasicAA/featuretest.ll | 253 ++-- .../CostModel/X86/min-legal-vector-width.ll | 28 + llvm/test/Analysis/CostModel/X86/trunc.ll | 8 +- llvm/test/Analysis/CostModel/X86/vselect-cost.ll | 10 +- llvm/test/Bindings/llvm-c/atomics.ll | 2 +- llvm/test/Bindings/llvm-c/echo.ll | 26 +- llvm/test/Bindings/llvm-c/memops.ll | 6 +- llvm/test/CodeGen/AArch64/O3-pipeline.ll | 4 + .../CodeGen/AArch64/sve-intrinsic-opts-ptest.ll | 67 + .../AArch64/sve-intrinsic-opts-reinterpret.ll | 203 +++ .../artifact-combiner-unmerge-values.mir | 326 +++++ llvm/test/CodeGen/AMDGPU/GlobalISel/ashr.ll | 1224 +++++++++++++++++ .../GlobalISel/combine-amdgpu-cvt-f32-ubyte.mir | 600 +++++++++ .../CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll | 1152 ++++++++++++++++ .../AMDGPU/GlobalISel/inst-select-ashr.s16.mir | 6 +- .../AMDGPU/GlobalISel/inst-select-lshr.s16.mir | 6 +- .../AMDGPU/GlobalISel/inst-select-shl.s16.mir | 6 +- .../CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir | 178 ++- .../CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir | 304 ++--- .../CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir | 40 +- .../CodeGen/AMDGPU/GlobalISel/legalize-select.mir | 139 ++ .../CodeGen/AMDGPU/GlobalISel/legalize-sext.mir | 4 +- .../CodeGen/AMDGPU/GlobalISel/legalize-shl.mir | 46 +- llvm/test/CodeGen/AMDGPU/GlobalISel/lshr.ll | 1234 +++++++++++++++++ .../AMDGPU/GlobalISel/regbankselect-ashr.mir | 209 ++- .../AMDGPU/GlobalISel/regbankselect-lshr.mir | 212 ++- .../AMDGPU/GlobalISel/regbankselect-shl.mir | 209 ++- llvm/test/CodeGen/AMDGPU/GlobalISel/shl.ll | 1200 +++++++++++++++++ llvm/test/CodeGen/AMDGPU/GlobalISel/zextload.ll | 217 +++ llvm/test/CodeGen/AMDGPU/branch-relaxation.ll | 2 +- llvm/test/CodeGen/AMDGPU/ds_read2.ll | 4 +- ...fmad-formation-fmul-distribute-denormal-mode.ll | 170 +++ llvm/test/CodeGen/AMDGPU/fmin_legacy.ll | 2 +- .../AMDGPU/optimize-exec-masking-pre-ra.mir | 22 + llvm/test/CodeGen/AMDGPU/salu-to-valu.ll | 2 +- llvm/test/CodeGen/AMDGPU/spill-vgpr-to-agpr.ll | 2 +- .../CodeGen/AMDGPU/widen_extending_scalar_loads.ll | 14 +- llvm/test/CodeGen/ARM/emutls.ll | 2 +- llvm/test/CodeGen/PowerPC/early-ret-verify.mir | 60 + .../CodeGen/PowerPC/handle-f16-storage-type.ll | 200 +++ llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll | 106 +- .../test/CodeGen/X86/avx-intrinsics-x86-upgrade.ll | 14 +- llvm/test/CodeGen/X86/avx512-cvt.ll | 26 +- .../CodeGen/X86/avx512-fma-intrinsics-upgrade.ll | 62 +- llvm/test/CodeGen/X86/avx512-fma-intrinsics.ll | 124 +- llvm/test/CodeGen/X86/avx512-fma.ll | 12 +- .../CodeGen/X86/avx512-intrinsics-canonical.ll | 336 ++--- .../CodeGen/X86/avx512-intrinsics-fast-isel.ll | 240 ++-- llvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll | 48 +- llvm/test/CodeGen/X86/avx512-intrinsics.ll | 52 +- llvm/test/CodeGen/X86/avx512-memfold.ll | 2 +- llvm/test/CodeGen/X86/avx512-scalar_mask.ll | 4 +- .../CodeGen/X86/avx512-shuffles/partial_permute.ll | 13 +- .../CodeGen/X86/avx512vl-intrinsics-canonical.ll | 288 ++-- .../CodeGen/X86/avx512vl-intrinsics-fast-isel.ll | 288 ++-- .../CodeGen/X86/avx512vl-intrinsics-upgrade.ll | 200 +-- llvm/test/CodeGen/X86/avx512vl-intrinsics.ll | 200 +-- .../X86/basicblock-sections-clusters-branches.ll | 65 + .../CodeGen/X86/basicblock-sections-clusters-eh.ll | 89 ++ .../X86/basicblock-sections-clusters-error.ll | 25 + .../CodeGen/X86/basicblock-sections-clusters.ll | 71 + llvm/test/CodeGen/X86/basicblock-sections-cold.ll | 2 +- .../CodeGen/X86/basicblock-sections-directjumps.ll | 4 +- llvm/test/CodeGen/X86/basicblock-sections-eh.ll | 2 +- llvm/test/CodeGen/X86/basicblock-sections-list.ll | 12 +- .../test/CodeGen/X86/basicblock-sections-listbb.ll | 9 +- .../CodeGen/X86/basicblock-sections-mir-parse.mir | 8 +- .../CodeGen/X86/basicblock-sections-mir-print.ll | 9 +- llvm/test/CodeGen/X86/basicblock-sections.ll | 10 +- llvm/test/CodeGen/X86/fma-fneg-combine.ll | 24 +- llvm/test/CodeGen/X86/fma-scalar-combine.ll | 48 +- llvm/test/CodeGen/X86/ftrunc.ll | 14 +- llvm/test/CodeGen/X86/legalize-types-remapid.ll | 15 + llvm/test/CodeGen/X86/midpoint-int-vec-128.ll | 810 ++++++------ llvm/test/CodeGen/X86/midpoint-int-vec-256.ll | 922 ++++++------- llvm/test/CodeGen/X86/midpoint-int-vec-512.ll | 80 +- .../CodeGen/X86/sse2-intrinsics-x86-upgrade.ll | 14 +- llvm/test/CodeGen/X86/sse41.ll | 8 +- llvm/test/CodeGen/X86/tail-dup-partial.ll | 85 ++ llvm/test/CodeGen/X86/vec-strict-inttofp-128.ll | 6 +- llvm/test/CodeGen/X86/vec-strict-inttofp-256.ll | 6 +- llvm/test/CodeGen/X86/vec_int_to_fp.ll | 36 +- llvm/test/CodeGen/X86/vector-fshl-256.ll | 13 +- llvm/test/CodeGen/X86/vector-fshl-512.ll | 83 +- llvm/test/CodeGen/X86/vector-fshl-rot-256.ll | 13 +- llvm/test/CodeGen/X86/vector-fshl-rot-512.ll | 57 +- llvm/test/CodeGen/X86/vector-fshr-256.ll | 13 +- llvm/test/CodeGen/X86/vector-fshr-512.ll | 99 +- llvm/test/CodeGen/X86/vector-fshr-rot-256.ll | 13 +- llvm/test/CodeGen/X86/vector-fshr-rot-512.ll | 57 +- llvm/test/CodeGen/X86/vector-idiv-udiv-512.ll | 98 +- llvm/test/CodeGen/X86/vector-reduce-mul.ll | 130 +- llvm/test/CodeGen/X86/vector-rotate-256.ll | 13 +- llvm/test/CodeGen/X86/vector-rotate-512.ll | 57 +- llvm/test/CodeGen/X86/vector-shift-lshr-256.ll | 13 +- llvm/test/CodeGen/X86/vector-shift-lshr-512.ll | 13 +- llvm/test/CodeGen/X86/vector-shuffle-128-v8.ll | 4 +- .../X86/vector-shuffle-combining-avx512bw.ll | 52 +- .../X86/vector-shuffle-combining-avx512f.ll | 40 +- .../X86/vector-shuffle-combining-avx512vbmi.ll | 34 + llvm/test/CodeGen/X86/vector-shuffle-v1.ll | 10 +- .../X86/dwarfdump-debug-loc-error-cases.s | 12 +- .../X86/dwarfdump-debug-loc-error-cases2.s | 11 +- .../X86/dwarfdump-debug-loclists-error-cases.s | 14 +- .../X86/dwarfdump-debug-loclists-error-cases2.s | 9 +- .../test/DebugInfo/X86/dwarfdump-ranges-baseaddr.s | 2 +- .../X86/dwarfdump-str-offsets-invalid-6.s | 2 +- llvm/test/DebugInfo/debugify-each.ll | 14 +- .../AddressSanitizer/debug-info-alloca.ll | 2 +- .../MemorySanitizer/SystemZ/vararg-kernel.ll | 2 +- .../SanitizerCoverage/inline-8bit-counters.ll | 4 +- .../SanitizerCoverage/inline-bool-flag.ll | 6 +- llvm/test/MC/AArch64/armv8.6a-ecv.s | 2 +- llvm/test/MC/ARM/symbol-variants.s | 16 +- .../{negative_altmacro_string.s => altmacro-err.s} | 0 ...v_altmacro_expression.s => altmacro-expr-err.s} | 0 llvm/test/MC/AsmParser/bad-macro.s | 9 - llvm/test/MC/AsmParser/invalid-input-assertion.s | 9 - .../AsmParser/{macro-args.s => macro-arg-darwin.s} | 0 llvm/test/MC/AsmParser/macro-arg-err.s | 56 + llvm/test/MC/AsmParser/macro-arg.s | 104 ++ ...riable-bad.s => macro-at-pseudo-variable-err.s} | 0 ...seudo-variable.s => macro-at-pseudo-variable.s} | 0 .../AsmParser/macro-def-in-instantiation-darwin.s | 13 + .../test/MC/AsmParser/macro-def-in-instantiation.s | 45 +- .../AsmParser/macro-duplicate-params-names-err.s | 8 - llvm/test/MC/AsmParser/macro-err1.s | 10 - .../MC/AsmParser/macro-qualifier-diagnostics.s | 64 - .../MC/AsmParser/macro-required-argument-err.s | 51 + ...macro-qualifier.s => macro-required-argument.s} | 0 ..._macro_duplication.ll => macro-same-context.ll} | 2 + llvm/test/MC/AsmParser/macro-unknown-directive.s | 19 + llvm/test/MC/AsmParser/macro-vararg-err.s | 17 + llvm/test/MC/AsmParser/macro-vararg.s | 37 + .../macros-argument-parsing-diagnostics.s | 24 - llvm/test/MC/AsmParser/macros-argument-parsing.s | 91 -- llvm/test/MC/AsmParser/macros-gas.s | 105 -- llvm/test/MC/AsmParser/macros-off.s | 30 + llvm/test/MC/AsmParser/macros-parsing.s | 23 - llvm/test/MC/AsmParser/unmatched-if-macro.s | 12 + llvm/test/MC/AsmParser/unmatched-if.s | 5 + llvm/test/MC/AsmParser/vararg.s | 51 - llvm/test/MC/Disassembler/ARM/vstrldr_sys.txt | 38 +- llvm/test/MC/MachO/gen-dwarf.s | 2 +- llvm/test/Transforms/ADCE/broken-loop-info.ll | 30 + llvm/test/Transforms/ArgumentPromotion/dbg.ll | 4 +- llvm/test/Transforms/DCE/basic-preservation.ll | 11 + .../MSSA/simple-preservation.ll | 17 + .../GlobalOpt/shrink-global-to-bool-check-debug.ll | 4 +- .../InstCombine/malloc-free-delete-dbginvar.ll | 22 + llvm/test/Transforms/LICM/pr23608.ll | 63 +- .../LoopInterchange/call-instructions.ll | 2 +- .../first-order-recurrence-complex.ll | 2 +- .../Transforms/NewGVN/2007-07-26-PhiErasure.ll | 41 +- .../Transforms/SCCP/float-nan-simplification.ll | 67 + llvm/test/Transforms/SROA/alignment.ll | 11 +- llvm/test/Transforms/SROA/basictest.ll | 6 +- llvm/test/Transforms/SROA/preserve-nonnull.ll | 2 +- llvm/test/Unit/lit.site.cfg.py.in | 8 +- llvm/test/lit.site.cfg.py.in | 12 +- llvm/test/tools/dsymutil/X86/modules.m | 3 +- .../X86/debug_addr_address_size_not_multiple.s | 2 +- .../X86/debug_addr_invalid_addr_size.s | 2 +- .../X86/debug_addr_reserved_length.s | 2 +- .../X86/debug_addr_segment_selector.s | 2 +- .../X86/debug_addr_small_length_field.s | 2 +- ...ebug_addr_too_small_for_extended_length_field.s | 2 +- .../X86/debug_addr_too_small_for_length_field.s | 2 +- .../X86/debug_addr_too_small_for_section.s | 2 +- .../X86/debug_addr_unsupported_version.s | 2 +- .../test/tools/llvm-dwarfdump/X86/debug_rnglists.s | 5 +- .../llvm-dwarfdump/X86/debug_rnglists_invalid.s | 4 +- .../X86/debug_rnglists_reserved_length.s | 2 +- .../MachO/disassemble-relocs-data-x86_64.test | 113 ++ .../tools/llvm-objdump/XCOFF/disassemble-all.test | 12 +- .../AArch64/extract-instrmap-aarch64-mangled.test | 14 - .../AArch64/extract-instrmap-aarch64.test | 14 - .../tools/llvm-xray/AArch64/extract-instrmap.test | 25 + llvm/tools/llvm-c-test/echo.cpp | 1 + llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp | 3 +- llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp | 17 +- llvm/tools/llvm-exegesis/lib/Target.cpp | 4 +- llvm/tools/llvm-objcopy/ELF/Object.cpp | 3 +- .../llvm-objcopy/MachO/MachOLayoutBuilder.cpp | 19 +- llvm/tools/llvm-objdump/llvm-objdump.cpp | 26 +- llvm/unittests/ADT/SimpleIListTest.cpp | 26 +- llvm/unittests/ADT/StringMapTest.cpp | 14 +- llvm/unittests/ADT/StringSetTest.cpp | 7 +- .../unittests/Analysis/AssumeBundleQueriesTest.cpp | 64 + llvm/unittests/Analysis/ValueLatticeTest.cpp | 22 +- llvm/unittests/Analysis/VectorUtilsTest.cpp | 62 +- llvm/unittests/CodeGen/LowLevelTypeTest.cpp | 20 + llvm/unittests/Support/CMakeLists.txt | 1 + llvm/unittests/Support/ExtensibleRTTITest.cpp | 86 ++ llvm/unittests/Support/ParallelTest.cpp | 2 +- .../Transforms/Utils/CallPromotionUtilsTest.cpp | 51 +- llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn | 1 - llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn | 1 + .../gn/secondary/llvm/lib/Target/AArch64/BUILD.gn | 1 + .../gn/secondary/llvm/lib/Target/X86/BUILD.gn | 2 - .../llvm/lib/Target/X86/MCTargetDesc/BUILD.gn | 2 +- .../secondary/llvm/lib/Target/X86/Utils/BUILD.gn | 8 - .../gn/secondary/llvm/unittests/Support/BUILD.gn | 1 + llvm/utils/lit/lit/main.py | 9 +- llvm/utils/lit/lit/run.py | 8 +- llvm/utils/lit/tests/Inputs/discovery/lit.cfg | 6 + llvm/utils/lit/tests/discovery.py | 5 + llvm/utils/llvm-lit/CMakeLists.txt | 2 +- mlir/CMakeLists.txt | 9 +- mlir/cmake/modules/AddMLIR.cmake | 8 +- mlir/docs/Diagnostics.md | 6 +- mlir/docs/Dialects/SPIR-V.md | 39 +- mlir/docs/EDSC.md | 7 +- mlir/docs/GenericDAGRewriter.md | 2 +- mlir/docs/Interfaces.md | 2 +- mlir/docs/LangRef.md | 2 +- mlir/docs/{WritingAPass.md => PassManagement.md} | 6 +- mlir/docs/Passes.md | 2 +- mlir/docs/Quantization.md | 2 +- .../docs/{ => Rationale}/MLIRForGraphAlgorithms.md | 0 mlir/docs/{ => Rationale}/Rationale.md | 0 .../docs/{ => Rationale}/RationaleLinalgDialect.md | 0 .../RationaleSimplifiedPolyhedralForm.md | 0 mlir/docs/{ => Rationale}/UsageOfConst.md | 0 mlir/docs/ShapeInference.md | 2 +- mlir/docs/Traits.md | 7 +- mlir/docs/{ => Tutorials}/CreatingADialect.md | 0 .../{ => Tutorials}/DefiningAttributesAndTypes.md | 2 +- mlir/docs/{ => Tutorials}/QuickstartRewrites.md | 0 mlir/docs/Tutorials/Toy/Ch-3.md | 2 +- mlir/docs/Tutorials/Toy/Ch-5.md | 4 +- mlir/examples/toy/Ch1/include/toy/Parser.h | 2 +- mlir/examples/toy/Ch2/include/toy/Parser.h | 2 +- mlir/examples/toy/Ch3/include/toy/Parser.h | 2 +- mlir/examples/toy/Ch4/include/toy/Parser.h | 2 +- mlir/examples/toy/Ch5/include/toy/Parser.h | 2 +- mlir/examples/toy/Ch6/include/toy/Parser.h | 2 +- mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp | 2 +- mlir/examples/toy/Ch7/include/toy/Parser.h | 2 +- mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp | 2 +- mlir/include/mlir/Analysis/Utils.h | 2 +- .../Dialect/Linalg/Transforms/LinalgTransforms.h | 13 + mlir/include/mlir/Dialect/SPIRV/LayoutUtils.h | 18 +- mlir/include/mlir/Dialect/SPIRV/SPIRVAttributes.h | 42 +- mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td | 3 - .../mlir/Dialect/SPIRV/SPIRVControlFlowOps.td | 2 +- .../mlir/Dialect/SPIRV/SPIRVNonUniformOps.td | 2 +- mlir/include/mlir/Dialect/SPIRV/SPIRVOps.h | 3 - mlir/include/mlir/Dialect/SPIRV/SPIRVOps.td | 2 +- mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h | 18 +- mlir/include/mlir/Dialect/SPIRV/TargetAndABI.td | 12 - mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 7 +- mlir/include/mlir/IR/AsmState.h | 8 + mlir/include/mlir/IR/AttributeSupport.h | 11 +- mlir/include/mlir/IR/Dialect.h | 16 +- mlir/include/mlir/IR/DialectHooks.h | 8 +- mlir/include/mlir/IR/DialectInterface.h | 12 +- mlir/include/mlir/IR/Identifier.h | 69 +- mlir/include/mlir/IR/Location.h | 12 +- mlir/include/mlir/IR/MLIRContext.h | 10 + mlir/include/mlir/IR/OpBase.td | 7 +- mlir/include/mlir/IR/OpDefinition.h | 20 +- mlir/include/mlir/IR/OperationSupport.h | 20 +- mlir/include/mlir/IR/StorageUniquerSupport.h | 4 +- mlir/include/mlir/IR/TypeSupport.h | 8 +- mlir/include/mlir/Interfaces/SideEffects.h | 20 +- mlir/include/mlir/Pass/AnalysisManager.h | 35 +- mlir/include/mlir/Pass/Pass.h | 41 +- mlir/include/mlir/Pass/PassInstrumentation.h | 19 +- mlir/include/mlir/Pass/PassRegistry.h | 7 +- mlir/include/mlir/Support/Functional.h | 113 -- mlir/include/mlir/Support/STLExtras.h | 17 - mlir/include/mlir/Support/StorageUniquer.h | 37 +- mlir/include/mlir/Support/TypeID.h | 133 ++ mlir/include/mlir/Transforms/FoldUtils.h | 5 +- mlir/include/mlir/Transforms/Passes.td | 87 ++ mlir/lib/Analysis/SliceAnalysis.cpp | 1 - mlir/lib/Analysis/Utils.cpp | 12 +- .../AffineToStandard/AffineToStandard.cpp | 15 +- .../Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp | 6 +- .../Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp | 4 +- .../lib/Conversion/LinalgToSPIRV/LinalgToSPIRV.cpp | 2 +- .../Conversion/LoopToStandard/LoopToStandard.cpp | 1 - mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp | 28 +- .../Conversion/StandardToLLVM/StandardToLLVM.cpp | 14 +- .../Dialect/Affine/Transforms/SuperVectorize.cpp | 4 - mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | 2 +- .../lib/Dialect/GPU/Transforms/MemoryPromotion.cpp | 1 - mlir/lib/Dialect/Linalg/EDSC/Builders.cpp | 4 +- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 5 +- .../Dialect/Linalg/Transforms/LinalgToLoops.cpp | 245 ++-- .../Dialect/Linalg/Transforms/LinalgTransforms.cpp | 49 +- mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp | 5 +- mlir/lib/Dialect/SPIRV/LayoutUtils.cpp | 63 +- mlir/lib/Dialect/SPIRV/SPIRVAttributes.cpp | 94 ++ mlir/lib/Dialect/SPIRV/SPIRVCanonicalization.cpp | 8 +- mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp | 171 ++- mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp | 4 +- mlir/lib/Dialect/SPIRV/SPIRVOps.cpp | 4 +- mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp | 43 +- .../Dialect/SPIRV/Serialization/Deserializer.cpp | 17 +- .../lib/Dialect/SPIRV/Serialization/Serializer.cpp | 40 +- mlir/lib/Dialect/SPIRV/TargetAndABI.cpp | 10 +- .../DecorateSPIRVCompositeTypeLayoutPass.cpp | 5 +- .../SPIRV/Transforms/LowerABIAttributesPass.cpp | 15 +- mlir/lib/Dialect/Vector/EDSC/Builders.cpp | 4 +- mlir/lib/Dialect/Vector/VectorOps.cpp | 11 +- mlir/lib/Dialect/Vector/VectorTransforms.cpp | 20 +- mlir/lib/Dialect/Vector/VectorUtils.cpp | 29 +- mlir/lib/IR/AffineMap.cpp | 1 - mlir/lib/IR/AsmPrinter.cpp | 118 +- mlir/lib/IR/Attributes.cpp | 17 +- mlir/lib/IR/Builders.cpp | 32 +- mlir/lib/IR/CMakeLists.txt | 3 - mlir/lib/IR/Dialect.cpp | 18 +- mlir/lib/IR/Location.cpp | 6 +- mlir/lib/IR/LocationDetail.h | 10 +- mlir/lib/IR/MLIRContext.cpp | 174 ++- mlir/lib/IR/TypeUtilities.cpp | 2 +- mlir/lib/Parser/Parser.cpp | 51 +- mlir/lib/Parser/Token.cpp | 2 +- mlir/lib/Parser/Token.h | 5 +- mlir/lib/Pass/Pass.cpp | 17 +- mlir/lib/Pass/PassManagerOptions.cpp | 24 +- mlir/lib/Pass/PassRegistry.cpp | 8 +- mlir/lib/Pass/PassTiming.cpp | 12 +- mlir/lib/Support/StorageUniquer.cpp | 6 +- mlir/lib/Target/CMakeLists.txt | 10 +- mlir/lib/Transforms/LoopFusion.cpp | 2 +- mlir/lib/Transforms/MemRefDataFlowOpt.cpp | 48 +- mlir/lib/Transforms/Utils/FoldUtils.cpp | 10 +- .../Utils/GreedyPatternRewriteDriver.cpp | 13 +- mlir/lib/Transforms/Utils/LoopUtils.cpp | 11 +- mlir/test/Conversion/GPUToSPIRV/load-store.mlir | 14 +- mlir/test/Conversion/GPUToSPIRV/simple.mlir | 4 +- .../lower-gpu-launch-vulkan-launch.mlir | 8 +- mlir/test/Conversion/LoopsToGPU/parallel_loop.mlir | 12 +- .../Conversion/StandardToSPIRV/std-to-spirv.mlir | 32 +- .../StandardToSPIRV/std-types-to-spirv.mlir | 86 +- .../StandardToSPIRV/subview-to-spirv.mlir | 4 +- .../Dialect/Affine/simplify-affine-structures.mlir | 187 ++- mlir/test/Dialect/Linalg/loops.mlir | 933 ++++++++----- mlir/test/Dialect/Linalg/parallel_loops.mlir | 24 +- mlir/test/Dialect/SPIRV/Serialization/array.mlir | 10 +- .../test/Dialect/SPIRV/Serialization/constant.mlir | 16 +- mlir/test/Dialect/SPIRV/Serialization/loop.mlir | 16 +- .../Dialect/SPIRV/Serialization/memory-ops.mlir | 20 +- mlir/test/Dialect/SPIRV/Serialization/struct.mlir | 18 +- .../Dialect/SPIRV/Transforms/abi-interface.mlir | 9 +- .../Dialect/SPIRV/Transforms/abi-load-store.mlir | 31 +- .../SPIRV/Transforms/layout-decoration.mlir | 12 +- mlir/test/Dialect/SPIRV/control-flow-ops.mlir | 2 +- mlir/test/Dialect/SPIRV/structure-ops.mlir | 20 +- mlir/test/Dialect/SPIRV/target-and-abi.mlir | 37 +- mlir/test/Dialect/SPIRV/types.mlir | 14 +- mlir/test/EDSC/builder-api-test.cpp | 1 - mlir/test/IR/attribute.mlir | 7 +- mlir/test/IR/invalid.mlir | 30 + mlir/test/IR/print-op-on-diagnostic.mlir | 6 +- mlir/test/Target/llvmir.mlir | 5 +- mlir/test/{IR => Transforms}/test-symbol-dce.mlir | 4 +- .../lib/Dialect/Affine/TestVectorizationUtils.cpp | 4 - mlir/test/lib/Dialect/Test/TestDialect.cpp | 2 +- mlir/test/lib/Transforms/TestLoopFusion.cpp | 9 +- mlir/test/mlir-tblgen/predicate.td | 6 +- .../mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp | 1 + mlir/tools/mlir-opt/CMakeLists.txt | 3 - mlir/tools/mlir-opt/mlir-opt.cpp | 9 +- mlir/tools/mlir-tblgen/EnumsGen.cpp | 22 + mlir/tools/mlir-tblgen/PassGen.cpp | 10 +- mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp | 22 +- mlir/tools/mlir-translate/CMakeLists.txt | 7 +- mlir/tools/mlir-translate/mlir-translate.cpp | 4 +- mlir/utils/spirv/gen_spirv_dialect.py | 2 +- openmp/libomptarget/plugins/cuda/src/rtl.cpp | 1380 +++++++++++--------- .../Isl/CodeGen/invariant_load_alias_metadata.ll | 2 +- .../Isl/CodeGen/non-affine-phi-node-expansion-2.ll | 2 +- polly/test/Isl/CodeGen/partial_write_array.ll | 2 +- .../partial_write_impossible_restriction.ll | 4 +- 825 files changed, 20733 insertions(+), 9025 deletions(-) create mode 100644 clang/test/AST/ast-dump-invalid-initialized.cpp create mode 100644 clang/test/CodeCompletion/invalid-initialized-class.cpp create mode 100644 clang/test/CodeGen/alias-avr.c create mode 100644 compiler-rt/test/sanitizer_common/TestCases/Darwin/print-stack- [...] create mode 100644 compiler-rt/test/sanitizer_common/TestCases/symbolize_debug_argv.cpp create mode 100644 compiler-rt/test/tsan/fiber_cleanup.cpp copy libcxx/test/std/depr/depr.c.headers/uchar_h.pass.cpp => libc/include/stdio.h. [...] create mode 100644 libc/src/stdio/CMakeLists.txt create mode 100644 libc/src/stdio/FILE.h create mode 100644 libc/src/stdio/fwrite.cpp create mode 100644 libc/src/stdio/fwrite.h create mode 100644 libc/test/src/stdio/CMakeLists.txt create mode 100644 libc/test/src/stdio/fwrite_test.cpp create mode 100644 libc/utils/CPP/Functional.h create mode 100644 lld/test/wasm/export-empty.test create mode 100644 lldb/packages/Python/lldbsuite/test/make/dylib.h create mode 100644 llvm/include/llvm/ADT/StringMapEntry.h create mode 100644 llvm/include/llvm/Support/ExtensibleRTTI.h create mode 100644 llvm/lib/Support/ExtensibleRTTI.cpp create mode 100644 llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp rename llvm/lib/Target/X86/{Utils => MCTargetDesc}/X86ShuffleDecode.cpp (100%) rename llvm/lib/Target/X86/{Utils => MCTargetDesc}/X86ShuffleDecode.h (100%) delete mode 100644 llvm/lib/Target/X86/Utils/CMakeLists.txt delete mode 100644 llvm/lib/Target/X86/Utils/LLVMBuild.txt create mode 100644 llvm/test/CodeGen/AArch64/sve-intrinsic-opts-ptest.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-intrinsic-opts-reinterpret.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/ashr.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-amdgpu-cvt-f32-ubyte.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/lshr.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/shl.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/zextload.ll create mode 100644 llvm/test/CodeGen/AMDGPU/fmad-formation-fmul-distribute-denorma [...] create mode 100644 llvm/test/CodeGen/PowerPC/early-ret-verify.mir create mode 100644 llvm/test/CodeGen/PowerPC/handle-f16-storage-type.ll create mode 100644 llvm/test/CodeGen/X86/basicblock-sections-clusters-branches.ll create mode 100644 llvm/test/CodeGen/X86/basicblock-sections-clusters-eh.ll create mode 100644 llvm/test/CodeGen/X86/basicblock-sections-clusters-error.ll create mode 100644 llvm/test/CodeGen/X86/basicblock-sections-clusters.ll create mode 100644 llvm/test/CodeGen/X86/tail-dup-partial.ll rename llvm/test/MC/AsmParser/{negative_altmacro_string.s => altmacro-err.s} (100%) rename llvm/test/MC/AsmParser/{negativ_altmacro_expression.s => altmacro-expr-err. [...] delete mode 100644 llvm/test/MC/AsmParser/bad-macro.s delete mode 100644 llvm/test/MC/AsmParser/invalid-input-assertion.s rename llvm/test/MC/AsmParser/{macro-args.s => macro-arg-darwin.s} (100%) create mode 100644 llvm/test/MC/AsmParser/macro-arg-err.s create mode 100644 llvm/test/MC/AsmParser/macro-arg.s rename llvm/test/MC/AsmParser/{at-pseudo-variable-bad.s => macro-at-pseudo-variabl [...] rename llvm/test/MC/AsmParser/{at-pseudo-variable.s => macro-at-pseudo-variable.s} (100%) create mode 100644 llvm/test/MC/AsmParser/macro-def-in-instantiation-darwin.s delete mode 100644 llvm/test/MC/AsmParser/macro-duplicate-params-names-err.s delete mode 100644 llvm/test/MC/AsmParser/macro-err1.s delete mode 100644 llvm/test/MC/AsmParser/macro-qualifier-diagnostics.s create mode 100644 llvm/test/MC/AsmParser/macro-required-argument-err.s rename llvm/test/MC/AsmParser/{macro-qualifier.s => macro-required-argument.s} (100%) rename llvm/test/MC/AsmParser/{inline_macro_duplication.ll => macro-same-context.l [...] create mode 100644 llvm/test/MC/AsmParser/macro-unknown-directive.s create mode 100644 llvm/test/MC/AsmParser/macro-vararg-err.s create mode 100644 llvm/test/MC/AsmParser/macro-vararg.s delete mode 100644 llvm/test/MC/AsmParser/macros-argument-parsing-diagnostics.s delete mode 100644 llvm/test/MC/AsmParser/macros-argument-parsing.s delete mode 100644 llvm/test/MC/AsmParser/macros-gas.s create mode 100644 llvm/test/MC/AsmParser/macros-off.s delete mode 100644 llvm/test/MC/AsmParser/macros-parsing.s create mode 100644 llvm/test/MC/AsmParser/unmatched-if-macro.s create mode 100644 llvm/test/MC/AsmParser/unmatched-if.s delete mode 100644 llvm/test/MC/AsmParser/vararg.s create mode 100644 llvm/test/Transforms/ADCE/broken-loop-info.ll create mode 100644 llvm/test/Transforms/DCE/basic-preservation.ll create mode 100644 llvm/test/Transforms/DeadStoreElimination/MSSA/simple-preservation.ll create mode 100644 llvm/test/Transforms/InstCombine/malloc-free-delete-dbginvar.ll create mode 100644 llvm/test/Transforms/SCCP/float-nan-simplification.ll create mode 100644 llvm/test/tools/llvm-objdump/MachO/disassemble-relocs-data-x86_64.test delete mode 100644 llvm/test/tools/llvm-xray/AArch64/extract-instrmap-aarch64-mang [...] delete mode 100644 llvm/test/tools/llvm-xray/AArch64/extract-instrmap-aarch64.test create mode 100644 llvm/test/tools/llvm-xray/AArch64/extract-instrmap.test create mode 100644 llvm/unittests/Support/ExtensibleRTTITest.cpp delete mode 100644 llvm/utils/gn/secondary/llvm/lib/Target/X86/Utils/BUILD.gn rename mlir/docs/{WritingAPass.md => PassManagement.md} (99%) rename mlir/docs/{ => Rationale}/MLIRForGraphAlgorithms.md (100%) rename mlir/docs/{ => Rationale}/Rationale.md (100%) rename mlir/docs/{ => Rationale}/RationaleLinalgDialect.md (100%) rename mlir/docs/{ => Rationale}/RationaleSimplifiedPolyhedralForm.md (100%) rename mlir/docs/{ => Rationale}/UsageOfConst.md (100%) rename mlir/docs/{ => Tutorials}/CreatingADialect.md (100%) rename mlir/docs/{ => Tutorials}/DefiningAttributesAndTypes.md (99%) rename mlir/docs/{ => Tutorials}/QuickstartRewrites.md (100%) delete mode 100644 mlir/include/mlir/Support/Functional.h create mode 100644 mlir/include/mlir/Support/TypeID.h rename mlir/test/{IR => Transforms}/test-symbol-dce.mlir (95%)