mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-09 01:38:03 +00:00
[ARM64][MC] Set the default CPU to cyclone when initilizating the MC layer.
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
This commit is contained in:
parent
7a69489242
commit
05620e5439
@ -43,6 +43,12 @@ static MCInstrInfo *createARM64MCInstrInfo() {
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user