SuccessChanges

Summary

  1. [gardening] Replace some uses of setDebugLoc(DebugLoc()) with dropLocation(), NFC (details)
  2. Add remquo, frexp and modf overload functions to HIP header (details)
  3. [RISCV] Use the extensions in the canonical order (NFC) (details)
  4. [AIX] asm output: use character literals in byte lists for strings (details)
  5. [X86] Increase the depth threshold required to form VPERMI2W/VPERMI2B in shuffle combining (details)
  6. [GlobalISel] Fix multiply with overflow intrinsics legalization generating invalid MIR. (details)
  7. Remove further OpenBSD/sparc bits (details)
  8. [gn build] Add missing dependency to Extensions (details)
  9. [mlir] Update docs referencing OpTrait::Symbol. (details)
  10. Remove test AST/const-fpfeatures-diag.c (details)
Commit 674f57870f4c8a7fd7b629bffc85b149cbefd3e0 by Vedant Kumar
[gardening] Replace some uses of setDebugLoc(DebugLoc()) with dropLocation(), NFC
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
Commit d04775e16bba456f0be0aaa7478959c5bfa22c41 by Yaxun.Liu
Add remquo, frexp and modf overload functions to HIP header
The file was modifiedclang/lib/Headers/__clang_hip_math.h
Commit c6b18cf9672bca4f61bb3ef401173742068e46ea by ebahapo
[RISCV] Use the extensions in the canonical order (NFC)

Use the ISA extensions for specific processors in the conventional canonical order.
The file was modifiedllvm/lib/Target/RISCV/RISCV.td
Commit 0a146a9d0bdd54411f0b0712e27481a4c280ae03 by hubert.reinterpretcast
[AIX] asm output: use character literals in byte lists for strings

This patch improves the assembly output produced for string literals by
using character literals in byte lists. This provides the benefits of
having printable characters appear as such in the assembly output and of
having strings kept as logical units on the same line.

Reviewed By: daltenty

Differential Revision: https://reviews.llvm.org/D80953
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
The file was modifiedllvm/include/llvm/MC/MCAsmInfo.h
The file was modifiedllvm/lib/MC/MCAsmInfoXCOFF.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-bytestring.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-rodata.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
Commit 618a890b72f874cbc41168737d03f724f58805fc by craig.topper
[X86] Increase the depth threshold required to form VPERMI2W/VPERMI2B in shuffle combining

These instructions are implemented with two port 5 uops and one port 015 uop so they are more complicated that most shuffles.

This patch increases the depth threshold for when we form them during shuffle combining to try to limit increasing the number of uops especially on port 5.

Differential Revision: https://reviews.llvm.org/D88503
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
The file was modifiedllvm/test/CodeGen/X86/vector-zext.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v16.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v32.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v8.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 1d54e75cf26a4c60b66659d5d9c62f4bb9452b03 by Amara Emerson
[GlobalISel] Fix multiply with overflow intrinsics legalization generating invalid MIR.

During lowering of G_UMULO and friends, the previous code moved the builder's
insertion point to be after the legalizing instruction. When that happened, if
there happened to be a "G_CONSTANT i32 0" immediately after, the CSEMIRBuilder
would try to find that constant during the buildConstant(zero) call, and since
it dominates itself would return the iterator unchanged, even though the def
of the constant was *after* the current insertion point. This resulted in the
compare being generated *before* the constant which it was using.

There's no need to modify the insertion point before building the mul-hi or
constant. Delaying moving the insert point ensures those are built/CSEd before
the G_ICMP is built.

Fixes PR47679

Differential Revision: https://reviews.llvm.org/D88514
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-mul.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/mul.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/mul.mir
Commit 6f01c53f26af7fb0393464079ec5e839a497d4da by brad
Remove further OpenBSD/sparc bits
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
Commit e6e73712ddfa18d4a2937a5775990dcefc8bd2f7 by aeubanks
[gn build] Add missing dependency to Extensions
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Extensions/BUILD.gn
Commit 1c5aa8aeca29c7d4b891e5b60b25fdb74f9bf0e9 by joker.eph
[mlir] Update docs referencing OpTrait::Symbol.

Since https://reviews.llvm.org/D78522, Symbol is not a Trait itself.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D88512
The file was modifiedmlir/docs/Interfaces.md
The file was modifiedmlir/docs/Traits.md
The file was modifiedmlir/docs/SymbolsAndSymbolTables.md
Commit 4e4f926e83cf77f0d36b821a3d2aa1de78338a82 by sepavloff
Remove test AST/const-fpfeatures-diag.c

This test is going to be removed because using dynamic rounding mode
in initializers is changing. It also causes build failures in some
cases, so remove it now.
The file was removedclang/test/AST/const-fpfeatures-diag.c