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

David Truby via All-commits all-commits at lists.llvm.org
Wed Jan 19 06:12:02 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db04d3e30b3878ae39ef64eb0b0a1538644c7f6a
      https://github.com/llvm/llvm-project/commit/db04d3e30b3878ae39ef64eb0b0a1538644c7f6a
  Author: David Truby <david.truby at arm.com>
  Date:   2022-01-19 (Wed, 19 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.

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




More information about the All-commits mailing list