summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorSanjin Sijaric <ssijaric@codeaurora.org>2019-01-17 20:24:14 +0000
committerSanjin Sijaric <ssijaric@codeaurora.org>2019-01-17 20:24:14 +0000
commit4d1450298cd67721ed2fc6e9b99c04048ec27f2c (patch)
tree81ee2dd4eb4c0229ac6de247dfcd38ddf21e64bb /llvm/lib/Target
parentb95b6f42f9cf6c588380b12a9cc02af5adc9eacc (diff)
downloadbcm5719-llvm-4d1450298cd67721ed2fc6e9b99c04048ec27f2c.tar.gz
bcm5719-llvm-4d1450298cd67721ed2fc6e9b99c04048ec27f2c.zip
Fix the buildbot failure introduced by r351404
EXPENSIVE_CHECKS buildbots are failing due to r351404. Add x1 as live in to the funclet basic block for SEH funclets, as well as -verify-machineinstrs to the test case that triggered the failure. llvm-svn: 351472
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/AArch64/AArch64FrameLowering.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp b/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
index 5719cf34c95..12167192ba0 100644
--- a/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
@@ -929,9 +929,11 @@ void AArch64FrameLowering::emitPrologue(MachineFunction &MF,
// directly, and is not retrieved from X1.
if (F.hasPersonalityFn()) {
EHPersonality Per = classifyEHPersonality(F.getPersonalityFn());
- if (isAsynchronousEHPersonality(Per))
+ if (isAsynchronousEHPersonality(Per)) {
BuildMI(MBB, MBBI, DL, TII->get(TargetOpcode::COPY), AArch64::FP)
.addReg(AArch64::X1).setMIFlag(MachineInstr::FrameSetup);
+ MBB.addLiveIn(AArch64::X1);
+ }
}
return;
OpenPOWER on IntegriCloud