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.
Details
Details
- Reviewers
atanasyan petarj - Commits
- rG94a24e7a401b: [MIPS GlobalISel] Select bswap
Diff Detail
Diff Detail