This matches that ARM64Subtarget does for now.
This is related to <rdar://problem/
16573920>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206211
91177308-0d34-0410-b5e6-
96231b3b80d8
static MCSubtargetInfo *createARM64MCSubtargetInfo(StringRef TT, StringRef CPU,
StringRef FS) {
MCSubtargetInfo *X = new MCSubtargetInfo();
+
+ // FIXME: Make this darwin-only.
+ if (CPU.empty())
+ // We default to Cyclone for now, on Darwin.
+ CPU = "cyclone";
+
InitARM64MCSubtargetInfo(X, TT, CPU, FS);
return X;
}