Skip to content

Commit 1015f51

Browse files
[AArch64] NFC: Rename -force-streaming-compatible-sve to -force-streaming-compatible (#92774)
The behaviour of the flag should be equivalent to __arm_streaming_compatible. At the moment, the name suggests that '-force-streaming-compatible-sve' on its own (i.e. without specifying `+sve`) enables the compiler to use the streaming-compatible subset of SVE instructions, but the semantics merely are that the function can be called with either PSTATE.SM=0 or PSTATE.SM=1.
1 parent 1cf75cc commit 1015f51

File tree

68 files changed

+158
-171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+158
-171
lines changed

llvm/lib/Target/AArch64/AArch64Subtarget.cpp

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ ReservedRegsForRA("reserve-regs-for-regalloc", cl::desc("Reserve physical "
6464
"Should only be used for testing register allocator."),
6565
cl::CommaSeparated, cl::Hidden);
6666

67-
static cl::opt<bool> ForceStreamingCompatibleSVE(
68-
"force-streaming-compatible-sve",
69-
cl::desc(
70-
"Force the use of streaming-compatible SVE code for all functions"),
71-
cl::Hidden);
72-
7367
static cl::opt<AArch64PAuth::AuthCheckMethod>
7468
AuthenticatedLRCheckMethod("aarch64-authenticated-lr-check-method",
7569
cl::Hidden,
@@ -316,15 +310,14 @@ AArch64Subtarget::AArch64Subtarget(const Triple &TT, StringRef CPU,
316310
const TargetMachine &TM, bool LittleEndian,
317311
unsigned MinSVEVectorSizeInBitsOverride,
318312
unsigned MaxSVEVectorSizeInBitsOverride,
319-
bool StreamingSVEMode,
320-
bool StreamingCompatibleSVEMode,
313+
bool IsStreaming, bool IsStreamingCompatible,
321314
bool HasMinSize)
322315
: AArch64GenSubtargetInfo(TT, CPU, TuneCPU, FS),
323316
ReserveXRegister(AArch64::GPR64commonRegClass.getNumRegs()),
324317
ReserveXRegisterForRA(AArch64::GPR64commonRegClass.getNumRegs()),
325318
CustomCallSavedXRegs(AArch64::GPR64commonRegClass.getNumRegs()),
326-
IsLittle(LittleEndian), StreamingSVEMode(StreamingSVEMode),
327-
StreamingCompatibleSVEMode(StreamingCompatibleSVEMode),
319+
IsLittle(LittleEndian), IsStreaming(IsStreaming),
320+
IsStreamingCompatible(IsStreamingCompatible),
328321
MinSVEVectorSizeInBits(MinSVEVectorSizeInBitsOverride),
329322
MaxSVEVectorSizeInBits(MaxSVEVectorSizeInBitsOverride), TargetTriple(TT),
330323
InstrInfo(initializeSubtargetDependencies(FS, CPU, TuneCPU, HasMinSize)),
@@ -547,20 +540,6 @@ void AArch64Subtarget::mirFileLoaded(MachineFunction &MF) const {
547540

548541
bool AArch64Subtarget::useAA() const { return UseAA; }
549542

550-
bool AArch64Subtarget::isStreamingCompatible() const {
551-
return StreamingCompatibleSVEMode || ForceStreamingCompatibleSVE;
552-
}
553-
554-
bool AArch64Subtarget::isNeonAvailable() const {
555-
return hasNEON() &&
556-
(hasSMEFA64() || (!isStreaming() && !isStreamingCompatible()));
557-
}
558-
559-
bool AArch64Subtarget::isSVEAvailable() const {
560-
return hasSVE() &&
561-
(hasSMEFA64() || (!isStreaming() && !isStreamingCompatible()));
562-
}
563-
564543
// If return address signing is enabled, tail calls are emitted as follows:
565544
//
566545
// ```

llvm/lib/Target/AArch64/AArch64Subtarget.h

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ class AArch64Subtarget final : public AArch64GenSubtargetInfo {
7979

8080
bool IsLittle;
8181

82-
bool StreamingSVEMode;
83-
bool StreamingCompatibleSVEMode;
82+
bool IsStreaming;
83+
bool IsStreamingCompatible;
8484
unsigned MinSVEVectorSizeInBits;
8585
unsigned MaxSVEVectorSizeInBits;
8686
unsigned VScaleForTuning = 2;
@@ -120,8 +120,7 @@ class AArch64Subtarget final : public AArch64GenSubtargetInfo {
120120
StringRef FS, const TargetMachine &TM, bool LittleEndian,
121121
unsigned MinSVEVectorSizeInBitsOverride = 0,
122122
unsigned MaxSVEVectorSizeInBitsOverride = 0,
123-
bool StreamingSVEMode = false,
124-
bool StreamingCompatibleSVEMode = false,
123+
bool IsStreaming = false, bool IsStreamingCompatible = false,
125124
bool HasMinSize = false);
126125

127126
// Getters for SubtargetFeatures defined in tablegen
@@ -165,20 +164,26 @@ class AArch64Subtarget final : public AArch64GenSubtargetInfo {
165164
bool isXRaySupported() const override { return true; }
166165

167166
/// Returns true if the function has a streaming body.
168-
bool isStreaming() const { return StreamingSVEMode; }
167+
bool isStreaming() const { return IsStreaming; }
169168

170169
/// Returns true if the function has a streaming-compatible body.
171-
bool isStreamingCompatible() const;
170+
bool isStreamingCompatible() const { return IsStreamingCompatible; }
172171

173172
/// Returns true if the target has NEON and the function at runtime is known
174173
/// to have NEON enabled (e.g. the function is known not to be in streaming-SVE
175174
/// mode, which disables NEON instructions).
176-
bool isNeonAvailable() const;
175+
bool isNeonAvailable() const {
176+
return hasNEON() &&
177+
(hasSMEFA64() || (!isStreaming() && !isStreamingCompatible()));
178+
}
177179

178180
/// Returns true if the target has SVE and can use the full range of SVE
179181
/// instructions, for example because it knows the function is known not to be
180182
/// in streaming-SVE mode or when the target has FEAT_FA64 enabled.
181-
bool isSVEAvailable() const;
183+
bool isSVEAvailable() const {
184+
return hasSVE() &&
185+
(hasSMEFA64() || (!isStreaming() && !isStreamingCompatible()));
186+
}
182187

183188
unsigned getMinVectorRegisterBitWidth() const {
184189
// Don't assume any minimum vector size when PSTATE.SM may not be 0, because

llvm/lib/Target/AArch64/AArch64TargetMachine.cpp

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@ static cl::opt<unsigned> SVEVectorBitsMinOpt(
187187
"with zero meaning no minimum size is assumed."),
188188
cl::init(0), cl::Hidden);
189189

190+
static cl::opt<bool> ForceStreamingCompatible(
191+
"force-streaming-compatible",
192+
cl::desc("Force the use of streaming-compatible code for all functions"),
193+
cl::init(false), cl::Hidden);
194+
190195
extern cl::opt<bool> EnableHomogeneousPrologEpilog;
191196

192197
static cl::opt<bool> EnableGISelLoadStoreOptPreLegal(
@@ -408,10 +413,11 @@ AArch64TargetMachine::getSubtargetImpl(const Function &F) const {
408413
StringRef FS = FSAttr.isValid() ? FSAttr.getValueAsString() : TargetFS;
409414
bool HasMinSize = F.hasMinSize();
410415

411-
bool StreamingSVEMode = F.hasFnAttribute("aarch64_pstate_sm_enabled") ||
412-
F.hasFnAttribute("aarch64_pstate_sm_body");
413-
bool StreamingCompatibleSVEMode =
414-
F.hasFnAttribute("aarch64_pstate_sm_compatible");
416+
bool IsStreaming = F.hasFnAttribute("aarch64_pstate_sm_enabled") ||
417+
F.hasFnAttribute("aarch64_pstate_sm_body");
418+
bool IsStreamingCompatible =
419+
F.hasFnAttribute("aarch64_pstate_sm_compatible") ||
420+
ForceStreamingCompatible;
415421

416422
unsigned MinSVEVectorSize = 0;
417423
unsigned MaxSVEVectorSize = 0;
@@ -439,10 +445,9 @@ AArch64TargetMachine::getSubtargetImpl(const Function &F) const {
439445

440446
SmallString<512> Key;
441447
raw_svector_ostream(Key) << "SVEMin" << MinSVEVectorSize << "SVEMax"
442-
<< MaxSVEVectorSize
443-
<< "StreamingSVEMode=" << StreamingSVEMode
444-
<< "StreamingCompatibleSVEMode="
445-
<< StreamingCompatibleSVEMode << CPU << TuneCPU << FS
448+
<< MaxSVEVectorSize << "IsStreaming=" << IsStreaming
449+
<< "IsStreamingCompatible=" << IsStreamingCompatible
450+
<< CPU << TuneCPU << FS
446451
<< "HasMinSize=" << HasMinSize;
447452

448453
auto &I = SubtargetMap[Key];
@@ -453,12 +458,10 @@ AArch64TargetMachine::getSubtargetImpl(const Function &F) const {
453458
resetTargetOptions(F);
454459
I = std::make_unique<AArch64Subtarget>(
455460
TargetTriple, CPU, TuneCPU, FS, *this, isLittle, MinSVEVectorSize,
456-
MaxSVEVectorSize, StreamingSVEMode, StreamingCompatibleSVEMode,
457-
HasMinSize);
461+
MaxSVEVectorSize, IsStreaming, IsStreamingCompatible, HasMinSize);
458462
}
459463

460-
assert((!StreamingSVEMode || I->hasSME()) &&
461-
"Expected SME to be available");
464+
assert((!IsStreaming || I->hasSME()) && "Expected SME to be available");
462465

463466
return I.get();
464467
}

llvm/test/Analysis/CostModel/AArch64/cast.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py
22
; RUN: opt -passes="print<cost-model>" 2>&1 -disable-output -mtriple=aarch64 %s | FileCheck --check-prefixes=CHECK,CHECK-NOFP16 %s
3-
; RUN: opt -passes="print<cost-model>" 2>&1 -disable-output -mtriple=aarch64 -mattr=+sve -force-streaming-compatible-sve %s | FileCheck --check-prefixes=SVE,SVE128-NO-NEON %s
3+
; RUN: opt -passes="print<cost-model>" 2>&1 -disable-output -mtriple=aarch64 -mattr=+sve -force-streaming-compatible %s | FileCheck --check-prefixes=SVE,SVE128-NO-NEON %s
44
; RUN: opt -passes="print<cost-model>" 2>&1 -disable-output -mtriple=aarch64 -mattr=+fullfp16 %s | FileCheck --check-prefixes=CHECK,CHECK-FP16 %s
55
; RUN: opt -passes="print<cost-model>" 2>&1 -disable-output -mtriple=aarch64 -mattr=+sve -aarch64-sve-vector-bits-min=256 %s | FileCheck --check-prefixes=SVE,FIXED-MIN-256 %s
66
; RUN: opt -passes="print<cost-model>" 2>&1 -disable-output -mtriple=aarch64 -mattr=+sve -aarch64-sve-vector-bits-min=2048 %s | FileCheck --check-prefixes=SVE,FIXED-MIN-2048 %s

llvm/test/CodeGen/AArch64/sve-fixed-length-vector-shuffle-tbl.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve2 -force-streaming-compatible-sve -aarch64-sve-vector-bits-min=128 -aarch64-sve-vector-bits-max=128 < %s | FileCheck %s -check-prefixes=CHECK,SVE2_128
3-
; RUN: llc -mattr=+sve2 -force-streaming-compatible-sve -aarch64-sve-vector-bits-min=128 < %s | FileCheck %s -check-prefixes=CHECK,SVE2_128_NOMAX
4-
; RUN: llc -mattr=+sve2 -force-streaming-compatible-sve < %s | FileCheck %s -check-prefixes=CHECK,SVE2_NOMIN_NOMAX
5-
; RUN: llc -mattr=+sve2 -force-streaming-compatible-sve -aarch64-sve-vector-bits-min=256 < %s | FileCheck %s -check-prefixes=CHECK,SVE2_MIN_256_NOMAX
2+
; RUN: llc -mattr=+sve2 -force-streaming-compatible -aarch64-sve-vector-bits-min=128 -aarch64-sve-vector-bits-max=128 < %s | FileCheck %s -check-prefixes=CHECK,SVE2_128
3+
; RUN: llc -mattr=+sve2 -force-streaming-compatible -aarch64-sve-vector-bits-min=128 < %s | FileCheck %s -check-prefixes=CHECK,SVE2_128_NOMAX
4+
; RUN: llc -mattr=+sve2 -force-streaming-compatible < %s | FileCheck %s -check-prefixes=CHECK,SVE2_NOMIN_NOMAX
5+
; RUN: llc -mattr=+sve2 -force-streaming-compatible -aarch64-sve-vector-bits-min=256 < %s | FileCheck %s -check-prefixes=CHECK,SVE2_MIN_256_NOMAX
66

77
target triple = "aarch64-unknown-linux-gnu"
88

llvm/test/CodeGen/AArch64/sve-fp-reduce-fadda.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: llc -mattr=+sve < %s | FileCheck %s
33

44
; Streaming-compatible SVE doesn't include FADDA, so this shouldn't compile!
5-
; RUN: not --crash llc -mattr=+sve -force-streaming-compatible-sve < %s
5+
; RUN: not --crash llc -mattr=+sve -force-streaming-compatible < %s
66

77
target triple = "aarch64-linux-gnu"
88

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-and-combine.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitcast.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-build-vector.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-concat.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ext-loads.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-subvector.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-vector-elt.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fcopysign.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s --check-prefixes=CHECK,SVE
3-
; RUN: llc -mattr=+sve2 -force-streaming-compatible-sve < %s | FileCheck %s --check-prefixes=CHECK,SVE2
4-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s --check-prefixes=CHECK,SVE2
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s --check-prefixes=CHECK,SVE
3+
; RUN: llc -mattr=+sve2 -force-streaming-compatible < %s | FileCheck %s --check-prefixes=CHECK,SVE2
4+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s --check-prefixes=CHECK,SVE2
55

66
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
77

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-arith.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-compares.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-convert.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-extend-trunc.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-fma.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
33

44
target triple = "aarch64-unknown-linux-gnu"
55

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-minmax.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce-fa64.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sme-fa64 -force-streaming-compatible-sve < %s | FileCheck %s -check-prefix=FA64
3-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s -check-prefix=NO-FA64
2+
; RUN: llc -mattr=+sme-fa64 -force-streaming-compatible < %s | FileCheck %s -check-prefix=FA64
3+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s -check-prefix=NO-FA64
44

55

66
target triple = "aarch64-unknown-linux-gnu"

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
33

44
target triple = "aarch64-unknown-linux-gnu"
55

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-rounding.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-select.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-to-int.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
33

44
target triple = "aarch64-unknown-linux-gnu"
55

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-vselect.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
3-
; RUN: llc -mattr=+sme -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
3+
; RUN: llc -mattr=+sme -force-streaming-compatible < %s | FileCheck %s
44

55
target triple = "aarch64-unknown-linux-gnu"
66

llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-insert-vector-elt.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mattr=+sve -force-streaming-compatible-sve < %s | FileCheck %s
2+
; RUN: llc -mattr=+sve -force-streaming-compatible < %s | FileCheck %s
33

44
target triple = "aarch64-unknown-linux-gnu"
55

0 commit comments

Comments
 (0)