[PATCH] D20702: [ARM] Shrink post-indexed LDR and STR to LDM/STM

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 07:30:29 PDT 2016


rovka added inline comments.

================
Comment at: lib/Target/ARM/Thumb2SizeReduction.cpp:464
@@ +463,3 @@
+    MI->eraseFromParent();
+    return true;
+  }
----------------
Shouldn't you also update the statistics here (++NumLdSts)?


Repository:
  rL LLVM

http://reviews.llvm.org/D20702





More information about the llvm-commits mailing list