1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

fix a bug in my cleanup patch

llvm-svn: 75402
This commit is contained in:
Chris Lattner 2009-07-11 23:07:30 +00:00
parent 4902f811b6
commit 3ab73a2545

View File

@ -1332,7 +1332,7 @@ bool X86DAGToDAGISel::SelectLEAAddr(SDValue Op, SDValue N,
Complexity++;
// If it isn't worth using an LEA, reject it.
if (Complexity < 2)
if (Complexity <= 2)
return false;
SDValue Segment;