mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Remove a unnecessary check.
llvm-svn: 30382
This commit is contained in:
parent
8b65094e0f
commit
e9bbf85e5e
@ -784,7 +784,6 @@ bool X86DAGToDAGISel::TryFoldLoad(SDOperand P, SDOperand N,
|
||||
SDOperand &Index, SDOperand &Disp) {
|
||||
if (N.getOpcode() == ISD::LOAD &&
|
||||
N.hasOneUse() &&
|
||||
P.Val->isOnlyUse(N.Val) &&
|
||||
CanBeFoldedBy(N.Val, P.Val))
|
||||
return SelectAddr(N.getOperand(1), Base, Scale, Index, Disp);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user