[PATCH] D10975: [x86] extend machine combiner reassociation optimization to SSE scalar adds

Sanjay Patel spatel at rotateright.com
Mon Jul 6 15:14:13 PDT 2015


spatel added reviewers: Gerolf, joker.eph, qcolombet.
spatel added a subscriber: llvm-commits.

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.


http://reviews.llvm.org/D10975

Files:
  lib/Target/X86/X86InstrInfo.cpp
  test/CodeGen/X86/machine-combiner.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10975.29129.patch
Type: text/x-patch
Size: 8736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150706/0a2399e1/attachment.bin>


More information about the llvm-commits mailing list