SuccessChanges

Summary

  1. [AArch64][GlobalISel] Add a post-legalize combine for lowering vector-immediate G_ASHR/G_LSHR. (details)
  2. [AArch64][GlobalISel] Merge selection of vector-vector G_ASHR/G_LSHR and support more cases. (details)
  3. Fix comment typos. NFC. (details)
  4. [lldb/test] Clean up version checking. (details)
  5. [llvm] Fix comment typos.  NFC. (details)
  6. [RISCV] Do not mandate scheduling for CSR instructions (details)
  7. [SimplifyCFG] Override options in default constructor (details)
Commit a513fdec90de6b0719e8dc4f079bbdd78eb9aaf1 by Amara Emerson
[AArch64][GlobalISel] Add a post-legalize combine for lowering vector-immediate G_ASHR/G_LSHR.

In order to select the immediate forms using the imported patterns, we need to
lower them into new G_VASHR/G_VLSHR target generic ops. Add a combine to do this
matching build_vector of constant operands.

With this, we get selection for free.
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrGISel.td (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td (diff)
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-vector-shift.mir (diff)
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-vashr-vlshr.mir
Commit e3f5046e44772d41632796389716930bafa96b74 by Amara Emerson
[AArch64][GlobalISel] Merge selection of vector-vector G_ASHR/G_LSHR and support more cases.

The vector-immediate cases are handled elsewhere in an earlier commit.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-vector-shift.mir (diff)
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp (diff)
Commit ca8321574d62cdccc85cf222ae43e0b48c3dfe96 by kazu
Fix comment typos. NFC.
The file was modifiedllvm/test/Analysis/BlockFrequencyInfo/irreducible.ll (diff)
The file was modifiedllvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h (diff)
Commit 307b7a1d665898d0e980461919996b6a670a4847 by rupprecht
[lldb/test] Clean up version checking.

A few fixes while trying to figure out why tests are being skipped for arsenm:

- We check `$compiler -v`, but `-v` is `--verbose`, not `--version`. Use the long flag name.
- We check all lines matching `version ...`, but we should exit early for the first version string we see (which should be the main one). I'm not sure if this is the issue, but perhaps this is causing some users to skip some tests if another "version ..." is showing up later.
- Having `\.` in a python string is triggering pylint warnings, because it should be escaped as a regex string, e.g. `r'\.' However, `.` in a character class does not need to be escaped, as it matches only a literal `.` in that context.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D88051
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py (diff)
Commit 161159888b430dad90605563259cd28b1ad25b14 by kazu
[llvm] Fix comment typos.  NFC.
The file was modifiedllvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h (diff)
Commit 394d02016705e4b0fdfaa34c53be695f3f61922d by ebahapo
[RISCV] Do not mandate scheduling for CSR instructions

Scheduling information is of little value when they may disrupt the
pipeline.  This patch allows omitting the scheduling information for CSR
instructions while still setting `SchedMachineModel::CompleteModel`.  For
specific cases, any scheduling information added will be used by the
scheduler.

Differential revision: https://reviews.llvm.org/D85366
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td (diff)
Commit 1747f7776403626b23ef0389264643fe4d6bec17 by aeubanks
[SimplifyCFG] Override options in default constructor

SimplifyCFG's options should always be overridden by command line flags,
but they mistakenly weren't in the default constructor.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D87718
The file was modifiedllvm/test/Transforms/SimplifyCFG/HoistCode.ll (diff)
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp (diff)
The file was modifiedllvm/include/llvm/Transforms/Scalar/SimplifyCFG.h (diff)