[llvm] r339507 - [X86] Remove unnecessary AddedComplexity line. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 11 20:22:18 PDT 2018
Author: ctopper
Date: Sat Aug 11 20:22:18 2018
New Revision: 339507
URL: http://llvm.org/viewvc/llvm-project?rev=339507&view=rev
Log:
[X86] Remove unnecessary AddedComplexity line. NFC
The use of the or_is_add predicate already gives enough of a complexity boost to get the patterns ordered properly.
Modified:
llvm/trunk/lib/Target/X86/X86InstrCompiler.td
Modified: llvm/trunk/lib/Target/X86/X86InstrCompiler.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrCompiler.td?rev=339507&r1=339506&r2=339507&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrCompiler.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrCompiler.td Sat Aug 11 20:22:18 2018
@@ -1282,7 +1282,7 @@ def or_is_add : PatFrag<(ops node:$lhs,
// (or x1, x2) -> (add x1, x2) if two operands are known not to share bits.
// Try this before the selecting to OR.
-let AddedComplexity = 5, SchedRW = [WriteALU] in {
+let SchedRW = [WriteALU] in {
let isConvertibleToThreeAddress = 1,
Constraints = "$src1 = $dst", Defs = [EFLAGS] in {
More information about the llvm-commits
mailing list