[PATCH] D11370: Improved the interface of methods commuting operands, improved X86-FMA3 mem-folding&coalescing.
Vyacheslav Klochkov via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 19 18:18:39 PDT 2015
v_klochkov updated this revision to Diff 32646.
v_klochkov added a comment.
Herald added a subscriber: arsenm.
This change-set (3rd revision) is done accordingly to Quentin's suggestion to have 'protected virtual commuteInstructionImpl()' method
and to have the other method 'commuteInstruction()' non-virtual. The last one can accept CommuteAnyOperandIndex arguments.
This solution gives us only one public commuteInstruction() method instead of 2 methods with different interfaces/prototypes.
http://reviews.llvm.org/D11370
Files:
llvm/include/llvm/Target/TargetInstrInfo.h
llvm/lib/CodeGen/RegisterCoalescer.cpp
llvm/lib/CodeGen/TargetInstrInfo.cpp
llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.h
llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.h
llvm/lib/Target/ARM/Thumb2SizeReduction.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.h
llvm/lib/Target/X86/X86InstrFMA.td
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86InstrInfo.h
llvm/test/CodeGen/X86/fma-commute-x86.ll
llvm/test/CodeGen/X86/fma_patterns.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11370.32646.patch
Type: text/x-patch
Size: 93639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150820/9abcbba8/attachment.bin>
More information about the llvm-commits
mailing list