projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcf865f
)
[CFLGraph] Add FAdd to visitConstantExpr.
author
Craig Topper
<craig.topper@intel.com>
Mon, 3 Jun 2019 19:35:52 +0000
(19:35 +0000)
committer
Craig 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
patch
|
blob
|
history
diff --git
a/llvm/lib/Analysis/CFLGraph.h
b/llvm/lib/Analysis/CFLGraph.h
index
5783c5b
..
a81ff5b
100644
(file)
--- a/
llvm/lib/Analysis/CFLGraph.h
+++ b/
llvm/lib/Analysis/CFLGraph.h
@@
-555,6
+555,7
@@
template <typename CFLAA> class CFLGraphBuilder {
}
case Instruction::Add:
+ case Instruction::FAdd:
case Instruction::Sub:
case Instruction::FSub:
case Instruction::Mul: