diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2019-06-05 14:58:04 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2019-06-05 14:58:04 +0000 |
| commit | ad62a3a2992744dc9e16fcb248841d7e27be3b7e (patch) | |
| tree | 5cd2f26f0ee056cc727cd128bb25312e933e5f12 /llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h | |
| parent | 7ca9b978c4f4c7ecf652cac0c900b074d8dc48d7 (diff) | |
| download | bcm5719-llvm-ad62a3a2992744dc9e16fcb248841d7e27be3b7e.tar.gz bcm5719-llvm-ad62a3a2992744dc9e16fcb248841d7e27be3b7e.zip | |
[LoopUtils][SLPVectorizer] clean up management of fast-math-flags
Instead of passing around fast-math-flags as a parameter, we can set those
using an IRBuilder guard object. This is no-functional-change-intended.
The motivation is to eventually fix the vectorizers to use and set the
correct fast-math-flags for reductions. Examples of that not behaving as
expected are:
https://bugs.llvm.org/show_bug.cgi?id=23116 (should be able to reduce with less than 'fast')
https://bugs.llvm.org/show_bug.cgi?id=35538 (possible miscompile for -0.0)
D61802 (should be able to reduce with IR-level FMF)
Differential Revision: https://reviews.llvm.org/D62272
llvm-svn: 362612
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h')
0 files changed, 0 insertions, 0 deletions

