mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 03:06:28 +00:00
fix a bug in my cleanup patch
llvm-svn: 75402
This commit is contained in:
parent
4902f811b6
commit
3ab73a2545
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user