[all-commits] [llvm/llvm-project] 9e9d70: [AArch64][GlobalISel] Legalize non-register-sized ...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Fri Aug 20 14:47:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e9d70591e72fc6762b4b9a226b68ed1307419bf
      https://github.com/llvm/llvm-project/commit/9e9d70591e72fc6762b4b9a226b68ed1307419bf
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-bitreverse.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Legalize non-register-sized scalar G_BITREVERSE

Clamp types to [s32, s64] and make them a power of 2.

This matches SDAG's behaviour.

https://godbolt.org/z/vTeGqf4vT

Differential Revision: https://reviews.llvm.org/D108344




More information about the All-commits mailing list