From: Richard Smith Date: Thu, 1 Nov 2012 22:16:43 +0000 (+0000) Subject: Clean up misapplication of diff. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da082f12c2633e9b45046fdce81e8b5847b9a26b;p=clang Clean up misapplication of diff. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167260 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp index 31ec7ea88f..910a52d29c 100644 --- a/lib/CodeGen/CGExprScalar.cpp +++ b/lib/CodeGen/CGExprScalar.cpp @@ -2027,7 +2027,6 @@ Value *ScalarExprEmitter::EmitOverflowCheckedBinOp(const BinOpInfo &Ops) { EmitBinOpCheck(Builder.CreateNot(overflow), Ops); else CGF.EmitTrapvCheck(Builder.CreateNot(overflow)); - EmitBinOpCheck(Builder.CreateNot(overflow), Ops); return result; }