[PATCH] D129960: [AArch64][NFC] Set true for default of subfeature is more readable
Allen zhong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 18 18:00:59 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGbddf20735ee4: [AArch64][NFC] Set true for default of subfeature is more readable (authored by Allen).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129960/new/
https://reviews.llvm.org/D129960
Files:
llvm/lib/Target/AArch64/AArch64.td
llvm/lib/Target/AArch64/AArch64MachineScheduler.cpp
Index: llvm/lib/Target/AArch64/AArch64MachineScheduler.cpp
===================================================================
--- llvm/lib/Target/AArch64/AArch64MachineScheduler.cpp
+++ llvm/lib/Target/AArch64/AArch64MachineScheduler.cpp
@@ -22,8 +22,8 @@
return false;
case AArch64::STURQi:
case AArch64::STRQui:
- if (MI->getMF()->getSubtarget<AArch64Subtarget>().isStoreAddressAscend())
- return false;
+ if (!MI->getMF()->getSubtarget<AArch64Subtarget>().isStoreAddressAscend())
+ return false;
LLVM_FALLTHROUGH;
case AArch64::STPQi:
return AArch64InstrInfo::getLdStOffsetOp(*MI).isImm();
Index: llvm/lib/Target/AArch64/AArch64.td
===================================================================
--- llvm/lib/Target/AArch64/AArch64.td
+++ llvm/lib/Target/AArch64/AArch64.td
@@ -216,7 +216,7 @@
"IsPaired128Slow", "true", "Paired 128 bit loads and stores are slow">;
def FeatureAscendStoreAddress : SubtargetFeature<"ascend-store-address",
- "IsStoreAddressAscend", "false",
+ "IsStoreAddressAscend", "true",
"Schedule vector stores by ascending address">;
def FeatureSlowSTRQro : SubtargetFeature<"slow-strqro-store", "IsSTRQroSlow",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129960.445665.patch
Type: text/x-patch
Size: 1205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220719/f80ea6ca/attachment.bin>
More information about the llvm-commits
mailing list