[all-commits] [llvm/llvm-project] 81bd67: [AArch64][SVE][VLS] Move extends into arguments of...

David Truby via All-commits all-commits at lists.llvm.org
Fri Jan 28 06:16:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81bd67e18ae6ef90b68792f63eb94a10f22a353b
      https://github.com/llvm/llvm-project/commit/81bd67e18ae6ef90b68792f63eb94a10f22a353b
  Author: David Truby <david.truby at arm.com>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sve-fixed-length-masked-loads.ll

  Log Message:
  -----------
  [AArch64][SVE][VLS] Move extends into arguments of comparisons

When a comparison is extended and it would be free to extend the
arguments to that comparison, we can propagate the extend into those arguments.
This prevents extra instructions being generated to extend the result of the
comparison, which is not free to extend.

This is a resubmission of D116812 with fixes that need another review.

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




More information about the All-commits mailing list