[PATCH] D11370: Improved the interface of methods commuting operands, improved X86-FMA3 mem-folding&coalescing.
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 17 11:59:09 PDT 2015
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:798-799
@@ +797,4 @@
+
+ if (!(OpIdx0 == static_cast<unsigned>(Src0Idx) &&
+ OpIdx1 == static_cast<unsigned>(Src1Idx)) &&
+ !(OpIdx0 == static_cast<unsigned>(Src1Idx) &&
----------------
I would prefer to deMorgan's law this and distribute the !
http://reviews.llvm.org/D11370
More information about the llvm-commits
mailing list