[all-commits] [llvm/llvm-project] 6d9505: [AArch64][GlobalISel] Support for folding G_ROTR a...

Amara Emerson via All-commits all-commits at lists.llvm.org
Thu Sep 2 21:37:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d9505b8e010d9d01214ccae1d3ee457ec2b8a22
      https://github.com/llvm/llvm-project/commit/6d9505b8e010d9d01214ccae1d3ee457ec2b8a22
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/select-rotate.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Support for folding G_ROTR as shifted operands.

This allows selection like: eor w0, w1, w2, ror #8

Saves 500 bytes on ClamAV -Os, which is 0.1%.

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




More information about the All-commits mailing list