[PATCH] D11470: [ARM] Define subtarget feature "strict-align"

Akira Hatanaka ahatanak at gmail.com
Mon Jul 27 09:32:31 PDT 2015


ahatanak added inline comments.

================
Comment at: test/CodeGen/ARM/2011-10-26-memset-inline.ll:2
@@ -1,3 +1,3 @@
 ; Make sure short memsets on ARM lower to stores, even when optimizing for size.
-; RUN: llc -march=arm < %s | FileCheck %s -check-prefix=CHECK-GENERIC
+; RUN: llc -march=arm -mattr=+strict-align < %s | FileCheck %s -check-prefix=CHECK-GENERIC
 ; RUN: llc -march=arm -mcpu=cortex-a8 < %s | FileCheck %s -check-prefix=CHECK-UNALIGNED
----------------
It turns out TargetRegistry::lookupTarget rewrites "thumb7" in the triple to "arm" when architecture name is specified using -march=arm. It isn't a bug in r213367 that is causing this behavior.


http://reviews.llvm.org/D11470







More information about the llvm-commits mailing list