[all-commits] [llvm/llvm-project] 98f72a: [MIPS GlobalISel] Select bitreverse. Recommit
petar-avramovic via All-commits
all-commits at lists.llvm.org
Mon Dec 30 09:13:57 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 98f72a5107ce781a8ec93c524c3fdb08c241f0e5
https://github.com/llvm/llvm-project/commit/98f72a5107ce781a8ec93c524c3fdb08c241f0e5
Author: Petar Avramovic <Petar.Avramovic at rt-rk.com>
Date: 2019-12-30 (Mon, 30 Dec 2019)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitreverse.mir
A llvm/test/CodeGen/Mips/GlobalISel/legalizer/bitreverse.mir
A llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bitreverse.ll
Log Message:
-----------
[MIPS GlobalISel] Select bitreverse. Recommit
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.
Recommit notes:
Introduce temporary variables in order to make sure
instructions get inserted into MachineFunction in same order
regardless of compiler used to build llvm.
Differential Revision: https://reviews.llvm.org/D71363
More information about the All-commits
mailing list