mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-05 10:17:36 +00:00
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
This commit is contained in:
parent
a32a50a832
commit
19c7db09aa
@ -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;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -o - %s -mtriple=aarch64-windows | FileCheck %s
|
||||
; RUN: llc -o - %s -verify-machineinstrs -mtriple=aarch64-windows | FileCheck %s
|
||||
|
||||
; Windows runtime passes the establisher frame as the second argument to the
|
||||
; termination handler. Check that we copy it into fp.
|
||||
|
Loading…
Reference in New Issue
Block a user