[PATCH] Introduce arm_acle.h supporting existing LLVM builtin intrinsics

Renato Golin renato.golin at linaro.org
Fri Jun 27 06:08:57 PDT 2014


================
Comment at: test/CodeGen/arm_acle.c:1
@@ +1,2 @@
+// RUN: %clang_cc1 -triple armv8 -target-cpu cortex-a57 -O -S -emit-llvm -o - %s | FileCheck %s -check-prefix=ARM -check-prefix=AArch32
+// RUN: %clang_cc1 -triple aarch64 -target-cpu cortex-a57 -O -S -emit-llvm -o - %s | FileCheck %s -check-prefix=ARM -check-prefix=AArch64
----------------
Yi Kong wrote:
> Renato Golin wrote:
> > Maybe add ARMv7 test with the same check-prefix?
> Cortex-A57 is chosen as the target processor(therefore ARMv8) because it implements all the features used in this patch. ARMv7 uses exactly the same code as ARMv8, but its targets doesn't cover all the features, therefore its not really useful.
ok

http://reviews.llvm.org/D4296






More information about the cfe-commits mailing list