[all-commits] [llvm/llvm-project] 93e3ae: [AArch64][GlobalISel] Fix custom legalization of r...

Amara Emerson via All-commits all-commits at lists.llvm.org
Wed Jul 27 22:22:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93e3aeb9a84f489d632a6d494813ed4fe2cb6865
      https://github.com/llvm/llvm-project/commit/93e3aeb9a84f489d632a6d494813ed4fe2cb6865
  Author: Amara Emerson <amara at apple.com>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

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

  Log Message:
  -----------
  [AArch64][GlobalISel] Fix custom legalization of rotates using sext for shift vs zext.

Rotates are defined according to DAG documentation as having unsigned shifts,
so we need to zero-extend instead of sign-extend here.

Fixes issue 56664




More information about the All-commits mailing list