summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp')
-rw-r--r--llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp b/llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
index f94b0cd8aa0..90157ead965 100644
--- a/llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
+++ b/llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
@@ -249,7 +249,8 @@ void Filler::insertDefsUses(MachineBasicBlock::instr_iterator MI,
// be inserted in the delay slot of a call/return as these instructions are
// expanded to multiple instructions with SP modified before the branch that
// has the delay slot.
- if (MI->isCall() || MI->isReturn()) RegDefs.insert(Lanai::SP);
+ if (MI->isCall() || MI->isReturn())
+ RegDefs.insert(Lanai::SP);
}
// Returns true if the Reg or its alias is in the RegSet.
OpenPOWER on IntegriCloud