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:
3c6491d
)
[Analysis] update to use new fast-math API - isFast()
author
Sanjay Patel
<spatel@rotateright.com>
Mon, 6 Nov 2017 16:52:31 +0000
(16:52 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Mon, 6 Nov 2017 16:52:31 +0000
(16:52 +0000)
llvm-svn: 317491
polly/lib/Analysis/ScopBuilder.cpp
patch
|
blob
|
history
diff --git
a/polly/lib/Analysis/ScopBuilder.cpp
b/polly/lib/Analysis/ScopBuilder.cpp
index
c089bee
..
0de97fa
100644
(file)
--- a/
polly/lib/Analysis/ScopBuilder.cpp
+++ b/
polly/lib/Analysis/ScopBuilder.cpp
@@
-1151,7
+1151,7
@@
static MemoryAccess::ReductionType getReductionType(const BinaryOperator *BinOp,
return MemoryAccess::RT_NONE;
switch (BinOp->getOpcode()) {
case Instruction::FAdd:
- if (!BinOp->
hasUnsafeAlgebra
())
+ if (!BinOp->
isFast
())
return MemoryAccess::RT_NONE;
// Fall through
case Instruction::Add:
@@
-1163,7
+1163,7
@@
static MemoryAccess::ReductionType getReductionType(const BinaryOperator *BinOp,
case Instruction::And:
return MemoryAccess::RT_BAND;
case Instruction::FMul:
- if (!BinOp->
hasUnsafeAlgebra
())
+ if (!BinOp->
isFast
())
return MemoryAccess::RT_NONE;
// Fall through
case Instruction::Mul: