Roll llvm-project from d3b10150b683 to 970e1ea01aa0 (29 revisions)

https://chromium.googlesource.com/external/github.com/llvm/llvm-project.git/+log/d3b10150b683..970e1ea01aa0

2022-10-17 ellis.sparky.hoag@gmail.com [clang] Fix crash with -funique-internal-linkage-names
2022-10-17 keith.walker@arm.com [ARM] Add additional targets to divide tests.
2022-10-17 mgorny@gentoo.org [lldb] [MainLoopPosix] Fix crash upon adding lots of pending callbacks
2022-10-17 koraq@xs4all.nl [libc++] Adds missing includes.
2022-10-17 zinenko@google.com [mlir] add utilites for DiagnosedSilenceableFailure
2022-10-17 qiaopeixin@huawei.com [flang] Fix the trivial type passed as value with bind(C)
2022-10-17 nawrin.sultana@intel.com [OpenMP] Add upper limit to TPAUSE exponential backoff time
2022-10-17 llvm-dev@redking.me.uk [DAG] visitShiftByConstant - replace constant detection with FoldConstantArithmetic
2022-10-17 mingmingl@google.com [AArch64][NFC]Refactor 'isBitfieldPositioningOp' so that DAG nodes with different Opcode are handled with separate helper functions.
2022-10-17 zinenko@google.com [mlir] stopgap for incorrect vector.contract lowering
2022-10-17 spatel@rotateright.com [VectorCombine] fix crashing on match of non-canonical fneg
2022-10-17 npopov@redhat.com [BasicAA] Add test for phi of geps of alloca (NFC)
2022-10-17 nicola.lancellotti@arm.com [AArch64] Canonicalize ZERO_EXTEND to VSELECT
2022-10-17 llvm-dev@redking.me.uk Remove trailing whitespace. NFC.
2022-10-17 npopov@redhat.com Reapply [InstCombine] Switch foldOpIntoPhi() to use InstSimplify
2022-10-17 llvm-dev@redking.me.uk [AMDGPU] Add regression test cases reported on D136042
2022-10-17 npopov@redhat.com [InstSimplify] Only check self-simplify in simplifyInstruction()
2022-10-17 jperier@nvidia.com [flang] Add an enum attribute to carry Fortran attributes
2022-10-17 llvm-dev@redking.me.uk [AMDGPU] Regenerate bfe-combine.ll and bfe-patterns.ll
2022-10-17 npopov@redhat.com [InstCombine] Add test for PR58401 (NFC)
2022-10-17 zinenko@google.com [mlir] fix markdown in VectorOps.td
2022-10-17 carlos.alberto.enciso@gmail.com Revert "[llvm-debuginfo-analyzer] (02/09) - Driver and documentation"
2022-10-17 ivan.butygin@gmail.com [mlir][linalg] Fix canonicalizer crash for `linalg.generic` with mixed semantics
2022-10-17 tobias.gysi@nextsilicon.com [mlir][llvm] Add support for importing masked intrinsics from LLVM IR.
2022-10-17 carlos.alberto.enciso@gmail.com [llvm-debuginfo-analyzer] (02/09) - Driver and documentation
2022-10-17 tobias.gysi@nextsilicon.com [mlir][llvm] Use the tablegen error handling (NFC).
2022-10-17 flo@fhahn.com Revert "Reapply [InstCombine] Switch foldOpIntoPhi() to use InstSimplify"
2022-10-17 qiaopeixin@huawei.com [flang][OpenMP] Fix the use-associated bug in threadprivate directive lowering
2022-10-17 sjoerd.meijer@gmail.com [LoopFlatten] Enable it by default

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/llvm-project-emscripten-releases
Please CC wasm-waterfall@grotations.appspotmail.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: wasm-waterfall@grotations.appspotmail.com
Change-Id: I45acb8456a9c1c00d4a82155dbf5607c315c3039
Reviewed-on: https://chromium-review.googlesource.com/c/emscripten-releases/+/3961568
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
1 file changed
tree: fb92c7ce66833adc48ad7cfa9857d0a45bb312e0
  1. src/
  2. tools/
  3. .gitignore
  4. bots.json
  5. codereview.settings
  6. DEPS
  7. DEPS.tagged-release
  8. PRESUBMIT.py
  9. README.md
README.md

Emscripten Releases

This is meta-repository which brings together all the repositories needed to produce and emscripten release. The revisions used in each release are tracked in a DEPS file (See depot_tools for more information). This file contains a history of revisions that have been built and tested together and represent a known good state.

Each release is automatically built and uploaded to to Google Cloud Storage and can be used standalone or with emsdk.

The build status for the automated builds can be seen here

Updating DEPS entries

Install depot_tools and then check out: gclient config https://chromium.googlesource.com/emscripten-releases (Do this only once)

Update working trees:

  • git pull
  • gclient sync

Update a DEPS entry:

  • cd emscripten-releases
  • git checkout -b <branch>
  • roll-dep emscripten-releases/llvm-project
  • git cl upload

The argument to roll-dep must match one of the keys in the ‘deps’ dictionary in the DEPS file. See roll-dep -h for more options.

༼ ༎ຶ ෴ ༎ຶ༽ Build and test scripts in src/

This directory was forked from the WebAssembly waterfall repo That repo was retired because it was only used by emscripten-releases.

How do I run it?

  1. Get the sources
  2. Install depot_tools. Follow the instructions
  3. Install pkg-config if you don't have it installed already, e.g. # apt install pkg-config
  4. Run build.py python src/build.py

Build.py has 3 types of actions:

  • downloading/updating sources for tools and engines (sync)
  • building those sources (build)
  • running tests against them (test).

Each of these types has multiple steps (e.g. a build step for each component). If you run build.py with no arguments, it will run all the sync, build, and test steps. If you make a change and only want to run a subset of steps, you can apply filters from the command line, via exclusions (to prevent specified steps from running) or inclusions (to run only the specified steps). Sync, build, and test exclusions are specified separately. For example:

  1. Do not sync any sources, build everything except LLVM, and run all tests: $ src/build.py --no-sync --build-exclude=llvm
  2. Sync only binaryen, build LLVM and Binaryen, run everything other than the emscripten testsuites: $ src/build.py --sync-include=binaryen --build-include=llvm,binaryen --test-exclude=emtest,emtest-asm

The script should throw an error if you specify nonexistent steps or if you specify both includes and excludes for the same type of action.

When run, the script creates a directory src/work inside the waterfall‘s git checkout. All modifications are made inside this directory (checking and out and building the sources, as well as the test builds and execution results). You can also use the git checkouts (e.g. src/work/llvm) with your own branches; the sync steps will check out the latest revision from the script’s remote repositories but will not overwrite or destroy any local work.