This is an archive of the discontinued LLVM Phabricator instance.

[x86] extend machine combiner reassociation optimization to SSE scalar adds
ClosedPublic

Authored by spatel on Jul 6 2015, 3:14 PM.

Details

Summary

This is (I hope) a nearly trivial patch to extend the reassociation optimization of http://reviews.llvm.org/rL240361 (D10460) to SSE scalar FP SP adds in addition to AVX scalar FP SP adds.

With the 'switch' in place, we can trivially add other opcodes and test cases in future patches.

Diff Detail

Repository
rL LLVM

Event Timeline

spatel updated this revision to Diff 29129.Jul 6 2015, 3:14 PM
spatel retitled this revision from to [x86] extend machine combiner reassociation optimization to SSE scalar adds.
spatel updated this object.
spatel added reviewers: Gerolf, mehdi_amini, qcolombet.
spatel added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.