Changes

Summary

  1. [MILR][NFC] Silence clang-tidy warning in AffineOps.cpp (details)
  2. [NFC][sanitizer] Add static to internal functions (details)
  3. Reland: "[WebAssembly] Add new pass to lower int/ptr conversions of reftypes" (details)
  4. [hwasan] report failing thread for invalid free. (details)
  5. [LLD] [MinGW] Support both "--opt value" and "--opt=value" for more options (details)
  6. [clang] [MinGW] Let the last of -mconsole/-mwindows have effect (details)
  7. [AMDGPU] Legalize operands of V_ADDC_U32_e32 and friends (details)
  8. [AArch64][AsmParser] NFC: Use helpers in matrix tile list parsing (details)
  9. [NFC] Rename enable-strict-reductions to force-ordered-reductions (details)
Commit 3d63d1a390f8e7f04b6cea09f03dff5d34a3289b by uday
[MILR][NFC] Silence clang-tidy warning in AffineOps.cpp

Silence clang-tidy warning in AffineOps.cpp due to the inability to see
through the typeswitch. NFC.

Differential Revision: https://reviews.llvm.org/D106125
The file was modifiedmlir/lib/Dialect/Affine/IR/AffineOps.cpp
Commit 735da5f5ad74ad139d3287c897be2057203a6032 by Vitaly Buka
[NFC][sanitizer] Add static to internal functions
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
Commit d3a0a65bf01dccadee38d726b6c4d9813c84a048 by pmatos
Reland: "[WebAssembly] Add new pass to lower int/ptr conversions of reftypes"

Add new pass LowerRefTypesIntPtrConv to generate debugtrap
instruction for an inttoptr and ptrtoint of a reference type instead
of erroring, since calling these instructions on non-integral pointers
has been since allowed (see ac81cb7e6).

Differential Revision: https://reviews.llvm.org/D107102
The file was modifiedllvm/lib/Target/WebAssembly/CMakeLists.txt
The file was modifiedllvm/test/CodeGen/WebAssembly/externref-inttoptr.ll
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssembly.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/externref-ptrtoint.ll
The file was addedllvm/lib/Target/WebAssembly/WebAssemblyLowerRefTypesIntPtrConv.cpp
Commit 150395c2bcee8e9a4c876eada81515fc917ac3b6 by fmayer
[hwasan] report failing thread for invalid free.

Reviewed By: hctim

Differential Revision: https://reviews.llvm.org/D107270
The file was modifiedcompiler-rt/lib/hwasan/hwasan_report.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/double-free.c
Commit b7fb5b54a93099cf3d7ac64f4a95d9942bc2e6a7 by martin
[LLD] [MinGW] Support both "--opt value" and "--opt=value" for more options

This does the same fix as D107237 but for a couple more options,
converting all remaining cases of such options to accept both
forms, for consistency. This fixes building e.g. openldap, which
uses --image-base=<value>.

Differential Revision: https://reviews.llvm.org/D107253
The file was modifiedlld/MinGW/Options.td
The file was modifiedlld/test/MinGW/driver.test
Commit ce49fd024b43bd76b149f984b8f0d16e92b9bb06 by martin
[clang] [MinGW] Let the last of -mconsole/-mwindows have effect

Don't just check for the existence of one, but check which one was
specified last, if any.

This fixes https://llvm.org/PR51296.

Differential Revision: https://reviews.llvm.org/D107261
The file was modifiedclang/lib/Driver/ToolChains/MinGW.cpp
The file was modifiedclang/test/Driver/mingw.cpp
Commit 40202b13b23290a6e20900896838c2dbbfb281bd by jay.foad
[AMDGPU] Legalize operands of V_ADDC_U32_e32 and friends

These instructions have an implicit use of vcc which counts towards the
constant bus limit. Pre gfx10 this means that the explicit operands
cannot be sgprs. Use the custom inserter hook to call legalizeOperands
to enforce that restriction.

Fixes https://bugs.llvm.org/show_bug.cgi?id=51217

Differential Revision: https://reviews.llvm.org/D106868
The file was modifiedllvm/test/CodeGen/AMDGPU/uaddo.ll
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit a02bbeeae7fcaa25c6bdb4c98e2ec8ab5e83cd6d by cullen.rhodes
[AArch64][AsmParser] NFC: Use helpers in matrix tile list parsing
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
Commit 0156f91f3b0af0c2b3c14eecb6192dbb039fc2d2 by david.sherwood
[NFC] Rename enable-strict-reductions to force-ordered-reductions

I'm renaming the flag because a future patch will add a new
enableOrderedReductions() TTI interface and so the meaning of this
flag will change to be one of forcing the target to enable/disable
them. Also, since other places in LoopVectorize.cpp use the word
'Ordered' instead of 'strict' I changed the flag to match.

Differential Revision: https://reviews.llvm.org/D107264
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/sve-strict-fadd-cost.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/strict-fadd-cost.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/strict-fadd-vf1.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp