SuccessChanges

Summary

  1. [ms] [llvm-ml] Add support for INCLUDE environment variable (details)
  2. [tests] Precommit test for D103991 (details)
  3. [RISCV] Remove unused method from RISCVInsertVSETVLI. NFC (details)
  4. Folds linalg.pad_tensor with zero padding (details)
  5. Fix to Windows temp file change. (details)
  6. [lld/mac] When handling @loader_path, use realpath() of symlinks (details)
Commit 4b5317e937ac5c87c30a67bc76a4e253c2c3516c by epastor
[ms] [llvm-ml] Add support for INCLUDE environment variable

Also adds support for the ML.exe command-line flag /X, which ignores the INCLUDE environment variable.

This relands commit c43f413b01b021a8f7b6fce013296114fa92a245 using lit's cross-platform `env` support.

Differential Revision: https://reviews.llvm.org/D103989
The file was modifiedllvm/tools/llvm-ml/Opts.td
The file was addedllvm/test/tools/llvm-ml/include_by_env_var.asm
The file was addedllvm/test/tools/llvm-ml/include_by_env_var_errors.asm
The file was modifiedllvm/tools/llvm-ml/llvm-ml.cpp
Commit 4ac3dae57f276ee3c83ef5b18c864a2b1eb07add by listmail
[tests] Precommit test for D103991
The file was addedllvm/test/Analysis/ScalarEvolution/ne-overflow.ll
Commit 8dfd0810f240cd97d9cdf9fde4635025f2462853 by craig.topper
[RISCV] Remove unused method from RISCVInsertVSETVLI. NFC

If this becomes needed its trivial to add it back.
The file was modifiedllvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Commit b9d7ffd9cf5f9caefb9796468bf4cbeec709b320 by ataei
Folds linalg.pad_tensor with zero padding

Differential Revision: https://reviews.llvm.org/D103984
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
Commit cf11d9585afd5c43031aaaaa9fb622c8c31b4bef by akhuang
Fix to Windows temp file change.

Original change passed wrong parameters to the raw_fd_ostream ctor.
Fixes a bug in https://reviews.llvm.org/D102736.
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
Commit 0e399eb5273b13d37a70acaa7ad7291ee6273fb8 by thakis
[lld/mac] When handling @loader_path, use realpath() of symlinks

This is important for Frameworks, which are usually symlinks.

ld64 gets this right for @rpath that's replaced with @loader_path, but not for
bare @loader_path -- ld64's code calls realpath() in that case too, but ignores
the result.

ld64 somehow manages to find libbar1.dylib in the test without the
explicit `-rpath` in Foo1. I don't understand why or how. But this
change is a step forward and fixes an immediate problem I'm having,
so let's start with this :)

Differential Revision: https://reviews.llvm.org/D103990
The file was modifiedlld/MachO/InputFiles.cpp
The file was addedlld/test/MachO/link-search-at-loader-path-symlink.s