[PATCH] ARMLoadStoreOptimizer: Create LDRD/STRD on thumb2

Renato Golin renato.golin at linaro.org
Thu Jun 25 05:49:03 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/Target/ARM/ARMLoadStoreOptimizer.cpp:761
@@ +760,3 @@
+                                    TII->get(LoadStoreOpcode));
+  if (LoadStoreOpcode == ARM::t2LDRDi8) {
+    MIB.addReg(Regs[0].first, RegState::Define)
----------------
you could also use IsLoad here, too.

http://reviews.llvm.org/D10623

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list