This is an archive of the discontinued LLVM Phabricator instance.

Fix for lost FastMathFlags in SLPVectorizer (intrinsic calls)
ClosedPublic

Authored by v_klochkov on Nov 11 2016, 10:47 PM.

Details

Summary

Hello,

Please review the fix for lost FastMathFlags in Call statements generated by SLPVectorizer.
This fix is very similar to https://reviews.llvm.org/D26543

Thank you,
Vyacheslav Klochkov

Diff Detail

Repository
rL LLVM

Event Timeline

v_klochkov retitled this revision from to Fix for lost FastMathFlags in SLPVectorizer (intrinsic calls).
v_klochkov updated this object.
v_klochkov added a reviewer: mzolotukhin.
v_klochkov added a subscriber: llvm-commits.
mzolotukhin accepted this revision.Nov 12 2016, 8:24 AM
mzolotukhin edited edge metadata.

LGTM, thanks for following-up!

Michael

llvm/test/Transforms/SLPVectorizer/X86/propagate_ir_flags.ll
413 ↗(On Diff #77711)

Should it be %load2?

431 ↗(On Diff #77711)

The same.

This revision is now accepted and ready to land.Nov 12 2016, 8:24 AM
This revision was automatically updated to reflect the committed changes.

Michael, thank you for the quick code-review!

llvm/test/Transforms/SLPVectorizer/X86/propagate_ir_flags.ll
413 ↗(On Diff #77711)

Yes, it was going to be %load2.
Even though the test worked well as is, I fixed it.