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 | f79b35a0382d64a7850d28122eacafe1209130af (patch) | |
tree | 940d615c4e61c9299cc4ceaf1e2ad68605bf1524 /lib/CodeGen/TargetInstrInfo.cpp | |
parent | 2370e55a535331c849371ed52a3f62b8c5f315a3 (diff) |
Remove redundant fold call introduced in r195944. Thanks very much to Juergen
for pointing this out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInstrInfo.cpp')
-rw-r--r-- | lib/CodeGen/TargetInstrInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/TargetInstrInfo.cpp b/lib/CodeGen/TargetInstrInfo.cpp index bdb1a6cefe5..29249cfc8f6 100644 --- a/lib/CodeGen/TargetInstrInfo.cpp +++ b/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; |