SuccessChanges

Summary

  1. [InterleavedAccess] Return correct 'modified' status. (details)
  2. [RISCV][NFC] Add additional cmov tests (details)
Commit ed936aad7814404b3cc767d4515096f078dfcbb9 by flo
[InterleavedAccess] Return correct 'modified' status.

Both tryReplaceExtracts and replaceBinOpShuffles may modify the IR, even
if no interleaved loads are generated, but currently the pass pretends
no changes were made.

This patch updates the pass to return true if either of the functions
made any changes. In case of tryReplaceExtracts, changes are made if
there are any Extracts and true is returned.

`replaceBinOpShuffles` always makes changes if BinOpShuffles is not empty.
It also always returned true, so I went ahead and change it to just
`replaceBinOpShuffles`.

Fixes PR48208.

Reviewed By: SjoerdMeijer

Differential Revision: https://reviews.llvm.org/D93997
The file was addedllvm/test/Transforms/InterleavedAccess/X86/interleave-load-extract-shuffle-changes.ll
The file was modifiedllvm/lib/CodeGen/InterleavedAccessPass.cpp
Commit e2d3d501ef8b49eb8990dd3556948373b023cd48 by selliott
[RISCV][NFC] Add additional cmov tests

One or more cmov instructions could be generated for these functions
when the Zbt extension is present.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D93768
The file was modifiedllvm/test/CodeGen/RISCV/rv64Zbt.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv32Zbt.ll