[llvm-commits] [llvm] r98596 - /llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
Bob Wilson
bob.wilson at apple.com
Mon Mar 15 17:31:16 PDT 2010
Author: bwilson
Date: Mon Mar 15 19:31:15 2010
New Revision: 98596
URL: http://llvm.org/viewvc/llvm-project?rev=98596&view=rev
Log:
Wrap a long line and add some parens to be consistent.
Modified:
llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp?rev=98596&r1=98595&r2=98596&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp Mon Mar 15 19:31:15 2010
@@ -243,8 +243,9 @@
BaseKill = true; // New base is always killed right its use.
}
- bool isDPR = Opcode == ARM::VLDRD || Opcode == ARM::VSTRD;
- bool isDef = isi32Load(Opcode) || Opcode == ARM::VLDRS || Opcode == ARM::VLDRD;
+ bool isDPR = (Opcode == ARM::VLDRD || Opcode == ARM::VSTRD);
+ bool isDef = (isi32Load(Opcode) || Opcode == ARM::VLDRS ||
+ Opcode == ARM::VLDRD);
Opcode = getLoadStoreMultipleOpcode(Opcode);
MachineInstrBuilder MIB = (isAM4)
? BuildMI(MBB, MBBI, dl, TII->get(Opcode))
More information about the llvm-commits
mailing list