diff options
author | Lang Hames <lhames@gmail.com> | 2014-01-02 19:38:41 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2014-01-02 19:38:41 +0000 |
commit | 8e6e6abf533930b976bd559b6263a1aa36740e79 (patch) | |
tree | a76a6b40efc5d9a4fcf75f331e85ab55cb9fd745 /llvm/lib/CodeGen/TargetInstrInfo.cpp | |
parent | f2a0b2b34058b90b12468b17cc6b94b80083028d (diff) | |
download | bcm5719-llvm-8e6e6abf533930b976bd559b6263a1aa36740e79.tar.gz bcm5719-llvm-8e6e6abf533930b976bd559b6263a1aa36740e79.zip |
Remove redundant fold call introduced in r195944. Thanks very much to Juergen
for pointing this out.
llvm-svn: 198341
Diffstat (limited to 'llvm/lib/CodeGen/TargetInstrInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetInstrInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TargetInstrInfo.cpp b/llvm/lib/CodeGen/TargetInstrInfo.cpp index bdb1a6cefe5..29249cfc8f6 100644 --- a/llvm/lib/CodeGen/TargetInstrInfo.cpp +++ b/llvm/lib/CodeGen/TargetInstrInfo.cpp @@ -531,9 +531,8 @@ TargetInstrInfo::foldMemoryOperand(MachineBasicBlock::iterator MI, NewMI = foldPatchpoint(MF, MI, Ops, FrameIndex, *this); } else { // Ask the target to do the actual folding. - NewMI =foldMemoryOperandImpl(MF, MI, Ops, LoadMI); + NewMI = foldMemoryOperandImpl(MF, MI, Ops, LoadMI); } - foldMemoryOperandImpl(MF, MI, Ops, LoadMI); if (!NewMI) return 0; |