[PATCH] D14550: X86-FMA3: Implemented commute transformations for FMA*_Int instructions

Vyacheslav Klochkov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 15:22:51 PST 2015


v_klochkov updated this revision to Diff 39982.
v_klochkov marked 5 inline comments as done.
v_klochkov added a comment.

Did additional refactoring suggested by Quentin:

- added an optional parameter IsIntrinsic to isFMA3()
- removed the duplicating code (loop) from getFMA3OpcodeToCommuteOperands().


http://reviews.llvm.org/D14550

Files:
  llvm/lib/Target/X86/X86InstrFMA.td
  llvm/lib/Target/X86/X86InstrInfo.cpp
  llvm/test/CodeGen/X86/fma-commute-x86.ll
  llvm/test/CodeGen/X86/fma-intrinsics-x86.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14550.39982.patch
Type: text/x-patch
Size: 43237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151111/f9e82782/attachment.bin>


More information about the llvm-commits mailing list