[PATCH] [X86] When pattern-matching scalar FMA3 intrinsics, don't re-arrange the first and second operands

Elena Demikhovsky elena.demikhovsky at intel.com
Mon May 25 01:05:47 PDT 2015


LGTM


================
Comment at: lib/Target/X86/X86InstrFMA.td:190
@@ -190,2 +189,3 @@
                 (COPY_TO_REGCLASS $src1, FR32),
+                (COPY_TO_REGCLASS $src2, FR32),
                 (COPY_TO_REGCLASS $src3, FR32)),
----------------
Please add a comment, that you use 1-2-3 instead of 2-1-3 because src1 is tied to dest.

http://reviews.llvm.org/D9908

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list