[CFLGraph] Add FAdd to visitConstantExpr.
authorCraig Topper <craig.topper@intel.com>
Mon, 3 Jun 2019 19:35:52 +0000 (19:35 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 3 Jun 2019 19:35:52 +0000 (19:35 +0000)
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

llvm-svn: 362441

llvm/lib/Analysis/CFLGraph.h

index 5783c5b..a81ff5b 100644 (file)
@@ -555,6 +555,7 @@ template <typename CFLAA> class CFLGraphBuilder {
       }
 
       case Instruction::Add:
+      case Instruction::FAdd:
       case Instruction::Sub:
       case Instruction::FSub:
       case Instruction::Mul: