[PATCH] Fix load-store optimizer on thumbv4t

Tim Northover t.p.northover at gmail.com
Wed Jan 21 14:29:11 PST 2015


Hi Jon,

Thanks for adding the test. Just one debugging line that crept in. Feel free to commit with that removed.

Tim.


================
Comment at: lib/Target/ARM/ARMLoadStoreOptimizer.cpp:564
@@ -563,2 +563,3 @@
     if (isThumb1) {
+      fprintf(stderr,"base: %d newbase: %d offset: %d\n", Base, NewBase, Offset);
       // Thumb1: depending on immediate size, use either
----------------
Probably best without this.

http://reviews.llvm.org/D6592

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






More information about the llvm-commits mailing list