Changes

Summary

  1. Allow only valid vector.shape_cast transitive folding (details)
  2. [libomptarget] Pass OMP_TARGET_OFFLOAD env variable through to tests (details)
  3. [LV] Record memory widening decisions (NFCI) (details)
  4. [mlir] Add support for specifying printing flags when adding an op to a Diagnostic (details)
  5. [libc++][NFC] Fix typo in test (details)
  6. [mlir] Fix tsan failure in PassCrashRecovery (details)
Commit b0c4aaff24fb3b55abb3415c14ad776f89c0205d by ataei
Allow only valid vector.shape_cast transitive folding

When folding A->B->C => A->C only accept A->C that is valid shape cast

Reviewed By: ThomasRaoux, nicolasvasilache

Differential Revision: https://reviews.llvm.org/D111473
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/test/Dialect/Vector/canonicalize.mlir
Commit 251b1e7c25b5aa0cf46f04741c5b935b8efcceff by jonathanchesterfield
[libomptarget] Pass OMP_TARGET_OFFLOAD env variable through to tests

Useful for OMP_TARGET_OFFLOAD=MANDATORY when testing

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D111995
The file was modifiedopenmp/libomptarget/test/lit.cfg
Commit 1156bd4fc3a7223f87cc0efcc8919462e17e09e2 by gil.rapaport
[LV] Record memory widening decisions (NFCI)

Record widening decisions for memory operations within the planned recipes and
use the recorded decisions in code-gen rather than querying the cost model.

Differential Revision: https://reviews.llvm.org/D110479
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/unittests/Transforms/Vectorize/VPlanTest.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit a77cd55dea058395f787effff8411f1173bf69d8 by riddleriver
[mlir] Add support for specifying printing flags when adding an op to a Diagnostic

This removes edge cases where the default flags we want to use
during printing (e.g. local scope, eliding attributes, etc.)
get missed/dropped.

Differential Revision: https://reviews.llvm.org/D111761
The file was modifiedmlir/include/mlir/IR/Diagnostics.h
The file was modifiedmlir/lib/IR/Diagnostics.cpp
The file was modifiedmlir/lib/IR/Operation.cpp
Commit 7e5dbcdd59a2d2987f338eaf2ccaa4eba08bf36b by Louis Dionne
[libc++][NFC] Fix typo in test
The file was modifiedlibcxx/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/is_leap.pass.cpp
Commit 20211b32612bb6dc1dda29b75552731b38b443d2 by riddleriver
[mlir] Fix tsan failure in PassCrashRecovery

Don't set printOpOnDiagnostic, as this is not safe to call from a threaded context.

Differential Revision: https://reviews.llvm.org/D111752
The file was modifiedmlir/lib/Pass/PassCrashRecovery.cpp