SuccessChanges

Summary

  1. Filter callbr insts from critical edge splitting (details)
  2. [Dominators] Use Instruction::comesBefore for block-local queries, NFC (details)
  3. [XCore] Add instruction pattern for bitrev (details)
Commit 2fe457690da0fc38bc7f9f1d0aee2ba6a6a16ada by isanbard
Filter callbr insts from critical edge splitting

Similarly to how splitting predecessors with an indirectbr isn't handled
in the generic way, we also shouldn't split callbrs, for similar
reasons.
The file was addedllvm/test/Transforms/LICM/callbr-crash.ll
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
Commit 7593a480dbce4e26f7dda4aa8f15bffd03acbfdb by Vedant Kumar
[Dominators] Use Instruction::comesBefore for block-local queries, NFC

Use the lazy instruction ordering facility for block-local dominance
queries.

Differential Revision: https://reviews.llvm.org/D74931
The file was modifiedllvm/lib/IR/Dominators.cpp
The file was modifiedllvm/unittests/IR/DominatorTreeTest.cpp
Commit e27b61c1ea3dbc8329673003e16ecba96600933a by tclin914
[XCore] Add instruction pattern for bitrev

Summary:
Add support for lowering bitreverse to the bitrev instruction.
Fix https://bugs.llvm.org/show_bug.cgi?id=34628.

Reviewers: RKSimon, rtrieu, robertlytton

Reviewed By: RKSimon

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74748
The file was modifiedllvm/lib/Target/XCore/XCoreInstrInfo.td
The file was modifiedllvm/lib/Target/XCore/XCoreISelLowering.cpp
The file was addedllvm/test/CodeGen/XCore/bitrev.ll