This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-arm-next-allmodconfig in repository toolchain/ci/llvm-project.
from 699bea494c0 llvm-reduce: Simplify testing using -implicit-check-not adds 1e1db800487 [ValueTracking] Factor our common speculation suppression l [...] adds 045b2270ceb When evaluating a __builtin_constant_p conditional, always [...] adds cffa630c809 [Loads] Move generic code out of vectorizer into a location [...] adds c9f5aa99acb Actually reorder not and env in crash-recovery-modules.m adds 6ca76ceb63b Fix a thinko in handling the QSetLogging packet. adds 5fc4bee355a Move LLVM_ENABLE_ABI_BREAKING_CHECKS variables to their own [...] adds 477c1df4b9d llvm-reduce: Add pass to reduce Metadata adds 345fbfd7499 llvm-remove: Remove "using namespace" in header. adds aac114ca140 llvm-reduce: Remove some unused headers/more narrowly include them adds f7b4022db17 [MemorySSA] Do not create memoryaccesses for debug info int [...] adds 244e7384854 Adding support for overriding LLVM_ENABLE_RUNTIMES for runt [...] adds 6a2603c0633 llvm-reduce: Add pass to reduce parameters adds 7b1d793713c Reland "Change the X86 datalayout to add three address spac [...] adds a6e0bef3124 Update ReleaseNotes: add enabling of MemorySSA. adds 2af5b193d5e [AArch64][GlobalISel] Support sibling calls with mismatched [...] adds d40ddb9df26 [clang-format] Apply BAS_AlwaysBreak to C++11 braced lists adds 469d42fcf6b [GlobalISel] When a tail call is emitted in a block, stop t [...] adds f9cc0393b34 [MemorySSA] MemorySSA should not model debuginfo, and need [...] adds 0910a03bc25 Remove xfail NetBSD mark from ignored-interceptors-mmap.cpp adds 8b83f50c034 Remove xfail i386 NetBSD mark in vptr-non-unique-typeinfo.cpp adds f88f46358db [llvm-nm] Add tapi file support adds b2b0ccab2f7 [Object][TextAPI] NFC, fix tapi lit tests adds 9607f5d8020 [clang-scan-deps][NFC] Fix tests - prevent FileCheck matchi [...] adds c856eb0b76b Revert "Adding support for overriding LLVM_ENABLE_RUNTIMES [...] adds 068b3628149 Revert "llvm-reduce: Add pass to reduce parameters" adds 7b4237d3ccb Emit -Wmicrosoft-enum-value warning instead of error in MS ABI adds f0321c094d9 Skip a test in TestProcessIO.py when running against ios devices. adds 9b27586e834 Ah, only skip this for embedded darwin targets. adds 394a8ed8f1a clang-misexpect: Profile Guided Validation of Performance A [...] adds 56a34f4541c [llvm-nm] Fix -DBUILD_SHARED_LIBS=ON builds after D66160/r371576 adds 9ca1b94a6d3 [CodeGen] Add alias for cpu_dispatch function with IFunc & [...] adds 6b1c6c1287d [Debuginfo][Instcombiner] Do not clone dbg.declare. adds 2aace1ea226 [ELF][test] Make tests more tolerant to exact symbol addresses adds 37367646578 [Attributor][Fix] Manifest nocapture only in CSArgument or [...] adds 1d68ed8c24e [Attributor] Implement "noalias" callsite argument deduction adds 27f2b81b6b7 [llvm-objcopy] Simplify --prefix-alloc-sections adds c26b3940c32 [TLI][AMDGPU] AMDPAL does not have library functions adds 6b9df910d04 [LTO] Avoid calling GlobalValue::getGUID (MD5) twice adds 17ea9b463c6 [NFC][ARM] Add and modify tests adds e4961218fd5 [LoopInterchange] Properly move condition, induction increm [...] adds b250d5ff5e7 [LLDB] Do not try to canonicalize gethostname() result adds 73ec745793a [ARM] Take into account -mcpu and -mfpu options while handl [...]
No new revisions were added by this update.
Summary of changes: clang/include/clang/Basic/DiagnosticDriverKinds.td | 3 + .../include/clang/Basic/DiagnosticFrontendKinds.td | 7 +- clang/include/clang/Basic/DiagnosticGroups.td | 1 + clang/lib/AST/ExprConstant.cpp | 104 +++----- clang/lib/Basic/Targets/OSTargets.h | 6 +- clang/lib/Basic/Targets/X86.h | 32 ++- clang/lib/CodeGen/CodeGenAction.cpp | 26 ++ clang/lib/CodeGen/CodeGenModule.cpp | 27 +- clang/lib/Driver/ToolChains/Arch/ARM.cpp | 33 +-- clang/lib/Format/ContinuationIndenter.cpp | 4 +- clang/lib/Frontend/CompilerInvocation.cpp | 3 + clang/lib/Sema/SemaDecl.cpp | 23 +- .../Inputs/header_stat_before_open_cdb.json | 4 +- clang/test/ClangScanDeps/Inputs/no-werror.json | 2 +- clang/test/ClangScanDeps/Inputs/regular_cdb.json | 8 +- .../subframework_header_dir_symlink_cdb.json | 4 +- clang/test/ClangScanDeps/Inputs/symlink_cdb.json | 4 +- .../test/ClangScanDeps/Inputs/vfsoverlay_cdb.json | 2 +- clang/test/ClangScanDeps/error.cpp | 2 +- clang/test/ClangScanDeps/header_stat_before_open.m | 4 +- clang/test/ClangScanDeps/no-werror.cpp | 4 +- clang/test/ClangScanDeps/regular_cdb.cpp | 12 +- .../subframework_header_dir_symlink.m | 10 +- clang/test/ClangScanDeps/symlink.cpp | 8 +- clang/test/ClangScanDeps/vfsoverlay.cpp | 4 +- clang/test/CodeGen/Inputs/thinlto-multi-module.ll | 2 +- clang/test/CodeGen/Inputs/thinlto_backend.ll | 2 +- .../Inputs/thinlto_backend_local_name_conflict1.ll | 2 +- .../Inputs/thinlto_backend_local_name_conflict2.ll | 2 +- clang/test/CodeGen/attr-cpuspecific.c | 62 +++-- clang/test/CodeGen/attr-target-mv-func-ptrs.c | 2 +- clang/test/CodeGen/attr-target-mv-va-args.c | 6 +- clang/test/CodeGen/attr-target-mv.c | 36 +-- clang/test/CodeGen/iamcu-abi.c | 3 +- clang/test/CodeGen/target-data.c | 14 +- ...nlto-diagnostic-handler-remarks-with-hotness.ll | 2 +- .../CodeGen/thinlto-distributed-backend-skip.ll | 2 +- .../test/CodeGen/thinlto-distributed-cfi-devirt.ll | 2 +- clang/test/CodeGen/thinlto-distributed-cfi.ll | 2 +- clang/test/CodeGen/thinlto-distributed.ll | 2 +- clang/test/CodeGen/thinlto-multi-module.ll | 2 +- clang/test/CodeGen/thinlto_backend.ll | 2 +- .../CodeGen/thinlto_backend_local_name_conflict.ll | 2 +- clang/test/CodeGenCXX/attr-cpuspecific.cpp | 6 +- clang/test/CodeGenCXX/attr-target-mv-diff-ns.cpp | 12 +- clang/test/CodeGenCXX/attr-target-mv-inalloca.cpp | 4 +- .../CodeGenCXX/attr-target-mv-member-funcs.cpp | 36 +-- clang/test/CodeGenCXX/attr-target-mv-modules.cpp | 2 +- .../CodeGenCXX/attr-target-mv-out-of-line-defs.cpp | 6 +- clang/test/CodeGenCXX/attr-target-mv-overloads.cpp | 12 +- clang/test/Driver/arm-features.c | 25 +- clang/test/Index/crash-recovery-modules.m | 4 +- .../misexpect-branch-nonconst-expect-arg.proftext | 9 + .../test/Profile/Inputs/misexpect-branch.proftext | 9 + .../Inputs/misexpect-switch-default-only.proftext | 12 + .../Inputs/misexpect-switch-default.proftext | 16 ++ .../Inputs/misexpect-switch-nonconst.proftext | 17 ++ .../test/Profile/Inputs/misexpect-switch.proftext | 16 ++ clang/test/Profile/misexpect-branch-cold.c | 26 ++ .../misexpect-branch-nonconst-expected-val.c | 23 ++ .../test/Profile/misexpect-branch-unpredictable.c | 25 ++ clang/test/Profile/misexpect-branch.c | 28 ++ clang/test/Profile/misexpect-switch-default.c | 40 +++ clang/test/Profile/misexpect-switch-nonconst.c | 43 +++ .../Profile/misexpect-switch-only-default-case.c | 35 +++ clang/test/Profile/misexpect-switch.c | 41 +++ clang/test/Sema/MicrosoftCompatibility.c | 14 +- clang/test/Sema/i-c-e.c | 3 + clang/unittests/Format/FormatTest.cpp | 10 + .../xxhash.cpp => compiler-rt/lib/profile/xxhash.c | 0 compiler-rt/lib/profile/xxhash.h | 47 ++++ .../test/tsan/ignored-interceptors-mmap.cpp | 1 - .../TypeCheck/vptr-non-unique-typeinfo.cpp | 1 - lld/test/COFF/Inputs/bar.ll | 2 +- lld/test/COFF/Inputs/conflict.ll | 2 +- lld/test/COFF/Inputs/constant-export.ll | 2 +- lld/test/COFF/Inputs/entry-mangled.ll | 2 +- lld/test/COFF/Inputs/export.ll | 2 +- lld/test/COFF/Inputs/libcall-archive.ll | 2 +- lld/test/COFF/Inputs/lto-cache.ll | 2 +- lld/test/COFF/Inputs/lto-comdat1.ll | 2 +- lld/test/COFF/Inputs/lto-comdat2.ll | 2 +- lld/test/COFF/Inputs/lto-dep.ll | 2 +- lld/test/COFF/Inputs/lto-lazy-reference-dummy.ll | 2 +- .../COFF/Inputs/lto-lazy-reference-quadruple.ll | 2 +- lld/test/COFF/Inputs/msvclto-order-a.ll | 2 +- lld/test/COFF/Inputs/msvclto-order-b.ll | 2 +- lld/test/COFF/Inputs/thinlto-empty.ll | 2 +- lld/test/COFF/Inputs/thinlto-mangled-qux.ll | 2 +- lld/test/COFF/Inputs/thinlto.ll | 2 +- lld/test/COFF/Inputs/undefined-symbol-lto-a.ll | 2 +- lld/test/COFF/Inputs/undefined-symbol-lto-b.ll | 2 +- lld/test/COFF/Inputs/weak-external.ll | 2 +- lld/test/COFF/Inputs/weak-external2.ll | 2 +- lld/test/COFF/Inputs/weak-external3.ll | 2 +- lld/test/COFF/entrylib.ll | 2 +- lld/test/COFF/guardcf-lto.ll | 2 +- lld/test/COFF/include-lto.ll | 2 +- lld/test/COFF/lib-module-asm.ll | 2 +- lld/test/COFF/libcall-archive.ll | 2 +- lld/test/COFF/loadcfg.ll | 2 +- lld/test/COFF/lto-cache.ll | 2 +- lld/test/COFF/lto-chkstk.ll | 2 +- lld/test/COFF/lto-comdat.ll | 2 +- lld/test/COFF/lto-cpu-string.ll | 2 +- lld/test/COFF/lto-debug-pass-arguments.ll | 2 +- lld/test/COFF/lto-icf.ll | 2 +- lld/test/COFF/lto-lazy-reference.ll | 2 +- lld/test/COFF/lto-linker-opts.ll | 2 +- lld/test/COFF/lto-new-symbol.ll | 2 +- lld/test/COFF/lto-obj-path.ll | 2 +- lld/test/COFF/lto-opt-level.ll | 2 +- lld/test/COFF/lto-parallel.ll | 2 +- lld/test/COFF/lto-reloc-model.ll | 2 +- lld/test/COFF/lto.ll | 2 +- lld/test/COFF/savetemps.ll | 2 +- lld/test/COFF/thinlto-archivecollision.ll | 2 +- lld/test/COFF/thinlto-archives.ll | 2 +- lld/test/COFF/thinlto-emit-imports.ll | 2 +- lld/test/COFF/thinlto-index-only.ll | 2 +- lld/test/COFF/thinlto-mangled.ll | 2 +- lld/test/COFF/thinlto-object-suffix-replace.ll | 2 +- lld/test/COFF/thinlto-prefix-replace.ll | 2 +- lld/test/COFF/thinlto.ll | 2 +- lld/test/COFF/unresolved-lto-bitcode.ll | 2 +- lld/test/COFF/unresolved-lto.ll | 2 +- lld/test/COFF/used-lto.ll | 2 +- lld/test/ELF/lto/Inputs/archive-2.ll | 2 +- lld/test/ELF/lto/Inputs/archive-3.ll | 2 +- lld/test/ELF/lto/Inputs/archive.ll | 2 +- lld/test/ELF/lto/Inputs/asmundef.ll | 2 +- lld/test/ELF/lto/Inputs/available-externally.ll | 2 +- lld/test/ELF/lto/Inputs/cache.ll | 2 +- lld/test/ELF/lto/Inputs/common3.ll | 2 +- lld/test/ELF/lto/Inputs/data-ordering-lto.ll | 2 +- lld/test/ELF/lto/Inputs/defsym-bar.ll | 2 +- lld/test/ELF/lto/Inputs/drop-linkage.ll | 2 +- lld/test/ELF/lto/Inputs/duplicated-name.ll | 2 +- lld/test/ELF/lto/Inputs/i386-empty.ll | 2 +- lld/test/ELF/lto/Inputs/internalize-exportdyn.ll | 2 +- lld/test/ELF/lto/Inputs/internalize-undef.ll | 2 +- lld/test/ELF/lto/Inputs/irmover-error.ll | 2 +- lld/test/ELF/lto/Inputs/irmover-warning.ll | 2 +- lld/test/ELF/lto/Inputs/lazy-internal.ll | 2 +- lld/test/ELF/lto/Inputs/libcall-archive.ll | 2 +- .../ELF/lto/Inputs/linker-script-symbols-ipo.ll | 2 +- lld/test/ELF/lto/Inputs/linkonce-odr.ll | 2 +- lld/test/ELF/lto/Inputs/linkonce.ll | 2 +- lld/test/ELF/lto/Inputs/obj-path.ll | 2 +- lld/test/ELF/lto/Inputs/relocation-model-pic.ll | 2 +- lld/test/ELF/lto/Inputs/save-temps.ll | 2 +- lld/test/ELF/lto/Inputs/start-lib1.ll | 2 +- lld/test/ELF/lto/Inputs/start-lib2.ll | 2 +- lld/test/ELF/lto/Inputs/symbol-ordering-lto.ll | 2 +- lld/test/ELF/lto/Inputs/thin1.ll | 2 +- lld/test/ELF/lto/Inputs/thin2.ll | 2 +- lld/test/ELF/lto/Inputs/thinlto.ll | 2 +- lld/test/ELF/lto/Inputs/thinlto_empty.ll | 2 +- lld/test/ELF/lto/Inputs/type-merge.ll | 2 +- lld/test/ELF/lto/Inputs/type-merge2.ll | 2 +- lld/test/ELF/lto/Inputs/unnamed-addr-drop.ll | 2 +- lld/test/ELF/lto/Inputs/weakodr-visibility.ll | 2 +- lld/test/ELF/lto/Inputs/wrap-bar.ll | 2 +- lld/test/ELF/lto/abs-resol.ll | 2 +- lld/test/ELF/lto/archive-2.ll | 2 +- lld/test/ELF/lto/archive-3.ll | 2 +- lld/test/ELF/lto/archive-no-index.ll | 2 +- lld/test/ELF/lto/archive.ll | 2 +- lld/test/ELF/lto/asmundef.ll | 2 +- lld/test/ELF/lto/available-externally.ll | 2 +- lld/test/ELF/lto/cache.ll | 2 +- lld/test/ELF/lto/codemodel.ll | 2 +- lld/test/ELF/lto/combined-lto-object-name.ll | 2 +- lld/test/ELF/lto/comdat.ll | 2 +- lld/test/ELF/lto/comdat2.ll | 2 +- lld/test/ELF/lto/common.ll | 2 +- lld/test/ELF/lto/common2.ll | 2 +- lld/test/ELF/lto/common3.ll | 2 +- lld/test/ELF/lto/common4.ll | 2 +- lld/test/ELF/lto/cpu-string.ll | 2 +- lld/test/ELF/lto/ctors.ll | 2 +- lld/test/ELF/lto/debugger-tune.ll | 2 +- lld/test/ELF/lto/defsym.ll | 2 +- lld/test/ELF/lto/discard-value-names.ll | 2 +- lld/test/ELF/lto/drop-linkage.ll | 2 +- lld/test/ELF/lto/duplicated-name.ll | 2 +- lld/test/ELF/lto/duplicated.ll | 2 +- lld/test/ELF/lto/dynamic-list.ll | 2 +- lld/test/ELF/lto/dynsym.ll | 2 +- lld/test/ELF/lto/emit-llvm.ll | 2 +- lld/test/ELF/lto/inline-asm.ll | 2 +- lld/test/ELF/lto/internalize-basic.ll | 2 +- lld/test/ELF/lto/internalize-exportdyn.ll | 2 +- lld/test/ELF/lto/internalize-llvmused.ll | 2 +- lld/test/ELF/lto/internalize-undef.ll | 2 +- lld/test/ELF/lto/internalize-version-script.ll | 2 +- lld/test/ELF/lto/irmover-error.ll | 2 +- lld/test/ELF/lto/irmover-warning.ll | 2 +- lld/test/ELF/lto/keep-undefined.ll | 2 +- lld/test/ELF/lto/lazy-internal.ll | 2 +- lld/test/ELF/lto/libcall-archive.ll | 2 +- lld/test/ELF/lto/linkage.ll | 2 +- lld/test/ELF/lto/linker-script-symbols-assign.ll | 2 +- lld/test/ELF/lto/linker-script-symbols-ipo.ll | 2 +- lld/test/ELF/lto/linker-script-symbols.ll | 2 +- lld/test/ELF/lto/linkonce-odr.ll | 2 +- lld/test/ELF/lto/linkonce.ll | 2 +- lld/test/ELF/lto/lto-start.ll | 2 +- lld/test/ELF/lto/ltopasses-basic.ll | 2 +- lld/test/ELF/lto/ltopasses-custom.ll | 2 +- lld/test/ELF/lto/metadata.ll | 2 +- lld/test/ELF/lto/mix-platforms.ll | 2 +- lld/test/ELF/lto/mix-platforms2.ll | 2 +- lld/test/ELF/lto/module-asm.ll | 2 +- lld/test/ELF/lto/new-pass-manager.ll | 2 +- lld/test/ELF/lto/obj-path.ll | 2 +- lld/test/ELF/lto/opt-level.ll | 2 +- lld/test/ELF/lto/opt-remarks.ll | 2 +- lld/test/ELF/lto/parallel-internalize.ll | 2 +- lld/test/ELF/lto/parallel.ll | 2 +- lld/test/ELF/lto/pic.ll | 2 +- lld/test/ELF/lto/relax-relocs.ll | 2 +- lld/test/ELF/lto/relocatable.ll | 2 +- lld/test/ELF/lto/relocation-model.ll | 2 +- lld/test/ELF/lto/resolution.ll | 2 +- lld/test/ELF/lto/sample-profile.ll | 2 +- lld/test/ELF/lto/save-temps.ll | 2 +- lld/test/ELF/lto/section-name.ll | 2 +- lld/test/ELF/lto/setting-dso-local.ll | 2 +- lld/test/ELF/lto/shlib-undefined.ll | 2 +- lld/test/ELF/lto/start-lib.ll | 2 +- lld/test/ELF/lto/thin-archivecollision.ll | 2 +- lld/test/ELF/lto/thinlto-cant-write-index.ll | 2 +- lld/test/ELF/lto/thinlto-debug-fission.ll | 2 +- lld/test/ELF/lto/thinlto-emit-imports.ll | 2 +- lld/test/ELF/lto/thinlto-index-file.ll | 2 +- lld/test/ELF/lto/thinlto-index-only.ll | 2 +- lld/test/ELF/lto/thinlto-no-index.ll | 2 +- lld/test/ELF/lto/thinlto-obj-path.ll | 2 +- lld/test/ELF/lto/thinlto-object-suffix-replace.ll | 2 +- lld/test/ELF/lto/thinlto-prefix-replace.ll | 2 +- lld/test/ELF/lto/thinlto.ll | 2 +- lld/test/ELF/lto/timepasses.ll | 2 +- lld/test/ELF/lto/tls-mixed.ll | 2 +- lld/test/ELF/lto/tls-preserve.ll | 2 +- lld/test/ELF/lto/type-merge.ll | 2 +- lld/test/ELF/lto/type-merge2.ll | 2 +- lld/test/ELF/lto/undef-mixed.ll | 2 +- lld/test/ELF/lto/undef-weak.ll | 2 +- lld/test/ELF/lto/undef.ll | 2 +- lld/test/ELF/lto/undefined-puts.ll | 2 +- lld/test/ELF/lto/unnamed-addr-comdat.ll | 2 +- lld/test/ELF/lto/unnamed-addr-drop.ll | 2 +- lld/test/ELF/lto/unnamed-addr-lib.ll | 2 +- lld/test/ELF/lto/unnamed-addr.ll | 2 +- lld/test/ELF/lto/verify-invalid.ll | 2 +- lld/test/ELF/lto/version-script.ll | 2 +- lld/test/ELF/lto/version-script2.ll | 2 +- lld/test/ELF/lto/visibility.ll | 2 +- lld/test/ELF/lto/weak.ll | 2 +- lld/test/ELF/lto/weakodr-visibility.ll | 2 +- lld/test/ELF/lto/wrap-1.ll | 2 +- lld/test/ELF/lto/wrap-2.ll | 2 +- lld/test/ELF/relocation-copy-flags.s | 2 +- lld/test/ELF/relocation-copy-relro.s | 16 +- lld/test/ELF/tls-opt.s | 44 ++-- lld/test/ELF/undef-with-plt-addr.s | 2 +- lld/test/ELF/x86-64-gotpc-relax-nopic.s | 40 +-- lld/test/ELF/x86-64-plt-high-addr.s | 2 +- lld/test/ELF/x86-64-plt.s | 78 +++--- lld/test/ELF/x86-64-tls-gdie.s | 24 +- lld/test/ELF/ztext.s | 2 +- lld/test/wasm/lto/incompatible.ll | 2 +- .../test/python_api/process/io/TestProcessIO.py | 1 + lldb/source/Host/posix/HostInfoPosix.cpp | 13 +- lldb/tools/debugserver/source/RNBRemote.cpp | 6 +- llvm/docs/ReleaseNotes.rst | 1 + llvm/include/llvm/Analysis/Loads.h | 13 + llvm/include/llvm/Analysis/ValueTracking.h | 7 + .../include/llvm/CodeGen/GlobalISel/CallLowering.h | 18 ++ .../include/llvm/CodeGen/GlobalISel/IRTranslator.h | 4 + llvm/include/llvm/IR/DiagnosticInfo.h | 22 +- llvm/include/llvm/IR/FixedMetadataKinds.def | 1 + llvm/include/llvm/IR/MDBuilder.h | 5 + llvm/include/llvm/Object/TapiFile.h | 3 + llvm/include/llvm/Target/TargetMachine.h | 2 +- llvm/include/llvm/TextAPI/MachO/Architecture.def | 26 +- llvm/include/llvm/TextAPI/MachO/Architecture.h | 5 +- llvm/include/llvm/Transforms/Utils/MisExpect.h | 43 +++ llvm/lib/Analysis/Loads.cpp | 50 ++++ llvm/lib/Analysis/MemorySSA.cpp | 11 +- llvm/lib/Analysis/TargetLibraryInfo.cpp | 14 +- llvm/lib/Analysis/ValueTracking.cpp | 19 +- llvm/lib/CodeGen/GlobalISel/CallLowering.cpp | 69 +++++ llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 17 +- llvm/lib/IR/DiagnosticInfo.cpp | 11 + llvm/lib/IR/MDBuilder.cpp | 12 + llvm/lib/LTO/LTO.cpp | 3 +- llvm/lib/Object/TapiFile.cpp | 2 +- llvm/lib/Support/ABIBreak.cpp | 24 ++ llvm/lib/Support/CMakeLists.txt | 1 + llvm/lib/Support/Error.cpp | 15 -- llvm/lib/Target/AArch64/AArch64CallLowering.cpp | 72 +++-- llvm/lib/Target/AArch64/AArch64CallLowering.h | 11 +- llvm/lib/Target/X86/X86TargetMachine.cpp | 17 +- llvm/lib/Target/X86/X86TargetMachine.h | 3 + llvm/lib/TextAPI/MachO/Architecture.cpp | 25 +- llvm/lib/TextAPI/MachO/TextStubCommon.cpp | 2 +- llvm/lib/Transforms/IPO/Attributor.cpp | 64 ++++- llvm/lib/Transforms/IPO/SampleProfile.cpp | 3 + .../InstCombine/InstructionCombining.cpp | 15 ++ .../Instrumentation/PGOInstrumentation.cpp | 4 + llvm/lib/Transforms/Scalar/LoopInterchange.cpp | 61 ++++- .../lib/Transforms/Scalar/LowerExpectIntrinsic.cpp | 31 ++- llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | 5 +- llvm/lib/Transforms/Utils/CMakeLists.txt | 1 + llvm/lib/Transforms/Utils/MisExpect.cpp | 177 +++++++++++++ .../Vectorize/LoopVectorizationLegality.cpp | 66 ----- llvm/test/Analysis/MemorySSA/debugvalue2.ll | 54 ++++ .../GlobalISel/call-translator-tail-call.ll | 37 ++- llvm/test/CodeGen/AArch64/tailcall-ccmismatch.ll | 1 + .../CodeGen/ARM/ParallelDSP/complex_dot_prod.ll | 120 +++++++++ .../CodeGen/ARM/ParallelDSP/unroll-n-jam-smlad.ll | 16 +- llvm/test/LTO/Resolution/X86/Inputs/alias-1.ll | 2 +- .../LTO/Resolution/X86/Inputs/alias-alias-1.ll | 2 +- .../LTO/Resolution/X86/Inputs/appending-var-2.ll | 2 +- .../LTO/Resolution/X86/Inputs/comdat-mixed-lto.ll | 2 +- llvm/test/LTO/Resolution/X86/Inputs/comdat.ll | 2 +- llvm/test/LTO/Resolution/X86/Inputs/common2.ll | 2 +- llvm/test/LTO/Resolution/X86/Inputs/commons.ll | 2 +- .../LTO/Resolution/X86/Inputs/dead-strip-alias.ll | 2 +- .../Resolution/X86/Inputs/dead-strip-fulllto.ll | 2 +- llvm/test/LTO/Resolution/X86/Inputs/intrinsic.ll | 2 +- .../X86/Inputs/link-odr-availextern-ae.ll | 2 +- .../X86/Inputs/link-odr-availextern-odr.ll | 2 +- llvm/test/LTO/Resolution/X86/Inputs/mixed_lto.ll | 2 +- .../test/LTO/Resolution/X86/Inputs/mod-asm-used.ll | 2 +- .../LTO/Resolution/X86/Inputs/not-prevailing.ll | 2 +- llvm/test/LTO/Resolution/X86/alias-alias.ll | 2 +- llvm/test/LTO/Resolution/X86/alias.ll | 2 +- llvm/test/LTO/Resolution/X86/appending-var.ll | 2 +- llvm/test/LTO/Resolution/X86/asm-output.ll | 2 +- .../LTO/Resolution/X86/available-externally.ll | 2 +- llvm/test/LTO/Resolution/X86/cache-dso-local.ll | 2 +- llvm/test/LTO/Resolution/X86/cache-dso-local2.ll | 2 +- llvm/test/LTO/Resolution/X86/cache-prevailing.ll | 2 +- llvm/test/LTO/Resolution/X86/comdat-mixed-lto.ll | 2 +- llvm/test/LTO/Resolution/X86/comdat.ll | 2 +- llvm/test/LTO/Resolution/X86/common2.ll | 2 +- llvm/test/LTO/Resolution/X86/commons.ll | 2 +- llvm/test/LTO/Resolution/X86/dead-strip-alias.ll | 2 +- llvm/test/LTO/Resolution/X86/dead-strip-fulllto.ll | 2 +- .../X86/diagnostic-handler-remarks-with-hotness.ll | 2 +- .../Resolution/X86/diagnostic-handler-remarks.ll | 2 +- llvm/test/LTO/Resolution/X86/export-jumptable.ll | 2 +- .../X86/function-alias-non-prevailing.ll | 2 +- llvm/test/LTO/Resolution/X86/ifunc.ll | 2 +- llvm/test/LTO/Resolution/X86/intrinsic.ll | 2 +- .../LTO/Resolution/X86/link-odr-availextern.ll | 2 +- llvm/test/LTO/Resolution/X86/linker-redef-thin.ll | 2 +- llvm/test/LTO/Resolution/X86/linker-redef.ll | 2 +- llvm/test/LTO/Resolution/X86/linkonce.ll | 2 +- .../LTO/Resolution/X86/load-sample-prof-icp.ll | 2 +- .../LTO/Resolution/X86/load-sample-prof-lto.ll | 2 +- llvm/test/LTO/Resolution/X86/load-sample-prof.ll | 2 +- .../test/LTO/Resolution/X86/local-def-dllimport.ll | 2 +- llvm/test/LTO/Resolution/X86/lowertypetests.ll | 2 +- llvm/test/LTO/Resolution/X86/lto-unit-check.ll | 2 +- llvm/test/LTO/Resolution/X86/mixed_lto.ll | 2 +- llvm/test/LTO/Resolution/X86/mod-asm-used.ll | 2 +- llvm/test/LTO/Resolution/X86/multi-thinlto.ll | 2 +- .../LTO/Resolution/X86/not-prevailing-alias.ll | 2 +- .../LTO/Resolution/X86/not-prevailing-variables.ll | 2 +- llvm/test/LTO/Resolution/X86/not-prevailing.ll | 2 +- llvm/test/LTO/Resolution/X86/setting-dso-local.ll | 2 +- llvm/test/LTO/Resolution/X86/symtab-elf.ll | 2 +- llvm/test/LTO/Resolution/X86/type-checked-load.ll | 2 +- llvm/test/LTO/X86/Inputs/codemodel-3.ll | 2 +- llvm/test/LTO/X86/Inputs/dllimport.ll | 2 +- .../LTO/X86/Inputs/remangle_intrinsics_tbaa.ll | 2 +- llvm/test/LTO/X86/Inputs/strip-debug-info-bar.ll | 2 +- llvm/test/LTO/X86/Inputs/type-mapping-bug2.ll | 2 +- llvm/test/LTO/X86/codemodel-1.ll | 2 +- llvm/test/LTO/X86/codemodel-2.ll | 2 +- llvm/test/LTO/X86/codemodel-3.ll | 2 +- llvm/test/LTO/X86/current-section.ll | 2 +- .../X86/diagnostic-handler-remarks-with-hotness.ll | 2 +- llvm/test/LTO/X86/diagnostic-handler-remarks.ll | 2 +- llvm/test/LTO/X86/disable-verify.ll | 2 +- llvm/test/LTO/X86/dllimport.ll | 2 +- llvm/test/LTO/X86/internalize.ll | 2 +- .../LTO/X86/no-undefined-puts-when-implemented.ll | 2 +- llvm/test/LTO/X86/objc-detection.ll | 2 +- llvm/test/LTO/X86/pr38046.ll | 2 +- llvm/test/LTO/X86/private-symbol.ll | 2 +- llvm/test/LTO/X86/remangle_intrinsics_tbaa.ll | 2 +- llvm/test/LTO/X86/set-merged.ll | 2 +- llvm/test/LTO/X86/strip-debug-info-no-call-loc.ll | 2 +- llvm/test/LTO/X86/strip-debug-info.ll | 2 +- llvm/test/LTO/X86/symver-asm.ll | 2 +- llvm/test/LTO/X86/symver-asm2.ll | 2 +- llvm/test/LTO/X86/symver-asm3.ll | 2 +- llvm/test/LTO/X86/tailcallelim.ll | 2 +- llvm/test/LTO/X86/triple-init.ll | 2 +- llvm/test/LTO/X86/triple-init2.ll | 2 +- llvm/test/LTO/X86/type-mapping-bug2.ll | 2 +- llvm/test/Object/Inputs/tapi-invalid-v1.tbd | 21 ++ llvm/test/Object/Inputs/tapi-invalid-v2.tbd | 29 ++ llvm/test/Object/Inputs/tapi-invalid-v3.tbd | 24 ++ llvm/test/Object/Inputs/tapi-v1.tbd | 21 ++ llvm/test/Object/Inputs/tapi-v2.tbd | 30 +++ llvm/test/Object/Inputs/tapi-v3.tbd | 24 ++ llvm/test/Object/nm-tapi-invalids.test | 20 ++ llvm/test/Object/nm-tapi.test | 56 ++++ llvm/test/Reduce/Inputs/remove-metadata.py | 8 + llvm/test/Reduce/remove-metadata.ll | 29 ++ llvm/test/ThinLTO/X86/Inputs/alias_internal.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/cache-icall.ll | 2 +- .../test/ThinLTO/X86/Inputs/cache-import-lists1.ll | 2 +- .../test/ThinLTO/X86/Inputs/cache-import-lists2.ll | 2 +- .../X86/Inputs/cache-typeid-resolutions-import.ll | 2 +- .../X86/Inputs/cache-typeid-resolutions1.ll | 2 +- .../X86/Inputs/cache-typeid-resolutions2.ll | 2 +- .../X86/Inputs/cache-typeid-resolutions3.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/cache.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/callees-metadata.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/cfi-distributed.ll | 2 +- .../ThinLTO/X86/Inputs/cfi-icall-only-bazqux.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/crash_debuginfo.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/deadstrip.ll | 2 +- .../X86/Inputs/debuginfo-compositetype-import.ll | 2 +- .../test/ThinLTO/X86/Inputs/debuginfo-cu-import.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/devirt2.ll | 2 +- .../X86/Inputs/diagnostic-handler-remarks.ll | 2 +- .../X86/Inputs/dicompositetype-unique-alias.ll | 2 +- .../ThinLTO/X86/Inputs/dicompositetype-unique.ll | 2 +- .../ThinLTO/X86/Inputs/dicompositetype-unique2.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/dot-dumper.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/dot-dumper2.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/drop-debug-info.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/dsolocal_dllimport.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/emit_imports.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/emit_imports2.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/empty.ll | 2 +- .../ThinLTO/X86/Inputs/empty_module_with_cache.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/export.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/funcimport-debug.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/funcimport-tbaa.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/funcimport.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/funcimport2.ll | 2 +- .../ThinLTO/X86/Inputs/function_entry_count.ll | 2 +- .../ThinLTO/X86/Inputs/globals-import-blockaddr.ll | 2 +- .../ThinLTO/X86/Inputs/globals-import-cf-baz.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/globals-import.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/import_opaque_type.ll | 2 +- .../ThinLTO/X86/Inputs/index-const-prop-alias.ll | 2 +- .../X86/Inputs/index-const-prop-cache-foo.ll | 2 +- .../X86/Inputs/index-const-prop-cache-test1.ll | 2 +- .../X86/Inputs/index-const-prop-cache-test2.ll | 2 +- .../ThinLTO/X86/Inputs/index-const-prop-comdat.ll | 2 +- .../X86/Inputs/index-const-prop-define-g.ll | 2 +- .../X86/Inputs/index-const-prop-full-lto.ll | 2 +- .../ThinLTO/X86/Inputs/index-const-prop-gvref.ll | 2 +- .../ThinLTO/X86/Inputs/index-const-prop-linkage.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/index-const-prop.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/lazyload_metadata.ll | 2 +- .../X86/Inputs/linkonce_aliasee_ref_import.ll | 2 +- .../X86/Inputs/linkonce_odr_unnamed_addr.ll | 2 +- .../X86/Inputs/linkonce_resolution_comdat.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/llvm.used.ll | 2 +- .../ThinLTO/X86/Inputs/local_name_conflict1.ll | 2 +- .../ThinLTO/X86/Inputs/local_name_conflict2.ll | 2 +- .../ThinLTO/X86/Inputs/local_name_conflict_var1.ll | 2 +- .../ThinLTO/X86/Inputs/local_name_conflict_var2.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/merge-triple.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/module_asm.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/module_asm2.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/noinline.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/personality-local.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/personality.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/pr35472.ll | 2 +- .../ThinLTO/X86/Inputs/reference_non_importable.ll | 2 +- .../ThinLTO/X86/Inputs/referenced_by_constant.ll | 2 +- .../ThinLTO/X86/Inputs/strong_non_prevailing.ll | 2 +- .../X86/Inputs/thinlto-internalize-used2.ll | 2 +- llvm/test/ThinLTO/X86/Inputs/weak_resolution.ll | 2 +- llvm/test/ThinLTO/X86/alias_internal.ll | 2 +- llvm/test/ThinLTO/X86/autoupgrade.ll | 2 +- llvm/test/ThinLTO/X86/builtin-nostrip.ll | 2 +- llvm/test/ThinLTO/X86/cache-config.ll | 2 +- llvm/test/ThinLTO/X86/cache-icall.ll | 2 +- llvm/test/ThinLTO/X86/cache-import-lists.ll | 2 +- llvm/test/ThinLTO/X86/cache-typeid-resolutions.ll | 2 +- llvm/test/ThinLTO/X86/cache.ll | 2 +- llvm/test/ThinLTO/X86/callees-metadata.ll | 2 +- llvm/test/ThinLTO/X86/cfi-devirt.ll | 2 +- llvm/test/ThinLTO/X86/cfi-distributed.ll | 2 +- llvm/test/ThinLTO/X86/cfi-icall-only-defuse.ll | 2 +- llvm/test/ThinLTO/X86/cfi-icall.ll | 2 +- llvm/test/ThinLTO/X86/cfi.ll | 2 +- llvm/test/ThinLTO/X86/crash_debuginfo.ll | 2 +- llvm/test/ThinLTO/X86/deadstrip.ll | 2 +- .../ThinLTO/X86/debuginfo-compositetype-import.ll | 2 +- llvm/test/ThinLTO/X86/debuginfo-cu-import.ll | 2 +- llvm/test/ThinLTO/X86/devirt-after-icp.ll | 2 +- llvm/test/ThinLTO/X86/devirt.ll | 2 +- llvm/test/ThinLTO/X86/devirt2.ll | 2 +- .../X86/diagnostic-handler-remarks-with-hotness.ll | 2 +- .../test/ThinLTO/X86/diagnostic-handler-remarks.ll | 2 +- .../ThinLTO/X86/dicompositetype-unique-alias.ll | 2 +- llvm/test/ThinLTO/X86/dicompositetype-unique.ll | 2 +- llvm/test/ThinLTO/X86/dicompositetype-unique2.ll | 2 +- llvm/test/ThinLTO/X86/distributed_import.ll | 2 +- llvm/test/ThinLTO/X86/dot-dumper-full-lto.ll | 2 +- llvm/test/ThinLTO/X86/dot-dumper.ll | 2 +- llvm/test/ThinLTO/X86/dot-dumper2.ll | 2 +- llvm/test/ThinLTO/X86/drop-debug-info.ll | 2 +- llvm/test/ThinLTO/X86/dsolocal_dllimport.ll | 2 +- llvm/test/ThinLTO/X86/emit_imports.ll | 2 +- llvm/test/ThinLTO/X86/empty-module.ll | 2 +- llvm/test/ThinLTO/X86/empty_module_with_cache.ll | 2 +- llvm/test/ThinLTO/X86/export.ll | 2 +- llvm/test/ThinLTO/X86/funcimport-debug.ll | 2 +- llvm/test/ThinLTO/X86/funcimport-tbaa.ll | 2 +- llvm/test/ThinLTO/X86/funcimport.ll | 2 +- llvm/test/ThinLTO/X86/funcimport2.ll | 2 +- llvm/test/ThinLTO/X86/function_entry_count.ll | 2 +- llvm/test/ThinLTO/X86/globals-import-blockaddr.ll | 2 +- llvm/test/ThinLTO/X86/globals-import-const-fold.ll | 2 +- llvm/test/ThinLTO/X86/globals-import.ll | 2 +- llvm/test/ThinLTO/X86/import_opaque_type.ll | 2 +- llvm/test/ThinLTO/X86/index-const-prop-O0.ll | 2 +- llvm/test/ThinLTO/X86/index-const-prop-alias.ll | 2 +- llvm/test/ThinLTO/X86/index-const-prop-cache.ll | 2 +- llvm/test/ThinLTO/X86/index-const-prop-comdat.ll | 2 +- llvm/test/ThinLTO/X86/index-const-prop-dead.ll | 2 +- llvm/test/ThinLTO/X86/index-const-prop-full-lto.ll | 2 +- llvm/test/ThinLTO/X86/index-const-prop-gvref.ll | 2 +- llvm/test/ThinLTO/X86/index-const-prop-ldst.ll | 2 +- llvm/test/ThinLTO/X86/index-const-prop-linkage.ll | 2 +- llvm/test/ThinLTO/X86/index-const-prop.ll | 2 +- llvm/test/ThinLTO/X86/index-const-prop2.ll | 2 +- llvm/test/ThinLTO/X86/internalize.ll | 2 +- llvm/test/ThinLTO/X86/lazyload_metadata.ll | 6 +- .../ThinLTO/X86/linkonce_aliasee_ref_import.ll | 2 +- llvm/test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll | 2 +- .../test/ThinLTO/X86/linkonce_resolution_comdat.ll | 2 +- llvm/test/ThinLTO/X86/llvm.used.ll | 2 +- llvm/test/ThinLTO/X86/load-store-caching.ll | 2 +- llvm/test/ThinLTO/X86/local_name_conflict.ll | 2 +- llvm/test/ThinLTO/X86/local_name_conflict_var.ll | 2 +- llvm/test/ThinLTO/X86/merge-triple.ll | 2 +- llvm/test/ThinLTO/X86/module_asm2.ll | 2 +- llvm/test/ThinLTO/X86/module_asm_glob.ll | 2 +- .../ThinLTO/X86/module_summary_graph_traits.ll | 2 +- llvm/test/ThinLTO/X86/newpm-basic.ll | 2 +- .../ThinLTO/X86/nodevirt-nonpromoted-typeid.ll | 2 +- llvm/test/ThinLTO/X86/noinline.ll | 2 +- llvm/test/ThinLTO/X86/personality-local.ll | 2 +- llvm/test/ThinLTO/X86/personality.ll | 2 +- llvm/test/ThinLTO/X86/pr35472.ll | 2 +- llvm/test/ThinLTO/X86/reference_non_importable.ll | 2 +- llvm/test/ThinLTO/X86/referenced_by_constant.ll | 2 +- llvm/test/ThinLTO/X86/save_objects.ll | 2 +- llvm/test/ThinLTO/X86/strong_non_prevailing.ll | 2 +- llvm/test/ThinLTO/X86/thinlto-internalize-used.ll | 2 +- llvm/test/ThinLTO/X86/tli-nobuiltin.ll | 2 +- llvm/test/ThinLTO/X86/weak_externals.ll | 2 +- llvm/test/ThinLTO/X86/weak_resolution.ll | 2 +- llvm/test/ThinLTO/X86/writeonly.ll | 2 +- llvm/test/ThinLTO/X86/writeonly2.ll | 2 +- .../Transforms/FunctionAttrs/noalias_returned.ll | 76 ++++++ .../Transforms/FunctionImport/Inputs/comdat.ll | 2 +- .../FunctionImport/Inputs/funcimport_debug.ll | 2 +- .../FunctionImport/Inputs/funcimport_resolved1.ll | 2 +- .../FunctionImport/Inputs/funcimport_resolved2.ll | 2 +- .../FunctionImport/Inputs/funcimport_var2.ll | 2 +- .../FunctionImport/Inputs/hotness_based_import.ll | 2 +- .../FunctionImport/Inputs/import_stats.ll | 2 +- .../FunctionImport/Inputs/not-prevailing.ll | 2 +- llvm/test/Transforms/FunctionImport/comdat.ll | 2 +- .../Transforms/FunctionImport/funcimport_debug.ll | 2 +- .../FunctionImport/funcimport_resolved.ll | 2 +- .../Transforms/FunctionImport/funcimport_var.ll | 2 +- .../FunctionImport/hotness_based_import.ll | 2 +- .../test/Transforms/FunctionImport/import_stats.ll | 2 +- .../Transforms/FunctionImport/not-prevailing.ll | 2 +- llvm/test/Transforms/InstCombine/AMDGPU/tan.ll | 21 ++ .../InstCombine/do-not-clone-dbg-declare.ll | 144 ++++++++++ .../Transforms/LoopInterchange/interchangeable.ll | 58 ++-- .../Transforms/LoopInterchange/perserve-lcssa.ll | 33 ++- .../Transforms/LoopInterchange/phi-ordering.ll | 10 +- .../LoopInterchange/pr43176-move-to-new-latch.ll | 140 ++++++++++ .../reductions-across-inner-and-outer-loop.ll | 2 + llvm/test/Transforms/LowerExpectIntrinsic/basic.ll | 31 ++- .../Inputs/misexpect-branch-correct.proftext | 38 +++ .../PGOProfile/Inputs/misexpect-branch.proftext | 38 +++ .../Inputs/misexpect-switch-correct.proftext | 16 ++ .../PGOProfile/Inputs/misexpect-switch.proftext | 16 ++ .../PGOProfile/Inputs/thinlto_cspgo_bar_gen.ll | 2 +- .../PGOProfile/Inputs/thinlto_cspgo_bar_use.ll | 2 +- .../Inputs/thinlto_indirect_call_promotion.ll | 2 +- .../PGOProfile/Inputs/thinlto_samplepgo_icp.ll | 2 +- .../PGOProfile/Inputs/thinlto_samplepgo_icp2a.ll | 2 +- .../PGOProfile/Inputs/thinlto_samplepgo_icp2b.ll | 2 +- .../PGOProfile/Inputs/thinlto_samplepgo_icp3.ll | 2 +- llvm/test/Transforms/PGOProfile/X86/macho.ll | 2 +- llvm/test/Transforms/PGOProfile/branch1.ll | 2 +- llvm/test/Transforms/PGOProfile/branch2.ll | 2 +- llvm/test/Transforms/PGOProfile/comdat_internal.ll | 2 +- llvm/test/Transforms/PGOProfile/criticaledge.ll | 2 +- .../Transforms/PGOProfile/cspgo_profile_summary.ll | 2 +- llvm/test/Transforms/PGOProfile/diag_FE_profile.ll | 2 +- llvm/test/Transforms/PGOProfile/diag_mismatch.ll | 2 +- .../Transforms/PGOProfile/diag_no_funcprofdata.ll | 2 +- llvm/test/Transforms/PGOProfile/diag_no_profile.ll | 2 +- .../Transforms/PGOProfile/diag_no_value_sites.ll | 2 +- .../Transforms/PGOProfile/do-not-instrument.ll | 2 +- llvm/test/Transforms/PGOProfile/func_entry.ll | 2 +- .../PGOProfile/icp_covariant_call_return.ll | 2 +- .../PGOProfile/icp_covariant_invoke_return.ll | 2 +- llvm/test/Transforms/PGOProfile/icp_invoke.ll | 2 +- .../test/Transforms/PGOProfile/icp_invoke_nouse.ll | 2 +- .../test/Transforms/PGOProfile/icp_mismatch_msg.ll | 2 +- llvm/test/Transforms/PGOProfile/icp_vararg.ll | 2 +- .../PGOProfile/indirect_call_annotation.ll | 2 +- .../Transforms/PGOProfile/indirect_call_profile.ll | 2 +- .../PGOProfile/indirect_call_promotion.ll | 2 +- .../PGOProfile/indirect_call_promotion_vla.ll | 2 +- llvm/test/Transforms/PGOProfile/indirectbr.ll | 2 +- llvm/test/Transforms/PGOProfile/landingpad.ll | 2 +- .../Transforms/PGOProfile/large_count_remarks.ll | 2 +- llvm/test/Transforms/PGOProfile/loop1.ll | 2 +- llvm/test/Transforms/PGOProfile/loop2.ll | 2 +- llvm/test/Transforms/PGOProfile/memcpy.ll | 2 +- .../Transforms/PGOProfile/memop_size_annotation.ll | 2 +- llvm/test/Transforms/PGOProfile/memop_size_opt.ll | 2 +- .../Transforms/PGOProfile/memop_size_opt_zero.ll | 2 +- .../PGOProfile/misexpect-branch-correct.ll | 94 +++++++ .../PGOProfile/misexpect-branch-stripped.ll | 115 ++++++++ .../PGOProfile/misexpect-branch-unpredictable.ll | 89 +++++++ .../test/Transforms/PGOProfile/misexpect-branch.ll | 130 +++++++++ .../PGOProfile/misexpect-switch-default.ll | 196 ++++++++++++++ .../test/Transforms/PGOProfile/misexpect-switch.ll | 293 +++++++++++++++++++++ .../Transforms/PGOProfile/multiple_hash_profile.ll | 2 +- llvm/test/Transforms/PGOProfile/noreturncall.ll | 2 +- llvm/test/Transforms/PGOProfile/preinline.ll | 2 +- llvm/test/Transforms/PGOProfile/remap.ll | 2 +- llvm/test/Transforms/PGOProfile/select1.ll | 2 +- llvm/test/Transforms/PGOProfile/select2.ll | 2 +- .../Transforms/PGOProfile/select_hash_conflict.ll | 2 +- llvm/test/Transforms/PGOProfile/single_bb.ll | 2 +- .../PGOProfile/statics_counter_naming.ll | 2 +- llvm/test/Transforms/PGOProfile/switch.ll | 2 +- .../Transforms/PGOProfile/thinlto_cspgo_gen.ll | 2 +- .../Transforms/PGOProfile/thinlto_cspgo_use.ll | 2 +- .../PGOProfile/thinlto_indirect_call_promotion.ll | 2 +- .../Transforms/PGOProfile/thinlto_samplepgo_icp.ll | 2 +- .../PGOProfile/thinlto_samplepgo_icp2.ll | 2 +- .../PGOProfile/thinlto_samplepgo_icp3.ll | 2 +- .../thinlto_samplepgo_icp_droppeddead.ll | 2 +- llvm/test/Transforms/PGOProfile/unreachable_bb.ll | 2 +- llvm/test/tools/llvm-lto2/X86/pipeline.ll | 2 +- llvm/test/tools/llvm-lto2/X86/stats-file-option.ll | 2 +- llvm/tools/llvm-nm/CMakeLists.txt | 1 + llvm/tools/llvm-nm/llvm-nm.cpp | 30 +++ llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp | 96 +++---- llvm/tools/llvm-reduce/CMakeLists.txt | 1 + llvm/tools/llvm-reduce/DeltaManager.h | 4 +- llvm/tools/llvm-reduce/deltas/Delta.cpp | 8 +- llvm/tools/llvm-reduce/deltas/Delta.h | 16 +- llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp | 6 +- llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp | 3 + llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp | 139 ++++++++++ llvm/tools/llvm-reduce/deltas/ReduceMetadata.h | 18 ++ llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn | 1 + 676 files changed, 4370 insertions(+), 1185 deletions(-) create mode 100644 clang/test/Profile/Inputs/misexpect-branch-nonconst-expect-arg. [...] create mode 100644 clang/test/Profile/Inputs/misexpect-branch.proftext create mode 100644 clang/test/Profile/Inputs/misexpect-switch-default-only.proftext create mode 100644 clang/test/Profile/Inputs/misexpect-switch-default.proftext create mode 100644 clang/test/Profile/Inputs/misexpect-switch-nonconst.proftext create mode 100644 clang/test/Profile/Inputs/misexpect-switch.proftext create mode 100644 clang/test/Profile/misexpect-branch-cold.c create mode 100644 clang/test/Profile/misexpect-branch-nonconst-expected-val.c create mode 100644 clang/test/Profile/misexpect-branch-unpredictable.c create mode 100644 clang/test/Profile/misexpect-branch.c create mode 100644 clang/test/Profile/misexpect-switch-default.c create mode 100644 clang/test/Profile/misexpect-switch-nonconst.c create mode 100644 clang/test/Profile/misexpect-switch-only-default-case.c create mode 100644 clang/test/Profile/misexpect-switch.c copy llvm/lib/Support/xxhash.cpp => compiler-rt/lib/profile/xxhash.c (100%) create mode 100644 compiler-rt/lib/profile/xxhash.h create mode 100644 llvm/include/llvm/Transforms/Utils/MisExpect.h create mode 100644 llvm/lib/Support/ABIBreak.cpp create mode 100644 llvm/lib/Transforms/Utils/MisExpect.cpp create mode 100644 llvm/test/Analysis/MemorySSA/debugvalue2.ll create mode 100644 llvm/test/CodeGen/ARM/ParallelDSP/complex_dot_prod.ll create mode 100644 llvm/test/Object/Inputs/tapi-invalid-v1.tbd create mode 100644 llvm/test/Object/Inputs/tapi-invalid-v2.tbd create mode 100644 llvm/test/Object/Inputs/tapi-invalid-v3.tbd create mode 100644 llvm/test/Object/Inputs/tapi-v1.tbd create mode 100644 llvm/test/Object/Inputs/tapi-v2.tbd create mode 100644 llvm/test/Object/Inputs/tapi-v3.tbd create mode 100644 llvm/test/Object/nm-tapi-invalids.test create mode 100644 llvm/test/Object/nm-tapi.test create mode 100755 llvm/test/Reduce/Inputs/remove-metadata.py create mode 100644 llvm/test/Reduce/remove-metadata.ll create mode 100644 llvm/test/Transforms/InstCombine/AMDGPU/tan.ll create mode 100644 llvm/test/Transforms/InstCombine/do-not-clone-dbg-declare.ll create mode 100644 llvm/test/Transforms/LoopInterchange/pr43176-move-to-new-latch.ll create mode 100644 llvm/test/Transforms/PGOProfile/Inputs/misexpect-branch-correct [...] create mode 100644 llvm/test/Transforms/PGOProfile/Inputs/misexpect-branch.proftext create mode 100644 llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch-correct [...] create mode 100644 llvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext create mode 100644 llvm/test/Transforms/PGOProfile/misexpect-branch-correct.ll create mode 100644 llvm/test/Transforms/PGOProfile/misexpect-branch-stripped.ll create mode 100644 llvm/test/Transforms/PGOProfile/misexpect-branch-unpredictable.ll create mode 100644 llvm/test/Transforms/PGOProfile/misexpect-branch.ll create mode 100644 llvm/test/Transforms/PGOProfile/misexpect-switch-default.ll create mode 100644 llvm/test/Transforms/PGOProfile/misexpect-switch.ll create mode 100644 llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp create mode 100644 llvm/tools/llvm-reduce/deltas/ReduceMetadata.h