I noticed in the select folding code that we copied fast math flags, but did not do the same for the similar handling in phi nodes. This patch fixes that to do the same thing as select
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D31690
[InstCombine] Make sure we preserve fast math flags when folding fp instructions into phi nodes ClosedPublic Authored by craig.topper on Apr 4 2017, 5:37 PM.
Details Summary I noticed in the select folding code that we copied fast math flags, but did not do the same for the similar handling in phi nodes. This patch fixes that to do the same thing as select
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 9 2017, 3:40 PM Closed by commit rL299838: [InstCombine] Make sure we preserve fast math flags when folding fp… (authored by ctopper). · Explain WhyApr 10 2017, 12:12 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 94641 llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/trunk/test/Transforms/InstCombine/fast-math.ll
|