From 16d509d3417cbe39810d3fe8fa8315d998eedd08 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 3 Jun 2019 19:35:52 +0000 Subject: [PATCH] [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 --- lib/Analysis/CFLGraph.h | 1 + 1 file changed, 1 insertion(+) 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: -- 2.50.1