[PATCH] [x86] generalize reassociation optimization in machine combiner to 2 instructions
Sanjay Patel
spatel at rotateright.com
Mon Jun 22 11:10:01 PDT 2015
Patch updated based on Gerolf's feedback.
Also, I checked in the name change: hasPattern() -> getMachineCombinerPatterns().
http://reviews.llvm.org/rL240192
...because that's independent and NFC, so this patch is reduced to just the MachineCombiner and x86 files again.
http://reviews.llvm.org/D10460
Files:
lib/CodeGen/MachineCombiner.cpp
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/fp-fast.ll
test/CodeGen/X86/machine-combiner.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10460.28128.patch
Type: text/x-patch
Size: 20371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150622/3ed909df/attachment.bin>
More information about the llvm-commits
mailing list