[PATCH] D71363: [MIPS GlobalISel] Select bitreverse
Petar Avramovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 11 08:49:37 PST 2019
Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: atanasyan, petarj.
Herald added subscribers: llvm-commits, volkan, jrtc27, hiraditya, arichardson, rovka, sdardis.
Herald added a project: LLVM.
Petar.Avramovic added a parent revision: D71362: [MIPS GlobalISel] Select bswap.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71363
Files:
llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
llvm/test/CodeGen/Mips/GlobalISel/legalizer/bitreverse.mir
llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bitreverse.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71363.233379.patch
Type: text/x-patch
Size: 22290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191211/8151dc2a/attachment.bin>
More information about the llvm-commits
mailing list