mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
AArch64FastISel: Abort if we failed to select operand of intrinsic
rdar://44642447 Differential Revision: https://reviews.llvm.org/D52335 llvm-svn: 342742
This commit is contained in:
parent
99ef9d6383
commit
5b52412a7c
@ -3742,6 +3742,9 @@ bool AArch64FastISel::fastLowerIntrinsicCall(const IntrinsicInst *II) {
|
||||
TII.get(TargetOpcode::COPY), ResultReg1).addReg(MulReg);
|
||||
}
|
||||
|
||||
if (!ResultReg1)
|
||||
return false;
|
||||
|
||||
ResultReg2 = fastEmitInst_rri(AArch64::CSINCWr, &AArch64::GPR32RegClass,
|
||||
AArch64::WZR, /*IsKill=*/true, AArch64::WZR,
|
||||
/*IsKill=*/true, getInvertedCondCode(CC));
|
||||
|
Loading…
Reference in New Issue
Block a user