Roll llvm-project from 1e202e8f393a to 9194071626a6 (22 revisions)

https://chromium.googlesource.com/external/github.com/llvm/llvm-project.git/+log/1e202e8f393a..9194071626a6

2021-04-21 amy.zhuang@intel.com [mlir] Support hoisting whole affine for loops in LICM
2021-04-21 gbalats@google.com [dfsan] Enable origin tracking with fast8 mode
2021-04-21 i@maskray.me [sanitizer] Fix glibc sparc build and add GetTls support
2021-04-21 aprantl@apple.com Make sure PHIElimination doesn't copy debug locations across basic blocks.
2021-04-20 sbc@chromium.org [WebAssembly] Update README. NFC.
2021-04-20 jezng@fb.com [lld-macho] Skip platform checks for a few libSystem re-exports
2021-04-20 aeubanks@google.com [FuncAttrs] Always preserve FunctionAnalysisManagerCGSCCProxy
2021-04-20 jradford@apple.com [CMake][llvm] avoid changing global flags (may be used outside of llvm)
2021-04-20 rnk@google.com Revert "[InstCombine] Recognize `((x * y) s/ x) !=/== y` as an signed multiplication overflow check (PR48769)"
2021-04-20 springerm@google.com [mlir] Disallow broadcast dimensions on TransferWriteOp.
2021-04-20 listmail@philipreames.com Revert "Allow invokable sub-classes of IntrinsicInst"
2021-04-20 david.bolvansky@gmail.com [Clang, builtins] Added aligned_alloc, memalign support
2021-04-20 lebedev.ri@gmail.com Revert "[InstCombine] `sext(trunc(x)) --> sext(x)` iff trunc is NSW (PR49543)"
2021-04-20 lebedev.ri@gmail.com Revert "[InstCombine] "Bypass" NUW trunc of lshr if we are going to sext the result (PR49543)"
2021-04-20 listmail@philipreames.com Allow invokable sub-classes of IntrinsicInst
2021-04-20 MehdiChinoune [flang][msvc] Fix compilation of RuntimeGtest
2021-04-20 lebedev.ri@gmail.com [InstCombine] "Bypass" NUW trunc of lshr if we are going to sext the result (PR49543)
2021-04-20 lebedev.ri@gmail.com [NFC][InstCombine] Add tests for sext-of-trunc-nuw-of-lshr (PR49543)
2021-04-20 lebedev.ri@gmail.com [InstSimplify] Bypass no-op `and`-mask, using known bits (PR49543)
2021-04-20 lebedev.ri@gmail.com [NFC][InstSimplify] Add one more test for unneeded 'and'
2021-04-20 lebedev.ri@gmail.com [InstCombine] `sext(trunc(x)) --> sext(x)` iff trunc is NSW (PR49543)
2021-04-20 lebedev.ri@gmail.com [NFC][InstCombine] Add test for sign-extending NSW trunc (PR49543)

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/master/autoroll/README.md

Tbr: wasm-waterfall@grotations.appspotmail.com
Change-Id: I5b60b01a09dadc904a7e04b1e2208290adc8a6d5
Reviewed-on: https://chromium-review.googlesource.com/c/emscripten-releases/+/2842681
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
1 file changed
tree: b0ef1b3f69ecfec0cad7f68ce5376e6c6cf0b428
  1. .gitignore
  2. DEPS
  3. DEPS.tagged-release
  4. PRESUBMIT.py
  5. README.md
  6. bots.json
  7. codereview.settings
  8. src/
  9. tools/
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](https://dev.chromium.org/developers/how-tos/depottools 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 WABT, build WABT and Binaryen, run everything other than the emscripten testsuites: $ src/build.py --sync-include=wabt --build-include=wabt,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.