[AArch64] Fix minor issue introduced in D135950.
authorSander de Smalen <sander.desmalen@arm.com>
Wed, 19 Oct 2022 16:53:18 +0000 (16:53 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Wed, 19 Oct 2022 17:01:41 +0000 (17:01 +0000)
The Key for the SubtargetMap had the StreamingSVEModeDisabled in the
wrong place. This change is non-functional, since the string (key) is
still unique.

llvm/lib/Target/AArch64/AArch64TargetMachine.cpp

index 594bb6d..329f5b4 100644 (file)
@@ -425,8 +425,8 @@ AArch64TargetMachine::getSubtargetImpl(const Function &F) const {
   Key += "SVEMin";
   Key += std::to_string(MinSVEVectorSize);
   Key += "SVEMax";
-  Key += "StreamingSVEModeDisabled=" + std::to_string(StreamingSVEModeDisabled);
   Key += std::to_string(MaxSVEVectorSize);
+  Key += "StreamingSVEModeDisabled=" + std::to_string(StreamingSVEModeDisabled);
   Key += CPU;
   Key += TuneCPU;
   Key += FS;