mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
Fix MSan crash after 1977c53b
This commit is contained in:
parent
0086e8ade4
commit
33fda542f4
@ -38,7 +38,8 @@ bool llvm::isCheckForZeroAndMulWithOverflow(Value *Op0, Value *Op1, bool IsAnd,
|
||||
return false;
|
||||
|
||||
II = dyn_cast<IntrinsicInst>(Extract->getAggregateOperand());
|
||||
if (!match(II, m_CombineOr(m_Intrinsic<Intrinsic::umul_with_overflow>(),
|
||||
if (!II ||
|
||||
!match(II, m_CombineOr(m_Intrinsic<Intrinsic::umul_with_overflow>(),
|
||||
m_Intrinsic<Intrinsic::smul_with_overflow>())))
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user