Commit 9762c91
committed
[LoopVectorize] Use recurrence kind to determine FMF instead of isa<FPMathOperator>
Replace isa<FPMathOperator>(CurrentLinkI) with
RecurrenceDescriptor::isFloatingPointRecurrenceKind(Kind) to determine
whether to use FastMathFlags. This uses information already available at
the VPlan level instead of inspecting the underlying instruction type.1 parent 8a055f8 commit 9762c91
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8759 | 8759 | | |
8760 | 8760 | | |
8761 | 8761 | | |
8762 | | - | |
8763 | | - | |
8764 | | - | |
| 8762 | + | |
| 8763 | + | |
| 8764 | + | |
| 8765 | + | |
8765 | 8766 | | |
8766 | 8767 | | |
8767 | 8768 | | |
| |||
0 commit comments