SuccessChanges

Summary

  1. [MIPS GlobalISel] Select bswap (details)
  2. [MIPS GlobalISel] Select bitreverse (details)
  3. [OpenCL] Add mipmap builtin functions (details)
  4. [ARM][THUMB2] Allow emitting T3 types of add and sub (details)
Commit 94a24e7a401be7a3db0ddfa2035855b75c8cc55d by petar.avramovic
[MIPS GlobalISel] Select bswap
G_BSWAP is generated from llvm.bswap.<type> intrinsics, clang genrates
these intrinsics from __builtin_bswap32 and __builtin_bswap64. Add lower
and narrowscalar for G_BSWAP. Lower G_BSWAP on MIPS32, select G_BSWAP on
MIPS32 revision 2 and later.
Differential Revision: https://reviews.llvm.org/D71362
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bswap.ll
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/bswap.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was addedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/bswap.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/bswap.mir
Commit dbc136e0fe7e14c64dcb78e72321bb41af60afa4 by petar.avramovic
[MIPS GlobalISel] Select bitreverse
G_BITREVERSE is generated from llvm.bitreverse.<type> intrinsics, clang
genrates these intrinsics from __builtin_bitreverse32 and
__builtin_bitreverse64. Add lower and narrowscalar for G_BITREVERSE.
Lower G_BITREVERSE on MIPS32.
Differential Revision: https://reviews.llvm.org/D71363
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitreverse.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/bitreverse.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bitreverse.ll
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
Commit 4a188fdfa79b4c1044cbb6fe0ede79583c71a56f by sven.vanhaastregt
[OpenCL] Add mipmap builtin functions
Add the mipmap builtin functions from the OpenCL extension
specification.
Patch by Pierre Gondois and Sven van Haastregt.
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit 8232497c313e28ed277b28733301f2020f225e69 by diogo.sampaio
[ARM][THUMB2] Allow emitting T3 types of add and sub
Summary: This patch allows to emit thumb2 add and sub instructions with
12 bit immediates in the emitT2RegPlusImmediate function.
- Splitting parts of the D70680
Reviewers: eli.friedman, olista01, efriedma
Reviewed By: efriedma
Subscribers: efriedma, kristof.beyls, hiraditya, dmgreen, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71361
The file was modifiedllvm/test/CodeGen/Thumb2/large-call.ll
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-stacksplot.mir
The file was addedllvm/test/CodeGen/MIR/ARM/thumb2-sub-sp-t3.mir