From: Craig Topper Date: Mon, 3 Jun 2019 19:35:52 +0000 (+0000) Subject: [CFLGraph] Add FAdd to visitConstantExpr. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16d509d3417cbe39810d3fe8fa8315d998eedd08;p=llvm [CFLGraph] Add FAdd to visitConstantExpr. This looks like an oversight as all the other binary operators are present. Accidentally noticed while auditing places that need FNeg handling. No test because as noted in the review it would be contrived and amount to "don't crash" Differential Revision: https://reviews.llvm.org/D62790 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362441 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/CFLGraph.h b/lib/Analysis/CFLGraph.h index 5783c5bc9bd..a81ff5b15c6 100644 --- a/lib/Analysis/CFLGraph.h +++ b/lib/Analysis/CFLGraph.h @@ -555,6 +555,7 @@ template class CFLGraphBuilder { } case Instruction::Add: + case Instruction::FAdd: case Instruction::Sub: case Instruction::FSub: case Instruction::Mul: