[all-commits] [llvm/llvm-project] b29753: [AArch64][sve] Prevent incorrect function call on ...

David Truby via All-commits all-commits at lists.llvm.org
Mon Sep 6 06:25:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b297531ece896fb9ec36f001a74aef144082602b
      https://github.com/llvm/llvm-project/commit/b297531ece896fb9ec36f001a74aef144082602b
  Author: David Truby <david.truby at arm.com>
  Date:   2021-09-06 (Mon, 06 Sep 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/sve-no-typesize-warnings.ll

  Log Message:
  -----------
  [AArch64][sve] Prevent incorrect function call on fixed width vector

The isEssentiallyExtractHighSubvector function currently calls
getVectorNumElements on a type that in specific cases might be scalable.
Since this function only has correct behaviour at the moment on scalable
types anyway, the function can just return false when given a fixed type.

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




More information about the All-commits mailing list