[AArch64][NFC] Fix a comment error
Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D127708
This commit is contained in:
parent
087aba4f0f
commit
0cb33551ec
|
@ -217,7 +217,7 @@ def FeatureSlowPaired128 : SubtargetFeature<"slow-paired-128",
|
||||||
|
|
||||||
def FeatureAscendStoreAddress : SubtargetFeature<"ascend-store-address",
|
def FeatureAscendStoreAddress : SubtargetFeature<"ascend-store-address",
|
||||||
"IsStoreAddressAscend", "false",
|
"IsStoreAddressAscend", "false",
|
||||||
"Schedule scalar stores by ascending address">;
|
"Schedule vector stores by ascending address">;
|
||||||
|
|
||||||
def FeatureSlowSTRQro : SubtargetFeature<"slow-strqro-store", "IsSTRQroSlow",
|
def FeatureSlowSTRQro : SubtargetFeature<"slow-strqro-store", "IsSTRQroSlow",
|
||||||
"true", "STR of Q register with register offset is slow">;
|
"true", "STR of Q register with register offset is slow">;
|
||||||
|
|
|
@ -26,7 +26,7 @@ static bool needReorderStoreMI(const MachineInstr *MI) {
|
||||||
return false;
|
return false;
|
||||||
LLVM_FALLTHROUGH;
|
LLVM_FALLTHROUGH;
|
||||||
case AArch64::STPQi:
|
case AArch64::STPQi:
|
||||||
return AArch64InstrInfo::getLdStOffsetOp(*MI).getType() == MachineOperand::MO_Immediate;
|
return AArch64InstrInfo::getLdStOffsetOp(*MI).isImm();
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue