llvm.org GIT mirror llvm / 4842e7d
avoid segfaulting *Quotient and *Remainder don't have to be initialized. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208238 91177308-0d34-0410-b5e6-96231b3b80d8 Sebastian Pop 6 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
69746974 static void divide(ScalarEvolution &SE, const SCEV *Numerator,
69756975 const SCEV *Denominator, const SCEV **Quotient,
69766976 const SCEV **Remainder) {
6977 assert(Numerator && Denominator && *Quotient && *Remainder &&
6978 "Uninitialized SCEV");
6977 assert(Numerator && Denominator && "Uninitialized SCEV");
69796978
69806979 SCEVDivision D(SE, Numerator, Denominator);
69816980