mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[AArch64] SVE implies fullfp16
This is explicitly guaranteed in ARMARM. And it makes reasoning about vectors easier: we can assume that if a vector operation is legal, the corresponding scalar operation is also legal. Differential Revision: https://reviews.llvm.org/D74993
This commit is contained in:
parent
bede12ada9
commit
8e5fb180ad
@ -101,7 +101,7 @@ def FeatureCCPP : SubtargetFeature<"ccpp", "HasCCPP",
|
||||
"true", "Enable v8.2 data Cache Clean to Point of Persistence" >;
|
||||
|
||||
def FeatureSVE : SubtargetFeature<"sve", "HasSVE", "true",
|
||||
"Enable Scalable Vector Extension (SVE) instructions">;
|
||||
"Enable Scalable Vector Extension (SVE) instructions", [FeatureFullFP16]>;
|
||||
|
||||
def FeatureSVE2 : SubtargetFeature<"sve2", "HasSVE2", "true",
|
||||
"Enable Scalable Vector Extension 2 (SVE2) instructions", [FeatureSVE]>;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve,+fullfp16 < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s
|
||||
|
||||
;; Splats of legal integer vector types
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user