[llvm-commits] [llvm] r119539 - /llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
Bill Wendling
isanbard at gmail.com
Wed Nov 17 11:16:21 PST 2010
Author: void
Date: Wed Nov 17 13:16:20 2010
New Revision: 119539
URL: http://llvm.org/viewvc/llvm-project?rev=119539&view=rev
Log:
Add missing opcodes now that this function's used in more than one place.
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=119539&r1=119538&r2=119539&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp Wed Nov 17 13:16:20 2010
@@ -213,31 +213,51 @@
switch (Opcode) {
default: llvm_unreachable("Unhandled opcode!");
case ARM::LDMIA:
+ case ARM::LDMIA_UPD:
case ARM::STMIA:
+ case ARM::STMIA_UPD:
case ARM::t2LDMIA:
+ case ARM::t2LDMIA_UPD:
case ARM::t2STMIA:
+ case ARM::t2STMIA_UPD:
case ARM::VLDMSIA:
+ case ARM::VLDMSIA_UPD:
case ARM::VSTMSIA:
+ case ARM::VSTMSIA_UPD:
case ARM::VLDMDIA:
+ case ARM::VLDMDIA_UPD:
case ARM::VSTMDIA:
+ case ARM::VSTMDIA_UPD:
return ARM_AM::ia;
case ARM::LDMDA:
+ case ARM::LDMDA_UPD:
case ARM::STMDA:
+ case ARM::STMDA_UPD:
return ARM_AM::da;
case ARM::LDMDB:
+ case ARM::LDMDB_UPD:
case ARM::STMDB:
+ case ARM::STMDB_UPD:
case ARM::t2LDMDB:
+ case ARM::t2LDMDB_UPD:
case ARM::t2STMDB:
+ case ARM::t2STMDB_UPD:
case ARM::VLDMSDB:
+ case ARM::VLDMSDB_UPD:
case ARM::VSTMSDB:
+ case ARM::VSTMSDB_UPD:
case ARM::VLDMDDB:
+ case ARM::VLDMDDB_UPD:
case ARM::VSTMDDB:
+ case ARM::VSTMDDB_UPD:
return ARM_AM::db;
case ARM::LDMIB:
+ case ARM::LDMIB_UPD:
case ARM::STMIB:
+ case ARM::STMIB_UPD:
return ARM_AM::ib;
}
More information about the llvm-commits
mailing list