summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/AArch64')
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstrInfo.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
index 48707fa0b31..2a804a18672 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -1524,17 +1524,17 @@ bool AArch64InstrInfo::isCandidateToMergeOrPair(MachineInstr *MI) const {
// Do not pair quad ld/st for Exynos.
if (Subtarget.isExynosM1()) {
- switch (MI->getOpcode()) {
- default:
- break;
+ switch (MI->getOpcode()) {
+ default:
+ break;
- case AArch64::LDURQi:
- case AArch64::STURQi:
- case AArch64::LDRQui:
- case AArch64::STRQui:
- return false;
- }
+ case AArch64::LDURQi:
+ case AArch64::STURQi:
+ case AArch64::LDRQui:
+ case AArch64::STRQui:
+ return false;
}
+ }
return true;
}
OpenPOWER on IntegriCloud