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

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 01:55:11 PDT 2016


rovka added inline comments.

================
Comment at: test/CodeGen/ARM/t2-shrink-ldrpost.ll:4
@@ +3,3 @@
+target datalayout = "e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32"
+target triple = "thumbv7m--linux-gnu"
+
----------------
t.p.northover wrote:
> rovka wrote:
> > Can you use armv7m + mthumb instead? 
> I think -mthumb is a Clang option only. The distinction is via triples at the LLVM level.
You're right, clang armv7m + mthumb generates a thumbv7m triple in LLVM. I didn't know that, sorry.


Repository:
  rL LLVM

http://reviews.llvm.org/D20702





More information about the llvm-commits mailing list