[llvm-branch-commits] [llvm-branch] r79215 - /llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2SizeReduction.cpp
Bill Wendling
isanbard at gmail.com
Sun Aug 16 17:08:16 PDT 2009
Author: void
Date: Sun Aug 16 19:08:16 2009
New Revision: 79215
URL: http://llvm.org/viewvc/llvm-project?rev=79215&view=rev
Log:
$ svn merge -c 79189 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r79189 into '.':
U lib/Target/ARM/Thumb2SizeReduction.cpp
Modified:
llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2SizeReduction.cpp
Modified: llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2SizeReduction.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2SizeReduction.cpp?rev=79215&r1=79214&r2=79215&view=diff
==============================================================================
--- llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2SizeReduction.cpp (original)
+++ llvm/branches/Apple/Leela/lib/Target/ARM/Thumb2SizeReduction.cpp Sun Aug 16 19:08:16 2009
@@ -654,8 +654,11 @@
}
// Try to transform ro a 16-bit non-two-address instruction.
- if (Entry.NarrowOpc1 && ReduceToNarrow(MBB, MI, Entry, LiveCPSR))
+ if (Entry.NarrowOpc1 && ReduceToNarrow(MBB, MI, Entry, LiveCPSR)) {
Modified = true;
+ MachineBasicBlock::iterator I = prior(NextMII);
+ MI = &*I;
+ }
}
ProcessNext:
More information about the llvm-branch-commits
mailing list