[all-commits] [llvm/llvm-project] 44a18a: [SVE] Fix incorrect predicate for fixed length int...

paulwalker-arm via All-commits all-commits at lists.llvm.org
Tue Nov 22 06:45:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44a18a8fce31bba99a346a28e937c93e485a912f
      https://github.com/llvm/llvm-project/commit/44a18a8fce31bba99a346a28e937c93e485a912f
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sve-fixed-length-fp-to-int.ll
    M llvm/test/CodeGen/AArch64/sve-fixed-length-int-to-fp.ll

  Log Message:
  -----------
  [SVE] Fix incorrect predicate for fixed length int/fp conversion.

When performing shrinking int/fp conversions the predicate should
be created to match the original fixed length vector type so the
unused lanes don't trigger side effects.

This patch also includes related refactoring to better detect such
issues and streamline the code a little.

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




More information about the All-commits mailing list