1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/Transforms/Vectorize
Sanjay Patel 2a43c2e32f [LoopVectorize] propagate fast-math-flags from induction instructions
This code assumed that FP math was only permissable if it was
fully "fast", so it hard-coded "fast" when creating new instructions.

The underlying code already allows matching recurrences/reductions
that are only "reassoc", so this change should prevent the potential
miscompile seen in the test diffs (we created "fast" ops even though
none existed in the original code).

I don't know if we need to create the temporary IRBuilder objects
used here, so that could be follow-up clean-up.

There's an open question about whether we should require "nsz" in
addition to "reassoc" here. InstCombine uses that combo for its
reassociative folds, but I think codegen is not as strict.
2021-03-04 17:21:32 -05:00
..
CMakeLists.txt
LoadStoreVectorizer.cpp [TargetLowering] Use Align in allowsMisalignedMemoryAccesses. 2021-02-04 19:22:06 -08:00
LoopVectorizationLegality.cpp [Analysis][LoopVectorize] rename "Unsafe" variables/methods; NFC 2021-03-04 10:40:26 -05:00
LoopVectorizationPlanner.h [LV] Remove VPCallback. 2021-02-19 12:50:41 +00:00
LoopVectorize.cpp [LoopVectorize] propagate fast-math-flags from induction instructions 2021-03-04 17:21:32 -05:00
SLPVectorizer.cpp [SLP]Merge reorder and reuse shuffles. 2021-03-02 06:39:47 -08:00
VectorCombine.cpp [NFC]Migrate VectorCombine.cpp to use InstructionCost 2021-01-18 13:37:21 +00:00
Vectorize.cpp
VPlan.cpp [NFCI][VPlan] Modify Recipes' print methods to honor Indent parameter 2021-03-02 15:32:10 -08:00
VPlan.h [VPlan] Remove recipes from back to front. 2021-03-01 16:06:30 +00:00
VPlanDominatorTree.h
VPlanHCFGBuilder.cpp [VPlan] Manage pairs of incoming (VPValue, VPBB) in VPWidenPHIRecipe. 2021-02-22 09:44:25 +00:00
VPlanHCFGBuilder.h
VPlanLoopInfo.h
VPlanPredicator.cpp [llvm] Drop unnecessary make_range (NFC) 2021-01-09 09:25:00 -08:00
VPlanPredicator.h
VPlanSLP.cpp [VPlan] Skip VPWidenPHIRecipe in VPInterleavedACcessInfo. 2021-02-22 10:35:09 +00:00
VPlanTransforms.cpp [VPlan] Manage pairs of incoming (VPValue, VPBB) in VPWidenPHIRecipe. 2021-02-22 09:44:25 +00:00
VPlanTransforms.h
VPlanValue.h [VPlan] Manage scalarized values using VPValues. 2021-02-16 09:04:10 +00:00
VPlanVerifier.cpp
VPlanVerifier.h
VPRecipeBuilder.h Recommit "[LV] Allow tryToCreateWidenRecipe to return a VPValue, use for blends." 2021-02-24 10:36:02 +00:00