commit | 14f7511f46ed61b0dbaaf566e1170f40b9663924 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jul 11 23:07:30 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jul 11 23:07:30 2009 +0000 |
tree | 372f094a0527f1d5ff00a5eddca8d4edce1eee7f | |
parent | 2514278b833a0ca95869bae633099d86dd39550d [diff] [blame] |
fix a bug in my cleanup patch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75402 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp index d94aa5c..8aa627f 100644 --- a/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -1332,7 +1332,7 @@ Complexity++; // If it isn't worth using an LEA, reject it. - if (Complexity < 2) + if (Complexity <= 2) return false; SDValue Segment;