[all-commits] [llvm/llvm-project] 197d9d: [AArch64][sve] Prevent incorrect function call on ...
David Truby via All-commits
all-commits at lists.llvm.org
Wed Sep 8 06:09:45 PDT 2021
Branch: refs/heads/release/13.x
Home: https://github.com/llvm/llvm-project
Commit: 197d9d91aec1b817f093355760061d2673d96267
https://github.com/llvm/llvm-project/commit/197d9d91aec1b817f093355760061d2673d96267
Author: David Truby <david.truby at arm.com>
Date: 2021-09-08 (Wed, 08 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
(cherry picked from commit b297531ece896fb9ec36f001a74aef144082602b)
More information about the All-commits
mailing list