diff options
author | Petar Avramovic <Petar.Avramovic@rt-rk.com> | 2019-12-30 11:13:22 +0100 |
---|---|---|
committer | Petar Avramovic <Petar.Avramovic@rt-rk.com> | 2019-12-30 11:13:22 +0100 |
commit | 94a24e7a401be7a3db0ddfa2035855b75c8cc55d (patch) | |
tree | f979d574d18ec5d6b400513eb1e21aa5b8cc5231 /llvm/lib/CodeGen/MachineDominators.cpp | |
parent | cd2a73a9f01b2ec1b7e239ba83201199df0d7912 (diff) | |
download | bcm5719-llvm-94a24e7a401be7a3db0ddfa2035855b75c8cc55d.tar.gz bcm5719-llvm-94a24e7a401be7a3db0ddfa2035855b75c8cc55d.zip |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineDominators.cpp')
0 files changed, 0 insertions, 0 deletions